Hello Jim,

On 04/10/2013 14:26, Jim MacFarlane wrote:
> How do you use typoscript to embed a javascript function into the page
> headers?

You got several ways, all through your main PAGE [1] cObject.
The easiest being:
--
page.jsInline {
  10 = TEXT
  10.value (
/*
Some inline js code
several lines long.
*/
  )
}
--

Although you will need to look whether or not your sites PAGE cObject is
called 'page'. Properties are also explained in the reference [1].


Kind regards
Stefan

[1] http://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Page/Index.html
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to