When I move the mousepointer above a menuitem and right-click I would like to see in the javascript contextual menu provided by the browser?
Return to Recent Questions
Q:
As I have stated before, your Deluxe-Menu is very very good.
But there is allways room for improvement.
Is there any chance to see support for the following in Deluxe-Menu:
When I move the mousepointer above a menuitem and right-click I would like to see in
the javascript contextual menu (the context menu provided by the browser):
Open Link in new window
Open Link in new tab
If the above is not possible or not something you want to enable....
then, there should be possible to make a workaround to make this work:
I see there is support for custom javascript contextual menus.....
.... is there any possibility to make a custom context menu that show above a menuitem
and that show when right clicking on the menuitem.
Should hopefully be possible to create in such way that I create one context menu in
javascript (the deluxe menu way... ) , but when clicking on "Open link in new window"
from that custom menu, then the JS code should call a javascript function of mine (or
yours), with a parameter related to the menuitem that was right-clicked...
And this javascript function should be able to resolve the actual URL (based on the
input parameter rel. to the menuitem) and then open a new window using window.open()
If not possible to implement using the native browser context menu, then I belive it
should be possible to do it using my workaround how to.....
Just a thought....
Any suggestions on how I can make the workaround work, or if maybe you could support
the workaround in some way in future releases of Deluxe-Menu?
A:
Yes, there is a workaround.
You can write your items in the following way:
["|<a href='http://www.domain.com' class="link">test test test</a>",""],
You should assign style for this link.
A.link {
...
}
A.link:hover {
...
}
Return to Recent Questions
Related:
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 02, 2006 - Little vertical spacers between menu items in the drop down menu.
- Sep 04, 2006 - Set a menu item to pressed when a page is loaded.
- Sep 06, 2006 - The alighment of the dropdown menu is off to the right in Firefox...
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 06, 2006 - The first item of the html drop down menu stays highlighted.
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Sep 16, 2006 - I need to be able to highlight the selected menu item of the html tree menu.
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Sep 18, 2006 - The submenus of the cross frame menu are offset by about 100 pixels to the right.
|