3d border

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
euricog
Beginner
Beginner
Posts: 4
Joined: Wed Aug 27, 2003 12:35 pm
Location: Madeira Island

3d border

Post by euricog »

hi again,

I'm trying to enable 3D borders but can't find any reference on how to.. or if it is supported in version 5 (as I can't see any sample with it). I've tried the high3dcolor and low3dcolor with no results whatsoever.
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

I don't think the variables you mentioned are enabled yet.

The shading is called by a filter. On your main menu you will have a line like this:

Code: Select all

myfilter = "Alpha(style=0,opacity=100);Shadow(color='#666666', Direction=135, Strength=2)";

"color" is the colour of the shading (in this case it is grey)

"direction" is the angle you want the shading to fall. 0 would be above, 90 would be directly to the right. 135 (in this case) is to the bottom right.

"strength" is how big you want the shading to be. Don't go anything over 3 as you may get to see strange results!
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
euricog
Beginner
Beginner
Posts: 4
Joined: Wed Aug 27, 2003 12:35 pm
Location: Madeira Island

Post by euricog »

thank you for trying to help, but I'm aware of how to create the drop-shadow effect...
the effect I'm trying to apply is just like the windows style scrollbar, wich has a color for the 'illuminated' side as one for the 'darker' side, creating a 3D visual effect. I managed to use it with success in version 3 by enabling the '3D border and separator' property. But it seems that you are right in wich these properties are not enabled in version 5. Or simply there's no reference on how to activate it yet.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

The 3D effect works in some browsers, I really liked the separator 3D effect too, it gave the menu depth and look solid, hope it comes back soon...

maz
Post Reply