Sağ Tuş Menüsü
Mouseunuzun sağ tuşuna kullanışlı bir menü ekleyebilirsiniz.
ÖRNEK
<style> <!-- #ie5menu { position: absolute; width: 210px; background-color: menu; font-family: Tahoma; font-size: 12px; line-height: 20px; cursor: default; visibility: hidden; border: 2px outset default } .menuitems { padding-left: 15px; padding-right: 15px } //--> </style> <script> var display_url=0 function showmenuie5(){ ie5menu.style.left=document.body.scrollLeft+event.clientX ie5menu.style.top=document.body.scrollTop+event.clientY ie5menu.style.visibility="visible" return false } function hidemenuie5(){ ie5menu.style.visibility="hidden" } function highlightie5(){ if (event.srcElement.className=="menuitems"){ event.srcElement.style.backgroundColor="highlight" event.srcElement.style.color="white" if (display_url==1) window.status=event.srcElement.url } } function lowlightie5(){ if (event.srcElement.className=="menuitems"){ event.srcElement.style.backgroundColor="" event.srcElement.style.color="black" window.status='' } } function jumptoie5(){ if (event.srcElement.className=="menuitems") window.location=event.srcElement.url } </script> <script> <!-- function correct(){ if (finished){ setTimeout("begin()",1000) } return true } window.onerror=correct function begin(){ if (!document.all) return if (maxheight==null) maxheight=temp.offsetHeight whatsnew.style.height=maxheight temp.style.display="none" c=1 finished=true change() } //--> </script> <!-- EDIT LINKS BELOW HERE --> <!--[if IE]><div id="ie5menu" onMouseover="highlightie5()" onMouseout="lowlightie5()" onClick="jumptoie5()"><div class="menuitems" url="http://www.javascriptbankasi.com.tr.tc">Javascript Bankası</div><div class="menuitems" url="http://www.ntvmsnbc.com">Ntvmsnbc</div><div class="menuitems" url="http://www.yahoo.com">Yahoo</div><div class="menuitems" url="http://www.altavista.com">Altavista</div><div class="menuitems" url="http://www.hotmail.com">Hotmail</div></div> <![endif]--> <script> document.oncontextmenu=showmenuie5 if (document.all&&window.print) document.body.onclick=hidemenuie5 </script>
Copyright © 2002-2004 www.javascriptbankasi.com.tr.tc
Mail:javascriptbankasi@hotmail.com