$('#animationbox').css('borderColor') looks at the style property of
the object not the css in the document, so if it's only in your css
you get no value.

To get your desired effect you either need to initialise it with
javascript
$('#animationbox').css('borderColor' '#444')
or set it specifically to the element within the html
<p id='animationbox' style='border-color:#444'>blah</p>

Hope that makes sense

On Jul 16, 2:57 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> However, if I type$('#animationbox').css('borderColor') in Firebug
> console BEFORE I trigger the animation, it returns nothing. If I do
> so AFTERWARDS, it returns: "rgb(204, 204, 204) rgb(204, 204, 204) rgb
> (204, 204, 204) rgb(204, 204, 204)", which corresponds to the rgb
> values of border-top, border-right, etc.

Reply via email to