[TYPO3-english] Re: Include JS code in body

Marc Grümmert mg at noted.de
Thu Jan 23 20:10:03 CET 2014


Use page.footerData

page.footerData {
	10 = TEXT
	10 {
		value (
			<script type="text/javascript">
				// Load the classic theme
				Galleria.loadTheme('galleria.classic.min.js');

				// Initialize Galleria
				Galleria.run('#galleria');
			</script>
		)
	}
}


More information about the TYPO3-english mailing list