Image copyrights, coding help |
Image copyrights, coding help |
Dec 5 2004, 05:44 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 1 Joined: Dec 2004 Member No: 69,232 |
I need a little help about some codes...how can i not letting people copy or save my image or picture in xanga? because if the cursor points at the images...the save icon will shown on the left top corner of the images. and people can just save it....anyone can help?
|
|
|
|
![]() |
Dec 5 2004, 05:46 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 114 Joined: Jul 2004 Member No: 33,139 |
try this one it works on my site
My Webpage CODE <!-- begin code provided by createblog.com -->
<script language="JavaScript1.2"> var clickmessage="TEXT HERE" function disableclick(e) { if (document.all) { if (event.button==2||event.button==3) { if (event.srcElement.tagName=="IMG"){ alert(clickmessage); return false; } } } else if (document.layers) { if (e.which == 3) { alert(clickmessage); return false; } } else if (document.getElementById){ if (e.which==3&&e.target.tagName=="IMG"){ alert(clickmessage) return false } } } function associateimages(){ for(i=0;i<document.images.length;i++) document.images[i].onmousedown=disableclick; } if (document.all) document.onmousedown=disableclick else if (document.getElementById) document.onmouseup=disableclick else if (document.layers) associateimages() </script> <!-- end code provided by createblog.com --> |
|
|
|
bettycow Image copyrights Dec 5 2004, 05:44 PM
shortvi3tlaydee use this
CODE<!-- begin code provided by ... Dec 5 2004, 05:53 PM
Jealousy Thanks, I was wondering the same thing myself.
I h... Dec 6 2004, 09:07 AM
moorepocket wow cool, i like this. Dec 6 2004, 09:13 AM![]() ![]() |