1.Log in to your dashboard--> layout- ->Page Elements
2.Click on 'Add a Gadget' on the sidebar.
3.Select 'HTML/Javascript' and add the code given below and click save.
| <script type="text/javascript">
/*********************************************** * Disable select-text script- © Dynamic Drive (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/
//form tags to omit in NS6+: var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){ if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1) return false }
function reEnable(){ return true }
if (typeof document.onselectstart!="undefined") document.onselectstart=new Function ("return false") else{ document.onmousedown=disableselect document.onmouseup=reEnable }
</script> |
Now you are done.
OMG it works! Thank you so much for this code!
wonderful ,,, it works
thnx
Thank you so much it works
Thanks dude
Thank q very much..it works.
Thank you for the script! It is working well on my site!
Bravo!! Thanks for the code.
THANKS SO MUCH FOR THIS CODE!!!
Thanks very much for your code
i realy apreciate it
Great! It works fine. Thanks a lot for this code.
it's works!