The Items of the web navigation bar stay expanded in the same state.
Return to Recent Questions
Q:
Is there a way to have the web navigation bar stay expanded in the same exact state when
I click on a menu item of the javascript tree view and go to a new page?
A:
There is no need to write additional code on a server side to remember what items were expanded/collapsed.
DHTML Tree Menu can save items state automatically.
Please, see the example of the menu that works with cookies:
http://dhtml-menu.com/tree-examples/tree-menuxp-save-state.html
Set the following parameter:
var tsaveState = 1;
and the menu remembers its structure for each user who visit your page.
Try to expand/collapse items. Then reload the page and you'll see results.
Return to Recent Questions
Related:
- March 14, 2009 - How do I enable javascript on the new browser, so I can see my web navigation bar?
- March 17, 2009 - Can the vertical dropdown menu items be set so they are all the same width?
- March 31, 2009 - Is there any way can we display submenu items on mouse over in web navigation bar?
- Apr 17, 2009 - I have 25 images on one page. I want to use it's own popup web navigation bar for each image.
- May 05, 2009 - I'm wondering if you can use the ASP code within Item Link of the web navigation bar?
- May 22, 2009 - I would like to have links of web navigation bar to our website when javascript turned off.
- Jun 08, 2009 - Is it possible to call JScript functions from web navigation bar?
- Jun 26, 2009 - I'm looking for a web navigation bar system that can be placed in a table cell.
- Jul 13, 2009 - Flash in Firefox disappears behind the submenus of web navigation bar.
- Jul 30, 2009 - I need the cursor not to change when hovering over items which don't have links in web navigation bar
- Aug 16, 2009 - I cannot change the background color of the web navigation bar
|