colorBlend! Color fading plugin. -


未知
未知

软件简介

Based on the fade anything plugin, I wanted something a little more robust.
This plugin accepts a javascript array of parameter objects.
current version is always available here:
http://www.happinessinmycheeks.com/colorBlend
The current version is 1.5.0

Example:

$("body").colorBlend([{fromColor:"black", toColor:"white", param:"color"}]); var myColors = [ {param:"color", fromColor:"white", toColor:"black"}, {param:"background-color", random: true, alpha:"10,90"}, {param:"border-left-color", fromColor:"random", toColor:"black"}, {param:"border-right-color", fromColor:"white", toColor:"black"}, {param:"border-top-color", fromColor:"white", toColor:"black"}, {param:"border-bottom-color", fromColor:"white", toColor:"tomato"} ]; $("tr").colorBlend(myColors);