[TYPO3-english] js doesnt work after template autoparser renders page

Thijs Hakkenberg thijs at hakkenberg.com
Mon Jun 14 12:32:44 CEST 2010


I've included the files in the TS template:

page.includeJS {
file1=fileadmin/template/2010/js/jquery-1.4.1.min.js
file2=fileadmin/template/2010/js/jquery.jcarousel.pack.js
file3=fileadmin/template/2010/js/jquery-func.js
file4=fileadmin/template/2010/js/dynamiclayout.js
}

but it still doesn't work. Maybe the scripts are conflicting with one 
another?


On 13-6-2010 20:17, Jacco van der Post wrote:
> To include js you can use page.includeJS in ts. Via the HTML template 
> should also work, but not elegant solution imo. You could also use T3 
> Jquery extension if you want to use more jQuery extensions or functions.
>
> grtz jacco
>
>
> Op 13-6-2010 19:51, Thijs Hakkenberg schreef:
>> Dear list,
>>
>> I've got a template with an <ul> 'switcher':
>> http://kunstomhetlijf.nl/fileadmin/template/2010/index.html
>> but, it doesn't work anymore when it's parsed:
>> http://kunstomhetlijf.nl/index.php?id=171
>>
>> Do I have to add javascripts another way instead of including them in
>> the template?
>>
>> Regards,
>>
>> Thijs
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list