Log In · Register

 
Disable left-click on pictures, Y are some pictures clickable?
predrinkinthecar
post Feb 24 2005, 04:21 PM
Post #1


Newbie
*

Group: Member
Posts: 4
Joined: Feb 2005
Member No: 105,495



Maybe this was addressed, but some pictures you can left-click and save, while others you cannot. I disabled the right-click feature on my pictures, but if you can left-click it, then it's pretty much useless.

Anyone?
 
 
Start new topic
Replies (1 - 6)
sherryvu
post Feb 24 2005, 04:23 PM
Post #2


Senior Member
*******

Group: Member
Posts: 3,826
Joined: Jan 2004
Member No: 2,330



try this:
CODE
<body ondragstart="return false" onselectstart="return false" oncontextmenu="return false">
 
predrinkinthecar
post Feb 24 2005, 04:29 PM
Post #3


Newbie
*

Group: Member
Posts: 4
Joined: Feb 2005
Member No: 105,495



Still not working. That code was the one I originally put in place to disable right-clicks and highlighting. But anyone can left-click and open the picture in a new window and save from there.
 
kill me please
post Feb 24 2005, 04:33 PM
Post #4


im addicted to my car<3
*****

Group: Member
Posts: 635
Joined: Jan 2005
Member No: 92,236



hmm ive never had that problem because when you left click on mine it just redirects them to my xanga again (basically just reloads the page). but ive found that some browsers let you see and do different things.. so maybe it depends on what you are using. what are you using? and i guess ive also been wondering this.
 
predrinkinthecar
post Feb 24 2005, 04:37 PM
Post #5


Newbie
*

Group: Member
Posts: 4
Joined: Feb 2005
Member No: 105,495



Just using IE 6. A seemingly simple problem, but I can't figure it out. Damn!! lol
 
predrinkinthecar
post Feb 24 2005, 05:13 PM
Post #6


Newbie
*

Group: Member
Posts: 4
Joined: Feb 2005
Member No: 105,495



Never mind, I got it. Just had to replace the A HREF with IMG SRC, in case anyone else was curious about it.
 
sherryvu
post Feb 24 2005, 05:20 PM
Post #7


Senior Member
*******

Group: Member
Posts: 3,826
Joined: Jan 2004
Member No: 2,330



QUOTE(predrinkinthecar @ Feb 24 2005, 4:13 PM)
Never mind, I got it.  Just had to replace the A HREF with IMG SRC, in case anyone else was curious about it.
*

i'm glad you figured it out happy.gif next time, please use the "edit" link at the top-right of your post instead of double posting. thanks _smile.gif

[ topic closed ]
 

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