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

    Can we set the link of a down menus in javascript item to a javascript method?

Return to Recent Questions


Q: Can we set the link of a down menus in javascript item to a javascript method?


A: You can use your own javascript functions in the down menus in javascript items.

You should paste "javascript:some_function()" into item's link field, for example:

var menuItems = [
["text", "javascript:your_function(...)", ...]
];

var menuItems = [
["item text", "javascript:alert('Hello World')", , , , ,]
];





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. website builder | mobiele website bouwen | creer un site mobile | web design software | bootstrap button styles