Not seen a plugin that does this yet. Would try it myself, but not
sure how to do so (even after looking at existing implementations).
Anyone up for a challenge?
Syntax could be something like this
$("#mydiv").gradientFill(
{
from: "background",
to: "#fff",
direction: "vertical"
}
)
Would go from the background colour of #mydiv to white, in a vertical
direction. Or you could specify a different start colour and
direction:
$("#mydiv").gradientFill(
{
from: "#000",
to: "#fff",
direction: "horizontal"
}
)
Something like this:
http://www.designdetector.com/demos/css-gradients-demo-1.php , but the
markup would be generated dynamically.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/