Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:33
Keeping Submenu expanded with tree menu.
Poster: The Riviera Kid
Dated: Tuesday June 19 2007 - 11:33:41 BST
Hi there,
I've implemented a milionic tree vertical menu. One of the submenu's is called products and when i click on this the products.htm page loads, and the products submenu expands. I'm trying to find a way to make sure that when products.htm loads, the products submenu stays expanded as well.
is there a switch that will do this?
best rgds
the kid
Poster: Ruth
Dated: Tuesday June 19 2007 - 20:51:22 BST
Hi,
Try using the openBranchbyName at the bottom of the products page just before the closing body tag
Code:
<script type="text/javascript">
openBranchByName("products");
</script>
openBranchByName("products");
</script>
This assumes that the submenu is named products, you'd use whatever name you have for it.
Ruth
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
