From: Bennett McElwee <bennettmcel...@gmail.com>
Date: Sun, 05 Aug 2007 22:15:39 -0000
Local: Sun, Aug 5 2007 6:15 pm
Subject: Re: New event: elementReady
On Aug 1, 12:22 am, "Brandon Aaron" <brandon.aa...@gmail.com> wrote:
> I believe there are two different trains of thought in this thread. Yes. The behaviour plugin is an excellent piece of software, but it does not address the problem I posted about. > The Exactly. Here's the documentation for the Yahoo UI version of this, > original thread starter is [...] talking about an event to fire before > document ready. An event that will fire once a single element and/or its > contents are available. which does just what I want: static void onAvailable ( p_id , p_fn , p_obj , p_override ) The callback is executed with a single parameter: the custom object Parameters: Returns: void > I thought about writing this a while back but Here's a simple example of where jQuery.ready is insufficient. A large- > document ready has suited my needs and I just haven't found the time. ish page (50kb) uses jQuery.ready to add rounded corners to the header at the top of the page. The title displays straight away with square corners; then the rest of the page loads (a delay of a second); then jQuery.ready fires and the corners abruptly become rounded. If we rounded the corners as soon as the header was available then the user experience would be smoother. Another poster was worried about poor performance if the technique is Cheerio, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||