I want to use a program like hopscotch (linkedin.github.io/hopscotch/) to walk a user through a tour. In order to do this I have to be able to open a DHTMLXMenu (not a context menu) via JavaScript. Is there a way to go under the hood and call the onClick event to simulate a mouse actually clicking it? If so, second question would be how to do this for a child item with JavaScript so I can step down through the menu and have it display as if the mouse was hovering over it.
This works great. Thank you so much. Ideally I would like to show tour steps in a more incremental fashion so I could show the user step by step what items to go to. Something more like this…
mainMenu.openMenu([“file”]);
…show my tour bubble saying click here…
mainMenu.openMenu([“edit”]);
…show my tour bubble saying click here…
mainMenu.openMenu([“help”]);
…show my tour bubble saying click here…
mainMenu.openMenu(["“bugReporting”]);
…show my tour bubble saying click here…
As opposed to all in one motion like the demo file: mainMenu.openMenu([“file”,“edit”,“help”,“bugReporting”]);
This will definitely work, it would just be a nice enhancement to open each individually if possible.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan