[Typo3] javascript insertion
Tyler Kraft
headhunterxiii at yahoo.ca
Sat Nov 19 15:51:22 CET 2005
> What can I do with page.headerData to insert javascript in head?
Ummm where do we begin?! Did you look at TSref? I can only assume no.
TSref - A KEY PIECE OF DOCUMENTATION FOR TYPO3
page - the section of refernce in TSref that you are looking at
headerData - the piece of vitale information you are looking for, under
the PAGE section of TSref
;-)
in your template setup put:
page.headerData.10 = <script type="text/javascript"
language="javascript" src=""></script>
hth
Philippe Kunz wrote:
> Hi
>
> thank you, but I'm dummy, I've not understand your explication.
> What can I do with page.headerData to insert javascript in head?
>
> thank you
> Philippe
>
> look at tsref for
>
> page.headerData
>
> tahst what your looking for i believe
>
>
> Philippe Kunz wrote:
>
>>Hello,
>>
>> I try to insert Javascript code in a file javascr.js in my
>
> template beetwen <head> </head>
>
>> But if I insert directly in hard code it's deleted by typo script.
>>
>> There is an other way certainly, but wich one?
>>
>> thank you for your help
>> Philippe
>
>
>
>
>
> ---------------------------------
> Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
> Téléchargez le ici !
More information about the TYPO3-english
mailing list