[TYPO3-templavoila] How to have content after DIV or in DIV but with no content deletion

Dmitry Dulepov typo3 at accio.lv
Tue Jul 18 11:39:27 CEST 2006

"Pawe���������������������������������" wrote:

Please, do not start your text from "--". Thunderbird thinks it is a 
signature and does let to quote it :(

> <div id="menu">
>     <div id="menu1"></div>
>     <div id="menu2"></div>
> </div>
> <script type="text/javascript">

Put /*<[CDATA[*/ here

>     var menu = new FlashObject("index.swf", "menu", "100", "100", "6.0.0");
>     menu.addParam("quality", "high");
>     menu.addParam("menu", "true");
>     menu.write("menu");

Put /*]]>*/ here.

> </script>
> Is it possible to do this with TemplaVoila?

I do not understand the problem :(

> Second question is how to put my js into DIV (just after the div line) but 
> without TemplaVoila deleting the content:

If you map "menu" as INNER, TV will always replace content. Personally I 
would make lib.flashMenu a COA and add JS code inside COA. Something like:

lib.flashMenu = COA
lib.flashMenu {
   10 = HTML
   10.value (
<script type="text/javascript">
   20 = ....

or even move JS to a separate file if possible.

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)

More information about the TYPO3-project-templavoila mailing list