[TYPO3-english] external Javascript with includeJS

Philipp Gampe phil at philippgampe.info
Mon Mar 8 16:56:07 CET 2010


Am 08.03.2010, 16:51 Uhr, schrieb Lamb, Brian <blamb at jcvi.org>:
> Greetings,
> I have a need to load an external JavaScript file. Can this be done with  
> includeJS? I tried:

> page.includeJS {
>   file1 = http: <http://www.someothersite.com/random.js>  
> //www.someothersite.com/random.js
>   file1.type = text/javascript
     external = 1
> }

RTFM  
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.4.0/view/1/6/#id2516046


-- 
Philipp Gampe
http://www.philippgampe.info


More information about the TYPO3-english mailing list