المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : قنبلة >> قائمة خيارات بالفأرة << لم تشاهد له مثيل من قبل



romaissa
10-31-2013, بتوقيت غرينيتش 02:12 AM
http://www.dzbatna.com/images/icons/idea.gif ظ‚ظ†ط¨ظ„ط© >> ظ‚ط§ط¦ظ…ط© ط®ظٹط§ط±ط§طھ ط¨ط§ظ„ظپط£ط±ط© << ظ„ظ… طھط´ط§ظ‡ط¯ ظ„ظ‡ ظ…ط«ظٹظ„ ظ…ظ† ظ‚ط¨ظ„ (http://www.dzbatna.com/t1500517/)



بسم الله الرحمن الرحيم


اتيناكم اليوم بكود code جافا سكربت جديد ومثير وخطيييير

كيفية العمل ::.

يعمل الكود code عند الضغط بالزر اليمين للفأرة , فتظهر قائمة , توجد بها خيارات انت تضعها

مثاااال ::.

www.fnon.ps/forum (http://www.fnon.ps/forum)
استخدم متصفح انترنت اكسبلورر

الكووود ::.

رمز Code:
<style> <!-- .skin0{ position:absolute; width:200px; border:2px solid black; background-color:menu; font-family:Verdana; line-height:20px; cursor:default; visibility:hidden; } .skin1 {cursor: hand; position: absolute; width: 165px; background-color: #FFFFFF; visibility: hidden; border: 1px solid buttonface; ; font-style:normal; font-variant:normal; font-weight:normal} .menuitems{ padding-left:15px; padding-right:10px; } --> </style> <script language=&quot;JavaScript1.2&quot;> //(www.fnon.ps)set the skin of the menu (0 or 1, with 1 rendering a default Windows menu like skin) var menuskin=1 //(www.fnon.ps)set this variable to 1 if you wish the URLs of the highlighted menu to be displayed in the status bar var display_url=0 function showmenuie5(){ //(www.fnon.ps)Find out how close the mouse is to the corner of the window var rightedge=document.body.clientWidth-event.clientX var bottomedge=document.body.clientHeight-event.clientY //(www.fnon.ps)if the horizontal distance isn't enough to accomodate the width of the context menu if (rightedge<ie5menu.offsetWidth) //(www.fnon.ps)move the horizontal position of the menu to the left by it's width ie5menu.style.left=document.body.scrollLeft+event. clientX-ie5menu.offsetWidth else //(www.fnon.ps)position the horizontal position of the menu where the mouse was clicked ie5menu.style.left=document.body.scrollLeft+event. clientX //(www.fnon.ps)same concept with the vertical position if (bottomedge<ie5menu.offsetHeight) ie5menu.style.top=document.body.scrollTop+event.cl ientY-ie5menu.offsetHeight else ie5menu.style.top=document.body.scrollTop+event.cl ientY ie5menu.style.visibility=&quot;visible&quot; return false } function hidemenuie5(){ ie5menu.style.visibility=&quot;hidden&quot; } function highlightie5(){ if (event.srcElement.className==&quot;menuitems&quot;){ event.srcElement.style.backgroundColor=&quot;highlight&quot; event.srcElement.style.color=&quot;white&quot; if (display_url==1) window.status=event.srcElement.url } } function lowlightie5(){ if (event.srcElement.className==&quot;menuitems&quot;){ event.srcElement.style.backgroundColor=&quot;&quot; event.srcElement.style.color=&quot;black&quot; window.status='' } } function jumptoie5(){ if (event.srcElement.className==&quot;menuitems&quot;){ if (event.srcElement.getAttribute(&quot;target&quot;)!=null) window.open(event.srcElement.url,event.srcElement. getAttribute(&quot;target&quot;)) else window.location=event.srcElement.url } } </script><center><B style=&quot;color: 000000&quot;> <!--[if IE]> <div id=&quot;ie5menu&quot; class=&quot;skin0&quot; onMouseover=&quot;highlightie5()&quot; onMouseout=&quot;lowlightie5()&quot; onClick=&quot;jumptoie5()&quot; style=&quot;position: absolute; left: 554px; top: 15px; width: 173px; border-style: dotted; border-width: 3px&quot;> <div class=&quot;menuitems&quot; url=&quot;http://fnon.ps&quot;> <span lang=&quot;ar-sa&quot;>رئيسية المنتدى forum</span></div> <div class=&quot;menuitems&quot; url=&quot;http://www.fnon.ps/forum/register.php&quot;> <span lang=&quot;ar-sa&quot;>التسجيل</span></div> <div class=&quot;menuitems&quot; url=&quot;http://www.fnon.ps/forum/usercp.php&quot;> <span lang=&quot;ar-sa&quot;>لوحة التحكم</span></div> <div class=&quot;menuitems&quot; url=&quot;http://soft.vip600.com/modules.php?name=Java&quot;> <span lang=&quot;ar-sa&quot;>اتصل بنا</span></div> <hr> <div class=&quot;menuitems&quot; url=&quot;http://www.fnon.ps/forum/arcade.php&quot;> <span lang=&quot;ar-sa&quot;>الالعاب</span></div> <div class=&quot;menuitems&quot; url=&quot;http://www.fnon.ps/forum/cv_rss_feeds.php&quot;> <span lang=&quot;ar-sa&quot;>تغذية </span>rss</div> <div class=&quot;menuitems&quot; url=&quot;http://www.fnon.ps/forum/&quot;> <span lang=&quot;ar-sa&quot;>منتديات فنون</span></div> <div class=&quot;menuitems&quot; url=&quot;http://www.fnon.ps&quot;> <span lang=&quot;ar-sa&quot;>رابط 1</span></div> <div class=&quot;menuitems&quot; url=&quot;http://www.fnon.ps&quot;> <span lang=&quot;ar-sa&quot;>رابط 2</span></div> </div> <![endif]--></center><B> <script language=&quot;JavaScript1.2&quot;> if (document.all&&window.print){ if (menuskin==0) ie5menu.className=&quot;skin0&quot; else ie5menu.className=&quot;skin1&quot; document.oncontextmenu=showmenuie5 document.body.onclick=hidemenuie5 } </script>
المقابل ::.

دعوة في ظهر الغيب




التركيب install ::.

ضع الكود code بعد التعديل في اعلى قالب template الهايدر

ملاحظات ::.

1) تم تجربة الكود code على متصفح اكسبلورر
2) لتغيير لون خلفية القائمة ابحث عن اللون #FFFFFF وغيره الى ما يناسبك
3) تم افتتاح التبادل الاعلاني النصي في منتديات فنون


لا اله الا الله محمد رسول الله
سبحن الله وبحمده سبحن الله العظيم

سلام يا شباب http://www.dzbatna.com/images/smilies/icon30.gifhttp://www.dzbatna.com/images/smilies/icon30.gif

اي استفسار لا تتردد بالاتصال بي
mho0http://www.dzbatna.com/images/mail.gifhotmail.com


ارجوا منكم التقييم +++++





ألعاب الأندرويد مجانا و حصريا (http://www.apotox.info/forum)



https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى