Categories | Question details Back To List | ||
dhtmlxMenu Hi i using dhtmlxMenu and load items from a file xml, my xml code is next: <?xml version="1.0"?> <menu> <item id="Mo0" text="Inicio" > <item id="1" text="Home" ></item> </item> <item id="Mo1" text="Terceros" > <item id="3" text="Crear/Editar Terceros" ></item> <item id="4" text="Ver Terceros" ></item> <item id="5" text="Crear/Editar Entidades" ></item> <item id="6" text="Ver Entidades" ></item> </item </menu> And works fine, but how do it to go some url?, where i have to put url? Thanks.. Answer posted by Alex (support) on Apr 25, 2009 00:32 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> Answer posted on Apr 25, 2009 08:12 Thanks.. |