Re: Output loadJS content before closing body tag (feature request)

Justin Carter <[email protected]> Tue, 11 Feb 2014 07:42:03 +1100
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <CAMLJQfv1UzcH9kLQwaeOxML7Hqgb72D7__X3Uzmed0xcnAvqOg@mail.gmail.com>
I've been wanting to do this for core except there is a bunch of code that
is injected using skin:onReady and skin:htmlHead that relies on having
jQuery already loaded in the head, so we also need a way to shift that code
to the footer (but below the tags which load scripts). I don't think I'll
have time to do this for 7.0, so probably 7.1.

At the moment we have some sites where we place the JS in the footer
manually, without using loadJS, and it's not too inconvenient if your front
end just uses a couple of JS files, but may be a hassle if you use more
than that.

cheers,
Justin
On 11/02/2014 7:26 AM, "Jeff Coughlin" <[email protected]> wrote:

> Now that everything has been going html5 and people are pushing for faster
> load times (especially with mobile website support), one feature FarCry
> could really use is the ability to output loadJS content before the closing
> body tag.  This can be done simply by saving the data to a request variable
> and giving us the option to either output it in the head block (current way
> it works) or use the request variable content wherever we want.
>
> Can I get any +1 votes on this? :)
>
> https://farcry.jira.com/browse/FC-2852
>
> --
> Jeff Coughlin
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: farcry-dev-/[email protected]
> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
> ---
> You received this message because you are subscribed to the Google Groups
> "farcry-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/groups/opt_out.