Jump to content

im having truble


alex
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...