Forum Moderators: open

Message Too Old, No Replies

PoP uP MENU

how can i disable this?

         

aai2on

3:11 pm on Apr 12, 2002 (gmt 0)

10+ Year Member



i know how to disable the right click. but how do u disable the pop-up menu when the mouse is rolled over it? i want to protect my images and not have them taken by anyone. can someone help me?

aaRon

pcguru333

3:21 pm on Apr 12, 2002 (gmt 0)

10+ Year Member




aai2on, Welcome to Webmaster World.

I am assuming that you are talking the floating menu that pops up in IE6?

If this is the case, I dunno what to tell ya.

aai2on

3:24 pm on Apr 12, 2002 (gmt 0)

10+ Year Member



yea i guess thats what it is. i just want to protect my images. i thought i had it done when i disabled the right click, but then when i rolled the mouse over it, a little menu comes up with a save button where you can save the image. i just wanted to know if it was possible to to disable that. anyone that can help me would be great! let me know guys. thanks.

aaRon

click watcher

3:29 pm on Apr 12, 2002 (gmt 0)



>>i want to protect my images and not have them taken by anyone

not possible, if someone wants yours images they can get them whatever you do.

if you want to stop images being called from your server this is doable with apache.

pcguru333

3:31 pm on Apr 12, 2002 (gmt 0)

10+ Year Member



Even with right click disabled the end user can download the enter page with images (in fact it already is in their cache). If they want it there is no way to keep it from them.

They can even do a screen print and crop the picture in an image editor.

If a script could be written to do what you are asking it would have to be specifc for IE6, but I don't think it can be done

aai2on

3:40 pm on Apr 12, 2002 (gmt 0)

10+ Year Member



yes i know there are ways around it, but just generally it would be nice to take that little menu away. not everyone knows about the print scren or the cache. i guess i just wanted people to do a little more work before they can actually take it. its like a car alarm. they dont really work. if someone wants your car they will take it. i just wanted to buy some more time i guess. thanks for your replys. i really appreciate the help.

aaRon

TallTroll

3:48 pm on Apr 12, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Or do you mean the grey "right-click" menu? I think thats another bit of JS to kill that

aai2on

5:02 pm on Apr 12, 2002 (gmt 0)

10+ Year Member



well .. what im trying to do is just take away the lil toolbar menu that pops up when you have your mouse over an image. i dont think i can use JS because im trying to work this on a community website/homepage site. i believe JS has been disabled. i was able to take away the right click by implemting this,

BODY oncontextmenu="return false" onselectstart="return false" ondragestart="return false"

with the tradition <> ofcourse. so im here to ask for help. im no HTML guru so i need as much help as i can get. thanks again guys.

aaRon

DrDoc

5:42 pm on Apr 12, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried setting z-Index for the image? You can set z-Index to 1, and then position a transparent GIF to overlap the one you want to protect using CSS:
position : relative;
left : whatever_the_width_of_the_protected_image_is;
top : whatever_the_height_of_the_protected_image_is;
z-index : 2;

You don't even have to use z-Index at all if you don't want to. Just place the transparent GIF immediately after the one you want to 'protect', or get its position using JavaScript.

But, like others have said .. as long as the image is displayed, there's nothing you can do to stop the user from saving it.

So, all the solutions to stop right-clicks and stuff like that, it will only stop the amateur user.

msr986

8:27 pm on Apr 12, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



aai2on,

The following meta tag in the <head> section of your code will stop the IE6 image toolbar from appearing:

<META HTTP-EQUIV="imagetoolbar" CONTENT="no">

-Marty

pcguru333

9:18 pm on Apr 12, 2002 (gmt 0)

10+ Year Member



Good to know msr986.

That image toolbar was pesky and I hate it when I am viewing sites in IE6. I'll add that line of code to my templates.