adding a drop shadow in FireFox?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
bduenskie
Advanced
Advanced
Posts: 14
Joined: Mon Jun 25, 2007 7:01 pm

adding a drop shadow in FireFox?

Post by bduenskie »

I noticed that the code to create a drop shadow for a menu doesn't work in FireFox. Here is my code:

Shadow(color='#777777', Direction=135, Strength=5)

Is there anyways to add a shadow in a non IE browser?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: adding a drop shadow in FireFox?

Post by Ruth »

Hi,

Those codes are IE specific based on the IE Transitions and Filters set up. Something to do with active x or direct x or whatever it's called.

I think the only way you'd get that in other than IE would be to do something for drop shadow in css, if there is any kind of css code to do that. The other option would be to use css and background images and position for the items.

Just for info, if you want to see what else you can do for the IE Filters, there is an interactive demo here that let's you experiment with different filters and transitions

http://support.milonic.com/demos/filters/index.htm

Ruth
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: adding a drop shadow in FireFox?

Post by Ruth »

I just found some other info on this and css. I understand from that, that css3 is going to have things like rounded corners and drop shadows.

There is a post about doing it with css2 using images, the problem is that you would have to set it up to use the images on each item, so that means the top and middle items would use only the bgimage and it's position that shows the shadow on the right, then the bottom item would have the bgimage and position setup that uses the bottom and right shadow. If you can give me the info on your menu, I can set up something to show you. You would then eliminate the shadow from the filters since you wouldn't want an extra shadow to show in IE.

http://www.w3.org/Style/Examples/007/roundshadow.html

Ruth
bduenskie
Advanced
Advanced
Posts: 14
Joined: Mon Jun 25, 2007 7:01 pm

Re: adding a drop shadow in FireFox?

Post by bduenskie »

Thanks for your replies Ruth, I appreciate it.
Post Reply