Thanks Mike

I suspect its an issue of ordering between the application of css styles
and the document.ready() function. As you say the event does fire
reliably, but the effects are sometimes applied and sometimes not.

Anyways, $(window).load(...) fixes this specific problem.

--Jacob

>> Sometimes it shows the blue background and the corners, sometimes not.
>> Try
>> reloading the document several times, to see the problem.
>
> Hmm, that does indeed seem to be a 'ready' problem, or more accurately
> an Opera 9 problem.  It works correctly in Opera 8.  And the ready
> event fires correctly in Opera 9 (confirmed with alert).  If I change
> $(document).ready(...) to $(window).load(...) or it I use setTimeout()
> then it works every time in Opera 9.  Weird.
>
> By the way, that's an older version of the corner plugin that you're
> using.  You can get the updated version here:
> http://methvin.com/jquery/jq-corner.js
>
> Mike
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to