[TYPO3-english] initializing facebook javascript from main page sdk for iframe autoresizing

Steffen Kamper info at sk-typo3.de
Thu Mar 10 12:59:18 CET 2011


Hi,

Am 09.03.2011 20:16, schrieb Philipp Gampe:
> siddhant tewari wrote:
>
>> Please tell where should i put this code as i cannot figure out how to
>> add ones own javascript functions inside typo3.
>
> In you TypoScript template:
>
> page.includeJS.facebook (
>    code without<script>  tags
> )
>

that's wrong - it's used for files.
use page.jsInline instead
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.2/view/1/6/#id2516276

vg Steffen



More information about the TYPO3-english mailing list