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

    Is it possible to set drop down menu up so the javascript function runs when clicking a tab?

Return to Recent Questions


Q: Have a question regarding your DHTML-Tabs drop down menu.

Is it possible to set drop down menu up so the javascript function runs when clicking a tab?


A: You can use your own javascript functions and html code inside the drop down menu items.

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

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





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. criador de site gratis | easy website builder | bootstrap navigation menu | mp4 to webm | css3 menu