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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:47

Borders with two colors


Poster: Martin
Dated: Monday January 19 2004 - 9:53:03 GMT

Hi,

I'm trying to add a nice blue border to my menu. That's no problem.
Outside of the blue border i like to have an white border to give a nice effect.

I tried to fiddle around with low3dcolor and high3dcolor, but i never get the desired outline.

The image is a sample from my arts director:

Image


Thanks a lot


Poster: Maz
Dated: Monday January 19 2004 - 21:24:46 GMT

I notice the same thing, whatever the high and low 3D are they take over, although 3d high appears to be the lower and darker color and 3D low appears to be the 3D higher lighter color.

Perhaps Andy could tell us what's going on?

Thanks,
maz


Poster: Ruth
Dated: Tuesday January 20 2004 - 1:52:18 GMT

I've been trying to get various things as to borders...grrr... But the only way I could get that design was to put it in a one cell table
Code:
<table  cellspacing=0 cellpadding=0 style="border:1px solid #whatevercolor">
That will give you the design you showed in the picture.

Ruth


Poster: Andy
Dated: Tuesday January 20 2004 - 10:25:24 GMT

3D high and low colors will ultimately depend on where the light source is.

If you set the high color as the lighter shade and low color as the darker shade you can use swap3d to switch them around.



With regard to the intial post question. from looking at the sample image, the only way to acheive an effect like that is to use images.

Cheers
Andy


Poster: Maz
Dated: Tuesday January 20 2004 - 20:06:41 GMT

Is that swap3d=1?

If I use border red and 3d grays, is the border red supposed to disappear?

Thanks
maz


Poster: Andy
Dated: Wednesday January 21 2004 - 10:43:12 GMT

Quote:
Is that swap3d=1?


Yes, or swap3d=true will do too. Anything that isn't zero or null.

Quote:
If I use border red and 3d grays, is the border red supposed to disappear?


Probably, if you think this is wrong, let me know and I'll have a re-think about it. We are hopefully at that point with the menu where we can make these tweaks easily enough.

Cheers
Andy


Poster: Maz
Dated: Wednesday January 21 2004 - 16:55:36 GMT

I don't know what is normally expected of 3D, I have white on white so the 3D doesn't do much, therefore I thought that border red would create a different effect as you say it takes on surrounding color.

More important is menualign center 100% so that it stretches the full width and stays with the browser width. I'm adding screenposition to compensate but that doesn't stay with the browser.

Thank you,

maz


Poster: Ruth
Dated: Wednesday January 21 2004 - 20:53:34 GMT

Just my two cents as to border. It might be nice to have the option of either keeping or not keeping the border color with the 3ds.

Ruth