when I set the onclick event handler as shown in previous thread my menu disappears. The menu renders perfectly until I add menu.attachEvent… Here is my code:
Hello,
there is the issue in the event handler - there is unnecessary )
try the following
menu.attachEvent(“onClick”,function(id){var url = menu.getUserData(id,“url”)});