Is there any way through script to call the function in dhtml tabbed menu?
Return to Recent Questions
Q:
Is there any way through script to call the function that would
be called if the user clicked a dhtml tabbed menu?
A:
You're able to use Javascript for each item, for example:
var bmenuitems = [
["item text", "javascript:your_code_here"]
];
Unfortunately, you can't assign onmouseover/onClick event to each item.
However, you can achieve this by using standard html objects within
items, for example:
var bmenuitems = [
["<div onClick='your_code_here'>item text</div>", "index.html"]
];
Return to Recent Questions
|