On Jan 7, 2008 10:27 AM, cmbg <[EMAIL PROTECTED]> wrote:
> I have a large javascript (maybe 30KB) files and one of things that I
> want the browser to execute these files last so I put the
> $scripts_for_layout at the bottom of my default layout.  The problem
> I've run into is I also have custom css for certain views, now the css
> also prints outside of the head tag, which then causes the styles to
> be applied last.

Why do you want the javascript to be executed last?

-- 
Chris Hartjes
Internet Loudmouth
Motto for 2008: "Moving from herding elephants to handling snakes..."
@TheKeyBoard: http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to