JQuery - drop shadow plugin. Custom color

Posted by Ockonal on Stack Overflow See other posts from Stack Overflow or by Ockonal
Published on 2009-12-04T00:35:07Z Indexed on 2010/03/31 18:53 UTC
Read the original article Hit count: 691

Filed under:
|
|
|

Hello, I'm using Jquery plugin DropShadow: web site

And I want to set drop shadow color manually.

Color is specified in the usual manner, with a color name or hex value. The color parameter does not apply with transparent images.

From documentation, so, here is my code:

{
   ...
   color: "black",
   swap: false
}

It works perfect, with '#000' against 'black' it works too... But if I need shadow color, for example, red '#fff000' plugin doesn't work. I don't see any shadow. Why?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about plugin