|  |  | 
      Return to Recent Questions How can I make top items different colors in the dhtml pop up menu? 
 
 Q:
 How can I make top items different colors in the dhtml pop up menu?
 
 
 A:
You should create 6 Individual Styles and assign them to you top
items.
 
 var itemStyles = [
 ["itemBackColor=#0000ff,#0000ff","showByClick=0"],  //style 0
 ["itemBackColor=#FF00FF,#FF00FF","showByClick=0"],  //style 1
 ["itemBackColor=#00ffff,#00ffff","showByClick=0"],  //style 2
 ["itemBackColor=#00ff00,#00ff00","showByClick=0"],  //style 3
 ["itemBackColor=#FFFF00,#FFFF00","showByClick=0"],  //style 4
 ["itemBackColor=#FF0000,#FF0000","showByClick=0"],  //style 5
 ];
 
 ["Find out Who we are","http://www.yoursite.org/", "", "", "", "", "0", "0", "", "", "", ],    //style 0
 ["Apply For Fellowship","http://www.yoursite.org/info.html", "", "", "", "_blank", "1", "", "", "", "", ],  //style 1
 ["Fellows Corner","", "", "", "", "", "2", "", "", "", "", ],    //style 2
 ["Enroll in a course","", "", "", "", "", "3", "", "", "", "", ],   //style 3
 ["Engage in a discussion","", "", "", "", "", "4", "", "", "", "", ],  //style 4
 ["Read The Bulletin","", "", "", "", "", "5", "", "", "", "", ],   //style 5
 
 
 
 
 
 
 
 Return to Recent Questions
 
 Related:
 
 
         Sep 02, 2006 - Little vertical spacers between menu items in the drop down menu.
Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
Sep 26, 2006 - Firefox doesn't support the dropshadow and effects in the javascript pull down menu.
Sep 26, 2006 - Why is the submenu has a different colour than menu items in the javascript menu bar?
Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
Oct 01, 2006 - All of the items in html pull down menu are different sizes.
Oct 03, 2006 - Do I have the ability to change colors for the menus and the sub menus in the cascade menu.
Oct 06, 2006 - How can I use right-to-left languages in javascript popupmenu?
Oct 12, 2006 - Can I create a scroll vertical menu on the right side and the subnav popout on the LEFT?
Oct 20, 2006 - Can you let me know, if javascript moving menu supports search engine friendly code?
Oct 21, 2006 - It appears that this javascript expand menu only supports IE (on the PC and Mac).
 |