Friday, November 27, 2009

I'm looking for a MySpace code that prevents someone from copying pictures or right clicking on

you can use this code in an html page..



you need to use javascript.



if (event.button==2||event.button==3) { /* right clicking the button*/



if (event.srcElement.tagName=='IMG') { /* clicking on the image (IMG) */



alert(" No copying") /* alerts the user not to copy..



u may need to use in a function

No comments:

Post a Comment

 
Fish