(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    I need to be able to execute some javascript code when I click on a navigation menus...

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 navigation menus.

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 navigation menus 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:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap template | criar sites gratis | creare sito gratis | best website maker | css menu