I make a rightClick menu of this pagehttp://www.dynamicdrive.com/dynamici...ontextmenu.htm
but when i go on links in my page i want this menu don't show and defult windows menu show
I make a rightClick menu of this pagehttp://www.dynamicdrive.com/dynamici...ontextmenu.htm
but when i go on links in my page i want this menu don't show and defult windows menu show
dear
please be informed that I made a Right click menu by this current page
http://www.dynamicdrive.com/dynamici...ontextmenu.htm
for your futher notics , when I want right click on linkes on this page , I requested to hidden and enable this menu and also display the right click of windows menu's defult according
pleas help me
Okay. So you installed the menu. What's your question?
- Mike
I want
when mous over links(text or image) internet explorer's right click menu enable
and my right click menu disable
because I want select open in new window
i have some link in page and some link in right click menu that I make
do you UNDERSTAND my PURPOSE?
....ok.
So you want to CHOOSE IF it should or should not be enabled?
So... sometimes it should do a menu, sometimes not?
After a search, here's what I got...
The functions usually available apply to the entire document, not elements. So you can't just specify elements.
Seems like you can use:
<element onmousedown="if(event.button==2){alert('right mouse button clicked!');}">
to decide what to do.
However, that might not work on the background.
but if you just want it on links, then that's possible.
However...
<a href="something.htm" target="_blank">
is the MUCH better solution for this. It forces a new window and will be supported with or without javascript AND doesn't annoy the user like no right click scripts do.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Bookmarks