Is it possible to call JScript functions from navigation menu html?
Return to Recent Questions
Q:
Is it possible to call JScript functions from items of navigation menu html?
For example:
var menuItems = [
["Calling alert","alert ('Hello');", "icon_win98_1.gif", , , , , , , ]
];
A:
You can use your own javascript functions within the navigation menu html 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:
|