|
Is it possible to call JScript functions from horizontal navigation menu?
Return to Recent Questions
Q:
Is it possible to call JScript functions from items of horizontal navigation menu?
For example:
var menuItems = [
["Calling alert","alert ('Hello');", "icon_win98_1.gif", , , , , , , ]
];
A:
You can use your own javascript functions within the horizontal navigation menu items.
You should paste "javascript:some_function()" into item's link field, for example:
var menuItems = [
["text", "javascript:your_function(...)", ...]
];
Return to Recent Questions
Related:
|