loadJS and loadCSS set values in request.inHead for each libray to load.

request.inHead is then processed as part of the onRequestEnd to then load 
the css and js in the head using cfhtmlhead.

So if you need to load js in the bottom of the page rather than the head, 
you would have to stop using loadJS and manually set the js in the footer

An option that might work is to copy the functionality that onRequestEnd 
does into your footer and output the js instead of loading it using 
cfhtmlhead. You would then also want to remove the entries from 
request.inHead for any js that you load in the footer so they are not 
duplicated in the head.

Chris.

On Tuesday, 19 June 2012 11:11:44 UTC+1, Phillip R wrote:
>
> Is there a way to use loadjs and have it rendered at the bottom of the 
> page?
> Anyone have any suggestions.
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to