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.
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 ( dhtmlx.com/docs/products/dht … hrefs.html )
or try to use userdata: <item …>some url here
var url = menu.getUserData(itemd,“url”);
Ok, thanks. I used the second option, because he wrote relative paths and not played well.
Thank you very much. A greeting.
Thank you very much. A greeting.