[jQuery] Plugin idea: Gradient Fill

[jQuery] Plugin idea: Gradient Fill

You'd also need to include directionality.
<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
andy@icglink.com
615.370.1530 x737
--------------//--------->
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On
Behalf Of Sam Collett
Sent: Tuesday, August 08, 2006 7:55 AM
To: jQuery Discussion.
Subject: [jQuery] Plugin idea: Gradient Fill
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
discuss@jquery.com
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/














































    • Topic Participants

    • andy