Categories | Question details Back To List | ||
access the url in dhtmlxmenu Hi, I'm working with the Library 2.5 and I access the url attribute with the api, but I found no function associated. Is there any? Thank you. A greeting. Answer posted by Alex (support) on Oct 22, 2009 07:31 Hello, menu doesn't have url attribute. You can use either href tag to create menu for navigation dhtmlxMenu/samples/03_features/07_hrefs.html ( http://www.dhtmlx.com/docs/products/dhtmlxMenu/samples/03_features/07_hrefs.html ) or try to use userdata: <item ...><userdata name="url">some url here</userdata></item> var url = menu.getUserData(itemd,"url"); Answer posted by alvaro on Oct 22, 2009 23:38 Ok, thanks. I used the second option, because he wrote relative paths and not played well. Thank you very much. A greeting. |