[TYPO3] Typoscript to wrap FCE -Element?

Tolleiv Nietsch info at tolleiv.de
Tue Aug 28 16:10:47 CEST 2007


Hi,
i have a simple HTML-structure like

<div id="xxx"><h3>Headline</h3><p>Text...</p></div>

mapped as FCE in TemplaVoila.
I also have a checkbox-field  (field_checkme) within the FCE fields if 
this field is checked i need to prepend a Javascript Block to the end of 
the FCE -
How can this be done i found no solution to use TypoScript for that 
case...any ideas?

The resulting output could look like this:
<div id="fce001"><h3>Headline</h3><p>Text...</p></div><script 
type="text/javascript"> fadeIn('fce001'); </script>

Regards
Tolleiv


More information about the TYPO3-english mailing list