|
|
FAQ
Return to FAQ
Q: I want to use Javascript instead of usual links for menu items. How can I do that?
A: To do that you should add a function word "javascript" in the URL field of an item, e.g.:
var menuItems = [
[text, "javascript:alert('Hello, world!')", icon1, icon2],
];
Return to FAQ
|