absolutely.

if Javascript is enabled anyway, your pages can simple create that lone object 
and provide the <body> as the container.

----- Original Message ----
From: Scott Sauyet <[EMAIL PROTECTED]>
To: jquery-en@googlegroups.com
Sent: Friday, April 27, 2007 1:04:14 PM
Subject: [jQuery] Re: jQuery Examples pack


Ariel Jakobovits wrote:
> instead of embedding the $(document).ready code in your pages, create 
> Javascript classes for each page that receive as an argument a container DIV 
> that after they make the AJAX call for the page they are responsible for, 
> they put their content into.
> 
> Then, when that's working, add a PRE-put-in-container and 
> POST-ajax-returns-successful function that gets called that does whatever the 
> $(document).ready function did.

But would this allow the embedded pages to function stand-alone as well 
as when AJAXed into the Examples page?  I *think* that's part of the goal.

   -- Scott




Reply via email to