Log In · Register

 
How to protect images on xanga individually
nikkai
post Jul 10 2004, 06:46 PM
Post #1


Newbie
*

Group: Member
Posts: 5
Joined: Apr 2004
Member No: 13,511



Hi

I did a search and couldn't find anything on it...

I know there's a way to disable the mouse click on individual images rather than disabling right click on the entire page (which annoys the heck out of me since I like to open new windows)...

I tried some scripts where you call the function and stuck them in my webcounter and tried calling onmousedown but to no avail.

Help please. =)

Dominic
 
 
Start new topic
Replies
nikkai
post Jul 10 2004, 07:02 PM
Post #2


Newbie
*

Group: Member
Posts: 5
Joined: Apr 2004
Member No: 13,511



Oh I got that working already.

That's just GALLERYIMG="no"

But what I'm looking for is a way to disable the right click on an image file only...

Here's what the site suggested:

In header:

<script language="JavaScript" type="text/javascript">
<!--function popupMsg(theMsg)
{alert(theMsg);}//-->
</script>

Then in your code

<IMG SRC="images/imagename.jpg" onMouseDown="popupMsg('For
more information on this © copyrighted image, please contact INCLUDE YOUR
PERSONAL INFORMATION HERE')">

But it don't work. Plus X=tools keeps sticking my onmousedown before the image url every time... =/
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: