Bonjour!
Can I know what is meaning of heart?
Mood : I'm Bored -.-
Status : Me know me cute :p
Till Here Scream Here
Credits Section
Skins by : Najla
Basecode : Lettha
Cursor, Header and Inspiration : Sis Ziera
Background: Faqihah
Re-Edited: Yuyun
View in : Google Chrome
|
Tutorial:disable right click without alert
Monday 7 November 2011 | 18:54 | 0 admirer
Salam..wohoo!!~ceria giler lah arini.. korang buad ape...klu x wat pape jom buad tutorial nih.... As usual.. Dashboard>design>page element>add the gadget>html/javascript then,copy and paste kod nih di ruangan html/javascript tadi... <script language="javascript"><!--//Disable right mouse click Script//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive//For full source code, visit http://www.dynamicdrive.comvar message="JANGAN COPYY.";///////////////////////////////////function clickIE4(){if (event.button==2){alert(message);return false;}}function clickNS4(e){if (document.layersdocument.getElementById&&!document.all){if (e.which==2e.which==3){alert(message);return false;}}}if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS4;}else if (document.all&&!document.getElementById){document.onmousedown=clickIE4;}document.oncontextmenu=new Function("alert(message);return false")// --></script> then, save :) p/s:dah guna credit.(klu nak) |