Lift's changed up to send stuff via separate files rather than inline on the
page.
On Fri, Sep 26, 2008 at 2:40 PM, Charles F. Munat [EMAIL PROTECTED] wrote:
Daniel Green wrote:
Is there an easy way to make this download as a separate .js file
instead of inline? Or to suppress it if I'm
Is there an easy way to make this download as a separate .js file
instead of inline? Or to suppress it if I'm not using AJAX at all?
Having it inline decreases the number of requests the browser must make.
On Fri, Sep 26, 2008 at 4:38 PM, Charles F. Munat [EMAIL PROTECTED] wrote:
In my HTML
Charles F. Munat wrote:
In my HTML output there is a script that begins:
// ![CDATA[
var lift_ajaxQueue = [];
var lift_ajaxInProcess = null;
var lift_ajaxShowing = false;
var lift_ajaxRetryCount = 3
Is there an easy way to make this download as a separate .js file
instead of inline?
Daniel Green wrote:
Is there an easy way to make this download as a separate .js file
instead of inline? Or to suppress it if I'm not using AJAX at all?
Having it inline decreases the number of requests the browser must make.
True. But that's one hit and then it's cached. Putting it in the
David Pollak wrote:
BTW, the script element on this script needs a type=text/javascript
attribute or it fails validation.
What validator?
The W3C validator for XHTML:
http://validator.w3.org/
BTW, if you use Firefox you can add the Web Developer Plugin: