shabab world

هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.

shabab _banat منتديات الشباب والبنات


    اكواد html لاصحاب المنتديات

    Admin
    Admin
    Admin


    المساهمات : 50
    تاريخ التسجيل : 30/07/2010

    اكواد html لاصحاب المنتديات Empty اكواد html لاصحاب المنتديات

    مُساهمة  Admin الثلاثاء أغسطس 03, 2010 12:30 am

    * الشريط المتحرك:

    <p align="center">
    <marquee bgcolor="#DCB2BC" width="468">منتديات شباب عرب</marquee></p>

    ___________________________________


    * رسالة تظهر للزائر عندما يدخل لصفحتك:

    <SCRIPT LANGUAGE="JavaScript">
    <!--
    window.alert("منتديات شباب عرب^ــ^ ")


    // -->
    </SCRIPT>

    _____________________________________


    * رسالة لطلب ترشيح الموقع :

    <script language="JavaScript">
    <!-- The JavaScript Source!! <a href="http://faam.8m.com.">
    function vote () {
    vote4alnadeem=window.open("اكتب هنا رابط موقع الترشيح ");

    } function cancel () {}

    if (confirm("رشح منتديات شباب عرب لافضل المواقع")) { vote();

    } else cancel()
    // --></script>

    ____________________________________

    * لتغيير لون شريط التمريرالscroll bar:

    <STYLE>BODY {
    SCROLLBAR-FACE-COLOR: #808080; SCROLLBAR-HIGHLIGHT-COLOR: #eabc5a; SCROLLBAR-SHADOW-COLOR: #eabc5a; SCROLLBAR-3DLIGHT-COLOR: #FFFFFF; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #c0c0c0; SCROLLBAR-DARKSHADOW-COLOR: #eabc5a
    }
    </STYLE>

    _____________________________________


    * كلمة تتبع الماوس:

    <script type="text/javascript">
    function cursor()
    {
    ********.getElementById('trail').style.visibility= "visible"
    ********.getElementById('trail').style.position="absolute"
    ********.getElementById('trail').style.left=event. clientX+10
    ********.getElementById('trail').style.top=event.c lientY
    }
    </script>
    </head>

    <body onmousemove="cursor()">
    <h1> </h1>
    <span id="trail" style="visibility:hidden">* كلمة تتبع الماوس:

    <script type="text/javascript">
    function cursor()
    {
    ********.getElementById('trail').style.visibility= "visible"
    ********.getElementById('trail').style.position="absolute"
    ********.getElementById('trail').style.left=event. clientX+10
    ********.getElementById('trail').style.top=event.c lientY
    }
    </script>
    </head>

    <body onmousemove="cursor()">
    <h1> </h1>
    <span id="trail" style="visibility:hidden">منتديات شباب عرب</span>
    </span>
    ______________________________________



    * تغيير لون النص عند مرور الماوس عليه:

    <h1 onmouseover="style.color='#704165'"
    onmouseout="style.color='#C0A6BD'">
    Mouse over this text</h1>
    ________________________________


    * كود يجعل الكلمة تتحرك عند تحريك الماوس في اي مكان في

    الصفحة:

    <script type="text/javascript">
    var i=1
    function moveright()
    {
    ********.getElementById('header').style.position="relative"
    ********.getElementById('header').style.left=i
    i++
    }

    </script>
    </head>
    <body onmousemove="moveright()">

    <h1 id="header">
    حرك الماوس في الصفحة
    </h1>
    ______________________________


    * كود يمنع استخدام زر الماوس اليمين في صفحتك:

    <script type="text/javascript">
    function disable()
    {
    if (event.button == 2)
    {
    alert("Sorry no rightclick on this page.\nNow you cannot view my source\nand you cannot steal my images")
    }
    }

    </script>
    </head>
    <body onmousedown="disable()">
    <p>Right-click on this page to trigger the event.</p>
    <p>Note that this is no guarantee that nobody can view the page source, or steal the images.</p>

    ________________________________________

    *لاضافة عبارة تظهر في اسفل الصفحة (شريط الحالة)في status bar:

    <script language="Javascript">
    <!--
    // This script was found at the JavaScript Place. [وحدهم المديرون لديهم صلاحيات معاينة هذا الرابط]
    var text="مرحباً بكم"
    var speed =100

    var x = 0
    function bb() {
    var a = text.substring(0,x)
    var b = text.substring(x,x+1).toUpperCase()
    var c = text.substring(x+1,text.length)
    window.status = a + b + c
    if (x == text.length) {
    x = 0
    }
    else {
    x++
    }
    setTimeout("bb()",speed)
    }
    bb();
    //-->
    </script>

    ______________________________-



    * لاضافة عبارة تظهر في اسفل الصفحة (شريط الحالة)في status bar بطريقة

    متحركة وجميلة:

    <SCRIPT language=JavaScript>
    <!--


    //set message:
    msg = "منتديات شباب عرب";

    timeID = 10;
    stcnt = 16;
    wmsg = new Array(33);
    wmsg[0]=msg;
    blnk = " ";
    for (i=1; i<32; i++)
    {
    b = blnk.substring(0,i);
    wmsg[i]="";
    for (j=0; j<msg.length; j++) wmsg[i]=wmsg[i]+msg.charAt(j)+b;
    }

    function wiper()
    {
    if (stcnt > -1) str = wmsg[stcnt]; else str = wmsg[0];
    if (stcnt-- < -40) stcnt=31;
    status = str;
    clearTimeout(timeID);
    timeID = setTimeout("wiper()",100);
    }

    wiper()
    // -->
    </SCRIPT>

    __________________________-



    * محرك بحث جوجل ( مع صورة شعار الموقع ):

    <!-- البحث Google -->
    <center>
    <FORM method=GET action="http://www.google.com/search">
    <TABLE bgcolor="#FFFFFF"><tr><td>
    <A HREF="http://www.google.com/">
    <IMG SRC="http://www.google.com/logos/Logo_40wht.gif" border="0" ALT="Google" align="absmiddle"></A>
    <INPUT TYPE=text name=q size=31 maxlength=255 value="">
    <INPUT TYPE=hidden name=hl value="en">
    <INPUT type=submit name=btnG VALUE="Google البحث">
    </td></tr></TABLE>
    </FORM>
    </center>
    <!-- البحث Google -->
    ___________________________-



    * لعمل قائمة منسدلة تحتوي على عدد من الخيارات:

    <form name="Jump">
    <select name="Menu" onChange="********=********.Jump.Menu.options[********.Jump.Menu.selectedIndex].value;" value="GO">
    <option value="http://www.eslam.org">الرئيسية</option>
    <option value="http://www.eslam,org/forum/">المنتدى</option>
    <option value="http://www.eslam.org/gallery">موسوعة الصور</option>
    </select>
    </form>

    _________________________________


    * لوضع صفحة نت داخل صفحتك:

    <IFRAME WIDTH=100% HEIGHT=300 SRC="http://هنا ضع عنوان الصفحة"></IFRAME>

      الوقت/التاريخ الآن هو الأحد مايو 19, 2024 7:27 am