Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I choose what items will be expanded or collapsed in the php tree view when the user first comes to the webpage?

0
Posted

Can I choose what items will be expanded or collapsed in the php tree view when the user first comes to the webpage?

0

You can expand some items by default. Add ‘+’ sign before items text in that case: [“+Deluxe Tree: XP Style”,””, “deluxe-tree.files/xpicon1_s.gif”, “”, “”, “XP Title Tip”, “”, “0”, “”, “”, ], [“|Home”,”testlink.htm”, “deluxe-tree.files/icon1_s.gif”, “deluxe-tree.files/icon1_so.gif”, “”, “Home Page Tip”, “”, “”, “”, “data-new.js”, ], “Deluxe Tree: XP Style” item will be expanded by default in that case. Use var texpanded=1; parameter to expand all menu items by default.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.