You need to include jQuery UI (ui.jquery.com) to have these kind of
transitions available.

http://docs.jquery.com/UI/Effects/ColorAnimations

On Dec 27, 4:49 am, Nikola <nik.cod...@gmail.com> wrote:
> Hello,
>
> I am trying to animate a color change for the top and right borders of
> an element.
>
> A) In Firefox the border size is animated but the color change is not
> on the first hover only.  After that the border color changes as
> though you were affecting it via a pseudo class in CSS.
>
> B) Behavior in IE7 varies.  In some cases animating a "borderSide"
> breaks the code altogether. In the minimal case I'm providing the top
> border changes color without animation and there is no effect on the
> right border.
>
> It would be great to be able to animate individual border sides.  In
> addition it would be great to control what aspect of the border we
> wish to animate, just the size, size and color, just the color etc..
> Animating individual border colors can be very useful...
>
> MINIMAL TEST CASE:  http://paste.pocoo.org/show/96878/
>
> Thanks,
> Nikola

Reply via email to