Drop Shadow Variables

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Doubledown
Advanced
Advanced
Posts: 14
Joined: Wed May 21, 2003 11:20 pm

Drop Shadow Variables

Post by Doubledown »

I know this may seem trivial to some, but we designers can be anal about these things: are Strength, Direction & Colour the only 3 variables you can control for the drop shadow? I would like to achieve an offset of 0 for the shadow, so that it will show up around all sides of the menu. I tried throwing in "Offset=0" into the code with no success :) Does anyone know a way? Thanks for any help.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

I like text shadow that only works in Safari;)

Anyhow, can you use text=<style=color:#ffffff;>TEST</style>;

Anything that can be done is css. Like onclass="cssstylename" and offclass.

offset is used to position a menu like top="offset=3"; left="offset=3";

If you can do it in css you can make it work.

maz
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

See http://msdn.microsoft.com/library/defau ... ilters.asp at the bottom of the page for more info on the filters.
John
Doubledown
Advanced
Advanced
Posts: 14
Joined: Wed May 21, 2003 11:20 pm

Post by Doubledown »

Hey that's a handy link. Actually changing the style from a Shadow to a Glow gives closer to the desired effect. Thanks!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I played around with shadow and dropshadow used together and setting the direction or offsets in combination will give you a menu having borders around it [well, I didn't do indepth so it's only 3 sides, but you can play with direction and offX offY and get what you want, I believe]

Code: Select all

overfilter="shadow(color=#CC00CC, direction=225, strength=2);dropshadow(OffX=1, OffY=1, Color=#CC00CC, Positive=true)";
At the Filters and Transitions reference John gave it talks of using more than one together.

Ruth
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Don't forget, 99.99% of the time you'll only see your hard work on IE...
John
Post Reply