469,353 Members | 2,149 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,353 developers. It's quick & easy.

Problem with using onMouseDown

I'm trying to use onMouseDown to build a certain behavior into a
javascript application (see
http://groups.google.com/groups?q=We...rii.net&rnum=1
for the gory details, but essentially I want a pop-up menu to appear
when I
hold the mouse down on an image element for at least one second).

However, I'm finding that Mozilla pops up its own menu when I do this,
which will definitely get in the way of my own pop up. How do I get
around this?
Jul 20 '05 #1
1 1250
Weston C wrote:
[...] but essentially I want a pop-up menu to appear when I
hold the mouse down on an image element for at least one second).

However, I'm finding that Mozilla pops up its own menu when I do this,
If it is the secondary mouse button that is pressed. Otherwise
Mozilla rv:1.5 and later could resize the image.
which will definitely get in the way of my own pop up.
Yes, your design is flawed.
How do I get around this?


With normal `img' elements you cannot and that is a Good Thing.
PointedEars
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by rdlebreton | last post: by
4 posts views Thread by TR | last post: by
4 posts views Thread by joebob | last post: by
2 posts views Thread by Chris Plowman | last post: by
4 posts views Thread by steve bull | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.