Java script executes when the link is clicked it is not the html drop down link itself.
Return to Recent Questions
Q:
["item text", "javascript:your_code_here", ...]
This won't work the java script executes when the link is clicked it is not
the link itself. Below is what I normally use and how would I incorporate
that?
<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');
code in an item link:
["text", "javascript:NewWindow(url,'name','490','400','yes');"]
But if you don't want that, you can just insert <a> into an item text.
Return to Recent Questions
|