|
Set a menu item of the css menu examples to pressed when a page is loaded.
Return to Recent Questions
Q:
I want to know how I can set a menu item to pressed
when a page is loaded in css menu examples.
A:
You should set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
Return to Recent Questions
Related:
- March 17, 2009 - Can the html pull down menus items be set so they are all the same width?
- Apr 01, 2009 - How can I set different parameters for diferent items in my javascript expanding menu?
- Apr 19, 2009 - Is there a way to set the default mouseover popup tab on a page load?
- May 08, 2009 - How do I make javascript menu over backgrounds and items to override the page text?
- May 15, 2009 - We want to set a specific width for each top level item in the dhtml website navigation
- May 30, 2009 - If the new page in the frame is a frameset itself, the menus script won't show up.
- Jun 03, 2009 - Is it possible for the down css menu to highlight selected item on the page?
- Jun 28, 2009 - Does your dhtml menu dropdown allows to keep the pressed menu-item hightlighed?
- Jul 12, 2009 - Is it possible to set target attribute individually for the web navigation design items?
- Oct 12, 2009 - The javascript drop menu opens a new window although I haven't set item's target...
- Oct 13, 2009 - How easy would it be to set up these web menus items?
|