|
|
#1 (permalink) |
|
Junior Member
Join Date: Jun 2008
Posts: 2
|
Hello all, congratulations for your excellent work.
I have purchased the XML Multilevel Sliding menu from flashden.net and I'm using it in one of my current projects. I would like to know if ot would be possible to have the menu load directly to a specific sub-level when the page loads. For example, i have 3 main categories as my first level and each of them has 10 more sub categories and under them i display my products. when i click on a product link, the product page is loaded along with menu but the menu is displaying the 3 main (root) categories, meaning that the user has to open all the sub-menus again to fin the specific category he was at before.
in this example, i need the menu to open directly to Sub-Category 2. Any suggestions would be helpful and welcome. Thanks. |
|
|
|
|
|
#2 (permalink) |
|
OYXLUSFlash.com Staff Member
|
Hi,
Thank you for purchasing. Unfortunately such feature is not available. It could be implemented with a tree search algorithm (since xml files are represented in flash by a tree structure). I will give it a try and if I get to a solution I'm going to contact you. |
|
|
|
|
|
#4 (permalink) |
|
Junior Member
Join Date: Jul 2008
Posts: 5
|
Hello,
I think there is a way because if you find this line _global.gRoot = this.firstChild; //(you can find it inside Actions.as) you could change it to: if(yourvariable=="whatever"){ _global.gRoot = this.firstChild.childNodes[0]; } else{_global.gRoot = this.firstChild;} Thats works fine for me and the menu will open in the first submenu. The only problem I still have, and hopefully someone found the answer for was that if it opens up in a submenu for any reason its not showing the "back to root"-button on top anymore. So in this state there would be no way to go back to HOME or the other main menus which is not good. Did anyone found a solution for that ? christian |
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 06:55 PM.








Linear Mode
