[TYPO3-dev] add Javascript function
Johnny Peck
johnny at slipcasemedia.com
Thu Feb 16 04:10:05 CET 2006
Thomas Mammitzsch wrote:
> Hi List,
>
> i need to add some javascript functions for my fe-plugin to the html
> head. i crawled all api docs but haven't found how to.
> It would be great, if someone can tell me how to do this or where i find
> documentation about it.
>
> best regards, Thomas
Thomas,
I know it resembles something like
$GLOBALS['TSFE']->additionalHeaderData = '<script type="text/javascript"
src="your/source/"></script>'; ...etc...
also there is a function additionalJavaScript() im sure. Check out the
API for those here -> http://typo3.org/fileadmin/typo3api-3.8.0/
Sorry for being so vague.. not much time unfortunately. Hope it helps
anyway.
Regards,
Johnny
More information about the TYPO3-dev
mailing list