|
|
All I want is the dropdown menu javascript I have attached to have these colors on the seperate top items.
Return to Recent Questions
Q:
You have been great help, but this will not work for me. All I
want is the dropdown menu javascript I have attached to have these colors on the
seperate top items. I just cannot make the software work . As soon
as I get this done I promise to leave you alone
#0000ff Find Out Who We Are
#FF00FF Apply for a Fellowship
#00ffff Fellow'sCorner
#00ff00 Enroll in a Course
#FFFF00 Engage in a Discussion
#FF0000 Read the Bulletin
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.humanscience.org/", "", "", "", "", "0", "0", "", "", "", ], //style 0
["Apply For Fellowship","http://www.humanscience.org/infoSnippets.cfm", "", "", "", "_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
You can also set
var itemSpacing=0;
to delete spacing around the dropdown menu javascript.
Return to Recent Questions
Related:
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 02, 2006 - Little vertical spacers between menu items in the drop down menu.
- Sep 06, 2006 - The alighment of the dropdown menu is off to the right in Firefox...
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 11, 2006 - How can I hide my dropdown menu on print?
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Sep 23, 2006 - Is it possible that javascript drop down menus doesn't put anything on the local computer?
- Sep 23, 2006 - Is it possible that your menu call some javascript onmouseover event?
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
|