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

button or input right click

P: n/a

I am two days into trying to add some javascript to a webpage, so I know
very little about it or any other programing language, so please bear with
me. I have managed to get onMouseover and onMouseout event programed to
show a popup tip when the user moves the mouse over one of the input fields
or buttons, but this can get annoying on some of the forms. What I think
would be a better solution is to write code that would allow the user to
right click the input or button and have the popup tip display while the
right mouse button is held. I have tried a few ways to get this to work and
have the popup appearing when the right button is clicked, but the context
menu also appears for the item. Any suggestions will be appreciated.



Posted via - Premium Uncensored Newsgroup Service
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
Sep 27 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a

To the event handler you have on the element, add -> return false, which I
gather you mean is oncontextmenu.
Sep 27 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.