[TYPO3] curly-brackets in TEXT object

Ries van Twisk typo3 at rvt.dds.nl
Wed Apr 18 14:39:02 CEST 2007


Hey,

I have never seen problems with {} can you check
if it's not todu or the HTML cleaner that corrupts your HTML?
Alternative you can try to put your <script> in cdata tags.

Ries

> Hi
> I need to use UFO javascript to load swf mowie.
> Is there any solutions to ignore particular curly-brackets
>
> temp.flash = COA
> temp.flash {
> 10= TEXT
> 10.value = {page:uid}
> 10.insertData = 1
> 10.wrap (
> <div id="flashmenu"></div>
> <script type="text/javascript">
> var FO = { movie:"fileadmin/flash/menunew.swf", width:"295",  
> height:"845",
> majorversion:"8", menu:"false", wmode:"opaque",
> flashvars:"link=fileadmin/flash/&id=|" };
> UFO.create(FO, "flashmenu");
> </script>
> )
> }
>
> above temp object produces following output in html
>
> <script type="text/javascript">
> var FO = " };
> UFO.create(FO, "flashmenu");
> </script>
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

-- 
Ries van Twisk
Freelance Typo3 Developer
email: ries at vantwisk.nl
web:   http://www.rvantwisk.nl/
skype: callto://r.vantwisk






More information about the TYPO3-english mailing list