By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,598 Members | 1,894 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,598 IT Pros & Developers. It's quick & easy.

Problem with using onMouseDown

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.