Hi Sean,

This is what i have in my displayHeader.cfm:

<skin:loadCSS baseHref="#application.url.webroot#/css" Lfiles="/
general.css,/grid.css"/>
<skin:loadCSS baseHref="#application.url.webroot#" Lfiles="/SpryAssets/
SpryTabbedPanels.css,/SpryAssets/SprySlidingPanels.css,/SpryAssets/
SpryCollapsiblePanel.css,/SpryAssets/SpryTooltip.css,/SpryAssets/
SprySlidingPanels.css,/SpryAssets/SpryAccordion.css"/>
<skin:loadJS baseHref="#application.url.webroot#" lFiles="/SpryAssets/
SpryCollapsiblePanel.js,/SpryAssets/SprySlidingPanels.js,/SpryAssets/
SpryTabbedPanels.js,/SpryAssets/SpryTooltip.js,/SpryAssets/
SprySlidingPanels.js,/SpryAssets/SpryAccordion.js,/js/common.js,/js/
swfobject_modified.js"/>

Do i need to upgrade core to 6.0.11?
Also could you please tell me how to include this into
_serverSpecificVars.cfm and get rid of jQuery calls on frontend pages.
Definitely i understand that they need to be included into webtop, but
they are adding additional 250K to page size.

Thanks,
Mika

On Apr 12, 6:54 pm, Sean Coyne <[email protected]> wrote:
> First I would suggest you find a more reasonable host, but in the meantime
> you can look at the loadJs tag in the webskin tag library
> (/farcry/core/tags/webskin/loadJs.cfm).  There is a new attribtute
> called lCombineIDs that will let you combine them (You may need to upgrade
> core).
>
> Then in your _serverSpecificVars.cfm you could override FarCry's jQuery and
> other Javascript file configurations and load them in a single combined file
> rather than in several combined files.
>
> You will probably also want to use loadJs and loadCSS to load your own
> javascript and css files.  Not only will it ensure that your javascript and
> css files are loaded in the proper order, it can compress and combine the
> files to reduce size and number of connections needed.
>
> You should know that FarCry will load various JS and CSS files for different
> pieces it needs, especially on the webtop side.

-- 
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