[TYPO3-mvc] Date examples, can't find any.

Martin Kutschker masi-no at spam-typo3.org
Thu Jan 14 21:01:24 CET 2010


Nathan Lenz schrieb:
> 
> <f:javascript src="myjsfile/bla.js" location="head" />
> 
> Would just add it into the <head> tag.
> 
> <f:javascript src="blalla/foot.js" location="bottom" />
> 
> Would put it into the very bottom of the page.  Not sure if this is
> possible without  modifying the layout to include it before </body>

Hm. Loading JS files within the template doesn't sound great. I thought that this could be done even
more magically so that the template author hasn't to worry about JS file inclusion at all. I'm
speaking of the FLUID widget package.

If I really need to load JS files directly I need to know what I'm doing. I don't see why a template
engine should help you with that and not a JS framework.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list