Bossy!
![]() WannyJeffery Enjoy the tuto/freebies! |
Freebies : Cute ICON!
Saturday, 8 December 2012 | 14:00 | 0 comments
Hello ebelibadiHEART:
Okay setakat ni je. next time bagi lagi
Disabled Right Click.
Saturday, 1 December 2012 | 01:05 | 0 comments
Hello
Okay kali ni nak bagi korang cara2 nak disabled right click.
i think your blog will be lebih selamat kot if korang disabled right click
OhMyEnglish
1st, go to your Dashboard, then click template.
Once you go there, you tekan Ctrl+F serentak!
You carik code </style>.
Dah jumpa?
<style type="text/css">.click{font-size:8pt;font-family:Small Fonts;position:absolute;border:1px dashed pink;width:160px;color: pink;text-align:center;z-index:50;padding:5px;background-color:white;line-height:12px;visibility:hidden;}</style><script language=JavaScript><!--//Disable right click script III- By Renigade (renigade@mediaone.net)//For full source code, visit http://www.dauspozi.comvar message="";///////////////////////////////////function clickIE() {if (document.all) {(message);return false;}}function clickNS(e) {if(document.layers||(document.getElementById&&!document.all)) {if (e.which==2||e.which==3) {(message);return false;}}}if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}document.oncontextmenu=new Function("return false")// --></script><div id="ie5menu" class="click" onMouseover="highlightie5(event)" onMouseout="lowlightie5(event)" onClick="jumptoie5(event)" display:none><font face="Small fonts" color="pink"><strong>Tak boleh right click! </strong><br> Jangan buka page source saya!</font></div><script language="JavaScript1.2">//set this variable to 1 if you wish the URLs of the highlighted menu to be displayed in the status barvar display_url=0var ie5=document.all&&document.getElementByIdvar ns6=document.getElementById&&!document.allif (ie5||ns6)var menuobj=document.getElementById("ie5menu")function showmenuie5(e){//Find out how close the mouse is to the corner of the windowvar rightedge=ie5? document.body.clientWidth-event.clientX : window.innerWidth-e.clientXvar bottomedge=ie5? document.body.clientHeight-event.clientY : window.innerHeight-e.clientY//if the horizontal distance isn't enough to accomodate the width of the context menuif (rightedge<menuobj.offsetWidth)//move the horizontal position of the menu to the left by it's widthmenuobj.style.left=ie5? document.body.scrollLeft+event.clientX-menuobj.offsetWidth : window.pageXOffset+e.clientX-menuobj.offsetWidthelse//position the horizontal position of the menu where the mouse was clickedmenuobj.style.left=ie5? document.body.scrollLeft+event.clientX : window.pageXOffset+e.clientX//same concept with the vertical positionif (bottomedge<menuobj.offsetHeight)menuobj.style.top=ie5? document.body.scrollTop+event.clientY-menuobj.offsetHeight : window.pageYOffset+e.clientY-menuobj.offsetHeightelsemenuobj.style.top=ie5? document.body.scrollTop+event.clientY : window.pageYOffset+e.clientYmenuobj.style.visibility="visible"return false}function hidemenuie5(e){menuobj.style.visibility="hidden"}function highlightie5(e){var firingobj=ie5? event.srcElement : e.targetif (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNode //up one nodefiringobj.style.backgroundColor="highlight"firingobj.style.color="black"if (display_url==1)window.status=event.srcElement.url}}function lowlightie5(e){var firingobj=ie5? event.srcElement : e.targetif (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNode //up one nodefiringobj.style.backgroundColor=""firingobj.style.color="826A92"window.status=''}}function jumptoie5(e){var firingobj=ie5? event.srcElement : e.targetif (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNodeif (firingobj.getAttribute("target"))window.open(firingobj.getAttribute("url"),firingobj.getAttribute("target"))elsewindow.location=firingobj.getAttribute("url")}}if (ie5||ns6){menuobj.style.display=''document.oncontextmenu=showmenuie5document.onclick=hidemenuie5}</script><script type="text/javascript" src="//www.blogger.com/static/v1/common/js/4181124240-csitail.js"></script><script type="text/javascript">BLOG_initCsi('classic_blogspot');</script></body><script language="javascript" type="text/javascript">function jump(form) {var myindex=form.menu.selectedIndexif (form.menu.options[myindex].value != "0"){window.open(form.menu.options[myindex].value);}}//--></script><script type="text/javascript">function disableSelection(element) {element.onselectstart = function() {return false;};element.unselectable = "on";element.style.MozUserSelect = "none";element.style.cursor = "default";}</script> Letak code ni kat atas code </style> tadi Preview dulu! Kalau menjadi, save Okay Bye! |