I need to be able to execute some javascript code when I click on a css popup menu...
Return to Recent Questions
Q:
Hi there. I am evaluating your DHTML Tabs and I ran
into a small problem. If I can get this resolved I am ready to
purchase this css popup menu.
I want to dynamically set the location.href property of an iFrame located inside of a content div.
I can't figure out how to do it.
I need to be able to execute some javascript when I click on a
tab. Any help will go a long way for me to decide to purchase.
Thanks!
A:
You can use your own javascript functions within the css popup menu items.
You should paste "javascript:some_function()" into item's link field, for example:
["tab text","javascript: window.open('test.html', 'frameName')", ...],
or
["tab text","javascript: getURLForFrame()", ...],
Try that.
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 - I cannot see start menu button on my pages.
- March 13, 2009 - Now we are having the "Incorrect Copyright" on our floating menu javascript...
- March 14, 2009 - How do I enable javascript on the new browser, so I can see my drop down menu in javascript?
- March 15, 2009 - I have problems with transitional effects in Firefox in the menu web...
- March 19, 2009 - How to get the html pop up menu to highlight and stay on the page you're viewing?
- March 20, 2009 - Links don't work in the navigation menu javascript. How can I correct this?
- March 21, 2009 - How can we increase the width of the vista style buttons of menu navigation?
- March 24, 2009 - In vertical menu dhtml creator there's no option for turning the cursor into a hand.
- March 26, 2009 - Can you throw some light on how to create horizontal pulldown menu on ASP?
- March 26, 2009 - After click the links the dropdown menu download stops showing up in cross-frame mode...
|