I'm interesting in dhtml menue ability to display a different color word on a menu item when the site is on that selected page
Return to Recent Questions
Q:
I'm interesting in dhtml menue ability to display a different color word on a menu item when the site is on that selected page
A:
The menu has only two states normal and mouseover. We'll try to add the pressed state in the future.
You can 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.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
Return to Recent Questions
Related:
- Aug 28, 2006 - Horizontal at level 1, Horizontal at level 2, then vertical?
- Nov 05, 2006 - The font color doesn't change when I roll over the dhtml side menu
- Dec 04, 2006 - With the licensed .js files of menu dhtml the status bar on IE shows "Error on page".
- Dec 08, 2006 - I created a custom error page for a site, but the Menu JavaScript would not display.
- Jan 29, 2007 - I want to have a different font and color for my javascript hide submenu items
- Feb 03, 2007 - The dhtml menu example looks different in IE and Firefox. In IE it is much
- Feb 11, 2007 - Is it possible for the dhtml sliding menu to highlight selected item on the page?
- May 02, 2007 - Is there any way can we display sublevel menu items on mouse over in dhtml tab menu
- June 23, 2007 - When I scroll the page the dhtml web menu will scroll follow. Can Delux Menu do it?
- June 27, 2007 - How create dhtml menu using images that were created in a different program?
- June 30, 2007 - How I can change the color of the selected menu item in the dhtml menu templates?
|