(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    I need to be able to execute some javascript when I click on a javascript menu tab

Return to Recent Questions


Q: Hi there. I am evaluating your tabs before I purchase and I ran into a small problem. If I can get this resolved I am ready to purchase.

I need to be able to execute some javascript when I click on a tab. What I am planning on doing is 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. Any help will go a long way for me to decide to purchase. Thanks!


A: You can use your own javascript functions in the 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

First-rate Responsive Website Builder Software - Beginner-Friendly Guide HTML Page Creator Plugins / Overview  |  Smart Cheap and Easy Web Page Builder Tools | Honest Review  |  Good Responsive Site Maker Program - 2021 Tutorial  |  Top HTML Site Builder - 2021 Review  |  Fine Open Source Website Maker Software | 2021 Guide  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Best AI Website Builder | AI Website Generator | Free AI Website Generator | AI Website Generator | AI website design generator