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:16
3d border
Poster: euricog
Dated: Friday August 29 2003 - 11:21:09 BST
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.
Poster: fredlongworthhighschool
Dated: Friday August 29 2003 - 11:35:36 BST
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:
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!
Poster: euricog
Dated: Friday August 29 2003 - 15:33:05 BST
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.