[TYPO3-templavoila] desgin/mapping-question

kleinerChemiker kleinerChemiker at web.de
Sat Apr 8 12:56:07 CEST 2006


My menu looks like that:

<div class="menu1">
	<div class="menu1_1_start"></div>
		<div class="menu1_1"><a href="Allgemeines.3.0.html" onfocus="blurLink(this);">Allgemeines</a></div>
		<div class="menu1_2"><a href="Seite-1.5.0.html" onfocus="blurLink(this);">Seite 1</a></div>
		<div class="menu1_2"><a href="Seite-2.4.0.html" onfocus="blurLink(this);">Seite 2</a></div>
	<div class="menu1_1_ende"></div>
	<div class="menu1_1_start"></div>
		<div class="menu1_1"><a href="Spezielles.8.0.html" onfocus="blurLink(this);">Spezielles</a></div>
	<div class="menu1_1_ende"></div>
</div>

the menu is mapped as div.menu1/inner and created by TS.

i would like to change the part above to:

<div class="menu1">
	<div class="menu1_1_start"></div>
		<div class="menu1_1"><a href="Allgemeines.3.0.html" onfocus="blurLink(this);">Allgemeines</a></div>
		<div class="menu1_2"><a href="Seite-1.5.0.html" onfocus="blurLink(this);">Seite 1</a></div>
		<div class="menu1_2"><a href="Seite-2.4.0.html" onfocus="blurLink(this);">Seite 2</a></div>
	<div class="menu1_1_ende"></div>
	<div class="menu1_1_start"></div>
		<div class="menu1_1"><a href="Spezielles.8.0.html" onfocus="blurLink(this);">Spezielles</a></div>
	<div class="menu1_1_ende"></div>
	<div id="leftcontent"></div>
</div>

i would like to replace "<div id="leftcontent"></div>" with "<div class="menu1_1_start"></div>CONTENT<div class="menu1_1_ende"></div>" where CONTENT is of course the contentelement(s) from the pagemodul. but how can i wrap the CONTENT with the 2 div's (<div class="menu1_1_start"></div>,<div class="menu1_1_ende"></div>)? Not all contentalements together, but every contentelement should be wraped and its possible that there is no contentelement.

i hope, i could describe my problem well with my limited english knowledge

tia

mik



More information about the TYPO3-project-templavoila mailing list