Please look at next code:
<script>
var menu;
function on_Load() {
var menuData = {
parent: "menuObj",
items: [
{
id: "file",
text: "File",
items: [
{ id: "open", text: "Open", href: "open.php" },
{ id: "save", text: "Save", href: "open.php" }
]
},
{
id: "edit",
text: "Edit",
items: [
{ id: "copy", text: "Copy", href: "copy.php" },
{ id: "paste", text: "Paste", href: "paste.php" }
]
}
]
};
menu = new dhtmlXMenuObject( menuData );
}
</script>
Menu is showing up, but URLs are not working. What am I doing wrong?