470,613 Members | 2,505 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

button or input right click

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 NewsDemon.com - Premium Uncensored Newsgroup Service
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
Sep 27 '05 #1
1 1405

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.

Similar topics

13 posts views Thread by Samantha Smit | last post: by
6 posts views Thread by Paul Furman | last post: by
4 posts views Thread by =?Utf-8?B?QVJUTUlD?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.