|
|
How to open a link in to a new window by right clicking on the dhtml dropdown menu
Return to Recent Questions
Q:
We purchased your software and would like a way to give our users
the ability to right click (or equivalent) and open a link in to a
new window.
Is there a way to do this? If not, do you have a work around that people have found helpful.
As an example, I have a menu item that goes to
http://www.google.com. Typically, it loads this in to one of our
frames. However, I would like the end user to have the ability to
either load it in to one of our existing frames or to load it in its
own window.
A:
You can try to write the following code for your items:
["<a href='index.html' target='_blank' class='home'>Home</a>","", "", "", "", "Return to Index page", "", "0", "", ],
And create styles
.home{
color: #FFFFFF;}
.home:hover{
color: #FFBEBE;}
Return to Recent Questions
Related:
- Sep 06, 2006 - The alighment of the dropdown menu is off to the right in Firefox...
- Sep 11, 2006 - How can I hide my dropdown menu on print?
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
- Oct 27, 2006 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my dhtml dropdown menu are not visible
- Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
- Nov 05, 2006 - The font color doesn't change when I roll over the dhtml side menu
- Nov 14, 2006 - Can dhtml menu script work with tables ?
- Nov 23, 2006 - It is possible to have context menu work with your tree menu dhtml?
- Nov 30, 2006 - Does your html menu dropdown have the ability to have small text boxes on it?
- Dec 04, 2006 - With the licensed .js files of menu dhtml the status bar on IE shows "Error on page".
|