Jump to content

im having truble


alex

Recommended Posts

im not sure if its a code or not but i need to find out how to place an image on my website and people cant come and highlight it. i dont care about richt click orprint screen but i just need somene to help

I DONT NEED NO RIGHT CLICKI NEED TO FIND OUT HOW TO NOT MAKE PEOPLE DRAG THIER MOUSES ACROSS AN IMAGE AND ATEAL IT

|4+ post?|90+ views?| whats wrong with you people?http://animeforevercorp.com

Link to comment
Share on other sites

I don't understand. You don't want users to be able to click-drag across your image and highlight it?I could be wrong, (please correct me if I am) but I don't think you can do that. If you don't want anyone selecting your images, then I would just not put images on your web site. :) What are you trying to prevent?

Link to comment
Share on other sites

try adding this to the page:

<script type="text/javascript">function noRightClick(){if (event.button==2){alert("No right clicking!");return false;}}</script><img src="http://www.mysite.com/myimage.png" onMouseDown="noRightClick()" />

Or

<style>#myImg {background: url('http://www.mysite.com/myimage.png"]http://www.mysite.com/myimage.png');}</style><table><tr><td width="imgWidth" height="imgHeight"></td></tr></table>

Link to comment
Share on other sites

im not sure if its a code or not but i need to find out how to place an image on my website and people cant come and highlight it. i dont care about richt click orprint screen but i just need somene to help

I DONT NEED NO RIGHT CLICKI NEED TO FIND OUT HOW TO NOT MAKE PEOPLE DRAG THIER MOUSES ACROSS AN IMAGE AND ATEAL IT

|4+ post?|90+ views?| whats wrong with you people?http://animeforevercorp.com

Interesting.Perhaps it is the long days and low patience, but I just don't feel like helping anymore. I think I have something "wrong with me". :)
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...