I just figured out that Opera 9 thing. For some reason Opera 9 seems to want the <link> tag to come before the script tags. It seems to be loading the styles asynchronously and that is causing a problem for the corner plugin (I think the styles are getting applied after we've munged the dom). If you move the link tag up then all is well and you can go back to using $(document).ready().
Mike On 11/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 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 > > discuss@jquery.com > > http://jquery.com/discuss/ > > > > > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/