views:

18368

answers:

7

Does anyone have a good recommendation for a drop shadow jQuery plugin?

I've been working on a project that had every element on the page with a subtle drop shadow, we started using RUZEE to do the shadows but there was a severe performance hit when you had more then 4 or 5 shadows being calculated on the page.

I went to writing my own plugin, I call it simple shadow and it only uses jQuery to inject images in floating div's around the div you want a drop shadow. Nothing elegant but for the purpose of completing that site it worked without performance hits.

Now my plugin isn't anything special but I am still in search for a good light weight shadow plugin.

+13  A: 

I found the "eyebulb dropshadow" plugin (link now dead folks) today, i really like it.

Alternative links

John Boker
whoa I like how it has the shadow behind the gear like that...that is cool.
RedWolves
yeah it is kinda awesome
John Boker
its kinda broken though. if user resizes text the shadows do not follow.
Craig
This plugin seems to bog down the browser too.
Ryan McGeary
Domain is currently down..
corymathews
This website expired ...
Amr ElGarhy
A: 

jQuery UI also provides drop shadow functionality.

Nick Sergeant
I was aware of this plugin. the last time I checked it it still needed work. But the last I heard it was dropped out of the official UI release. Was it added back in?
RedWolves
+1  A: 

The JQuery UI no longer supports shadow functionality.

+1  A: 

try the FontEffect jQuery Plugin, sorry I can't post the link, but you can find it easily on google or jQuery plugin site.

It would appear that this works for text but not for DIVs. Any ideas?
humble_coder
+5  A: 

The original site hosting the jQuery Dropshadow plugin has apparently gone down.

For anyone looking for it, I'm currently hosting it on my Dropbox account.

T Pops
+5  A: 

CSS 3 will support drop shadow. Firefox and Safari are already supporting the feature.

You might want to use that instead of the jQuery functionality, since it will run in browsers who have turned off javascript.

Take a look at http://www.css3.info/preview/box-shadow/ for a demo of the shadow.

Sandra
Unfortunately, for most of us, that's not enough - IE is still the big market (for most sites).
Paddy