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

    Is it possible to set website navigation bar up so the javascript function runs when clicking a tab?

Return to Recent Questions


Q: Have a question regarding your DHTML-Tabs website navigation bar.

Is it possible to set website navigation bar up so the javascript function runs when clicking a tab?


A: You can use your own javascript functions and html code inside the website navigation bar items.

Unfortunately, you can't assign onMouseover / onClick event to each item. However, you can achieve this by using standard html objects within website navigation bar items, for example:

var bmenuitems = [
["<div onMouseover='your_code_here'>item text</div>", "content1"]
];





Return to Recent Questions

   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap image gallery | html5 video background | web editor | free website generator | top free website builder