Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:17
Setting up header for menu top items only
Poster: vlk
Dated: Monday August 25 2003 - 16:34:45 BST
I apologize for my question. I use version 3.3.19 and i am very satisfied with its functions and behavior. But now I need to set up the header for the menu top items. And i do not know where i can find the correct syntax according to my "old" version.
"dcdcdc", // Menu Header Font Color (Leave blank if headers are not needed)
"cdcdcd", // Menu Header Background Color (Leave blank if headers are not needed)
,"Dogs","show-menu=26",,"",1
,"Pigeons","show-menu=32","URL","",1
,"Cats","show-menu=307","URL","",1
Poster: Hergio
Dated: Monday August 25 2003 - 18:23:24 BST
If you are absolutely going to stick with version 3, I suggest upgrading to 3.5.15 at least. You can get it at the version information page on the website. Then you'll at least have the full feature set of the old menu.
In your menu right after the URL you can say type=header and it will make that item a menu header type of item...so it would be something like ,"show-menu=foo","page.asp type=header","",1 or something to that effect. I found at example at http://www.milonic.com/forum/viewtopic.php?t=963&highlight=header+type+color+colour...look towards the bottom of this gentleman's code.
Specification
Poster: vlk
Dated: Tuesday August 26 2003 - 6:24:22 BST
I want to better describe my request. I want top menu items to be colored by different color than all other menu. Therefore i thought headers can be applied to solve this problem. My idea is menu with other colored top items (background color), that have show-menu included and do not have the URL entered - like Windows Start menu. Is it possible ?
Poster: John
Dated: Tuesday August 26 2003 - 16:03:24 BST
You confused Dave (and me!) in the way you asked your question. You want to color the menu itself, not headers. The answer is yes, but I believe, as Dave suggested, you'll need to go to 3.5.15 to get that functionality. Right now you're 20+ levels down.
Note also that officially the v3 series, including 3.5.15, is no longer supported. Moving to the new v5 menu is really your best choice.
Poster: vlk
Dated: Tuesday August 26 2003 - 16:06:35 BST
thank you very much. upgrade is the best choice.
Poster: Hergio
Dated: Tuesday August 26 2003 - 20:24:43 BST
Definetly upgrade...if you are upgrading then disregard this answer...otherwise this will help you. You see how you have styles defined in your menu? Well define another style, with different foreground and background colors. Then make the menu at the top of your page use that NEW style, while the others use the old style. That way they will have different colors. And if you dont want them to have links, then don't specify a URL, make it # and just have a show-menu in there and that should do it.