Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:44

Alternative to vertical separator line?


Poster: kretch
Dated: Thursday September 5 2002 - 10:59:26 BST

When used as a horizintal menu layout, the program can be set to insert a separator bar between each main menu title like this :

choice 1 | choice 2 | choice 3 | choice 4

Any chance for some code tweaking so that that line can be replaced with a couple of colons like this:

:: choice 1 :: choice 2 :: choice 3 :: choice 4 ::

I've had a bit of a rummage throught the code for signs of the "|" character being added but well, my script abilities are still in beginners class ;)

Cheers,
Dennis


Poster: Hergio
Dated: Friday September 6 2002 - 16:47:04 BST

I don't think there is a way to do this. When you are referring to the separator bar, I am thinking you are meaning that at the end of a line where you input a URL into a menu, the very last option you can set to 1 and that will put a bar inbetween the menus. That bar isn't the character "|", its actually part of the border of the layer that the menu item exists in. That tag just turns it on.

But here is a nice little workaround for you.
In your menu style, make sure the padding for the items is zero. Then in the text for each menu item that is displayed put ":" on either side and it will look the way you want.
i.e.
":: Item 1 :","show-menu=first","#",......,0
": Item 2 :","show-menu=second","#",.....,0
": Item 3 :","show-menu=third","#",.....,0
": Item 4 ::","show-menu=fourth","#",.....,0

This will produce the following if your menu padding is 0....:
:: Item 1 :: Item 2 :: Item 3 :: Item 4 ::

Give it a shot! :idea:


Poster: kretch
Dated: Saturday September 7 2002 - 2:50:23 BST

Thanks Hergio,
I had thought about that option which is indeed the look I was after. Unfortunately, the mouseover state will cause the ":" characters to be highlighted as well and this makes the menu look "wrong".

It's a damn fine script anyway but there are always those of us who desire more :)
Cheers,
Dennis


Poster: menufurfer
Dated: Sunday September 8 2002 - 2:13:05 BST

Hergio and Dennis:

Through experimentation I have found that what Herg calls a switch (to turn on the separator) is actually a setting to specify the thickness of the separator, so it can take values above 0,1. I use 4 but for the rightmost menu option zero is better. The menu's right border will then default to the Border Width set up higher (in my case, 2) and look better.

I don't know of a way to change the separator (could be suggested in the suggestion section). Up in the properties array there are settings for 3D Border & Separator it says. But I can only get it for the outside border; I can't get any effect on the separator bar. /mfurf