Categories | Question details Back To List | ||
url link from dhtmlxWindow Thanks alex, for the response you sent me,
Hello,
You can use userdata tag to set url: ... <item id="1" text="Home" ><userdata name="url">some.com</userdata></item> ... <script> menu.attachEvent("onClick",function(id){ }) </script> but when i try to implement it i get a blank page..
The xml code i put in is below <item id="m43" text="Stock"><userdata name="url">index2.html</userdata></item> and the code in my html is;
var menu = layoutWin.attachMenu();
Answer posted by Alex (support) on Jun 15, 2009 07:54 Hello Lina, there is the issue in the onClick event handler that you've set. Please, use the following menu.attachEvent("onClick",function(id){ instead of menu.attachEvent("onClick",function(id){ |