| 
       
          
                    How can I keep the main Menu highlighted
       
      Return to Recent Questions
 
  
Q:
Is it possible to keep the main menu highlighted
corresponding to the page you are in?  So, if you're on a specific page
 that button on the menu will automatically be highlighted.   
 I searched the FAQ on your site and it gave me something about "Special
 Parameters" that didn't make sense to me...
     
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
        
   |