Where to place "openTo()" command to make the script work?
I am trying to make the Java tree menu (on the left sidebar of this home page - http://kb.kitya.net/wordpress.htm) to be automatically open at "Wordpress folder". Like this, see screenshot:
Right now it looks closed, like this:
Per the instruction of this menu creator I could use command
I tried placing command mytree.openTo(4, true); in various places, but it doesn't make things work.
Can you please help me out to apply this correctly?
The script for the menu in HTML file looks like this:
d = new dTree('d');
d.add(0,-1,'My example tree');
d.add(5,4,'Setup on server','default.html','How to manually setup Wordpress on a server');
d.add(6,4,'One page blog','default.html','How to setup a one page blog simple Wordpress website');
Then there are also CSS and JS files linked to this HTML file:
Re: Where to place "openTo()" command to make the script work?
Moved to Other Languages.
Welcome to the forum! Thanks for taking the time to learn how to post code correctly. If you haven't already, please read this topic to learn other useful info for new members.