[TYPO3-german] xhtml_cleaning macht Javascript kaputt...

Mike Ritter news_ritter at yahoo.de
Wed Feb 8 18:25:04 CET 2006


Alexander Bohndorf schrieb:
> Ich habe folgendes Javascript, welches über Typoscript ausgegeben wird:
> 
>             document.write('<scr' + 'ipt language="VBScript"\>\n'); //FS 
> hide this from IE4.5 Mac by splitting the tag
>             document.write('on error resume next \n');
>             document.write('MM_FlashCanPlay = ( 
> IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & 
> MM_contentVersion)))\n');
>             document.write('</scr' + 'ipt\> \n');

Sehe ich das richtig, dass Du mit diesem Script prüfst, ob das 
Flashplugin beim Client installiert ist, und wenn ja, dann generiert es 
einen Film in die Seite?
Warum VBscript? Warum "language" statt korrekt "type"?
Warum bindest Du den Film nicht direkt in die Seite ein, sondern machst 
das so umständlich?



More information about the TYPO3-german mailing list