dhtmlxmenu new API vs XML

Hello :slight_smile:



I’ve noticed that dhtmlxmenu 2.0 has a new API and XML files from previous version of dhtmlxmenu are not compatible anymore with this new version so I have to modify my XML menu file.







MenuItem is replaced by item, name by text but what about href ?



Thanks for your answer

Hello

"href" part was removed from xml. Now you can parse the clicked item through the attachEvent() method.
You can store the value in userdata, for example, and then change document.location manualy in onClick event.