|
|
How to use javascript calls when the link is clicked in the dhtml floating menu?
Return to Recent Questions
Q:
["item text", "javascript:your_code_here", ...]
Javascript executes when the link is clicked it is not the link itself.
Below is what I usually use and how would I incorporate that in the dhtml floating menu?
<a
onclick="NewWindow(this.href,'name','490','400','yes');return
false;"
href="web/equipment/hydraulic_truck.htm">
A:
I'm not sure I understand you.
You can use
NewWindow(this.href,'name','490','400','yes');
function call in an item's link:
["text", "javascript:NewWindow(url,'name','490','400','yes');"]
But if you don't want to use this method, you can just insert <a> </a> into an item's text.
Return to Recent Questions
Related:
- March 12, 2009 - I don't understand, how can change place of the icon in button context menu...
- March 13, 2009 - Now we are having the "Incorrect Copyright" on our drop down menu maker...
- March 14, 2009 - I am having a problem with css styles in the floating javascript.
- March 14, 2009 - How do I enable javascript on the new browser, so I can see my java menu script?
- March 15, 2009 - I have problems with transitional effects in Firefox in the javascript menu navigation...
- March 16, 2009 - Is there any way to keep a menu using javascript lit up when going to another page?
- March 16, 2009 - How can I change item width in the Vista templates in the net dynamic menu?
- March 18, 2009 - I am getting a Javascript error, when accessing any of the web navigation buttons.
- March 19, 2009 - How to get the css javascript menu to highlight and stay on the page you're viewing?
- March 19, 2009 - I need that the dhtml menu creator loads pages into an iFrame.
- March 20, 2009 - Links don't work in the dynamic html menus. How can I correct this?
|