Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find a good jQuery drop shadow plugin? [closed]

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.

like image 795
RedWolves Avatar asked Oct 03 '08 02:10

RedWolves


2 Answers

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.

like image 193
Sandra Avatar answered Oct 12 '22 13:10

Sandra


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.

like image 34
Travis Avatar answered Oct 12 '22 11:10

Travis