Sie sind hier:  » Tipps » Tabellen  » paragraph_table.ccml

Zur Übersicht

Tipps:

.htaccess

eMail-Adresse

Links im Text

Codeschnipsel

Codevalidierung

Druckversion

Flash

Formular 6.0

Grafiken positionieren

Animiertes Gif

JavaScripte

Multilanguage

Quicktime

Sitemap

Tabellen

Tabellen w2d 6.0

wmv valide einbinden

Farbvorschau

YouTube

Kontaktdaten

Webdesignconsult.de
39164 Wanzleben-Börde
Telefon:
039204 - 91 80 39


paragraph_table für w2d 5.0

Um den gesamten Code ansehen zu können, nutzen Sie bitte die Markierfunktion mit Hilfe der Maus.

CCML:

<cc:*>
--------------------------------------------------
Web2Date
Layout: all
Datei: paragraph_table.ccml
--------------------------------------------------
</cc:*>
<table id="tab<cc:print value="&paragraph.table.colcount"><cc:print value="&paragraph.table.rowcount">">
<cc:loop type="row" obj="myrow">
<cc:if cond="&myrow.number | 2=1">
<cc:if cond="&myrow.header"><tr class="header">
<cc:else><tr class="even">
</cc:if>
<cc:else><tr class="odd">
</cc:if>
<cc:loop type="col" obj="mycol" row="&myrow.number">
<cc:if cond="&myrow.header">
<td class="rowheader">
<cc:else><cc:if cond="&mycol.header"><td class="colheader">
<cc:else><cc:if cond="&mycol.picture"><td class="tablepic">
<cc:else>
<td class="cell"></cc:if></cc:if></cc:if>
<cc:if cond="&mycol.picture"><cc:picture uid="&mycol.picture" obj="tablepic" width="500 / &paragraph.table.colcount - 9" suffix="'cols'+&paragraph.table.colcount">
<cc:if cond="&mycol.picture.zoom.isonsite"><a href="<cc:print value="&mycol.picture.zoom.url">"><cc:printpicture obj="tablepic" suffix="'cols'+&paragraph.table.colcount" alt="&page.content.caption" title="&page.content.caption"></img></a></cc:if>
<cc:if cond="&mycol.picture.zoom.isoffsite"><a href="<cc:print value="&mycol.picture.zoom.url">"><cc:printpicture obj="tablepic" suffix="'cols'+&paragraph.table.colcount" alt="&page.content.caption" title="&page.content.caption"></img></a></cc:if>
<cc:if cond="&mycol.picture.zoom.isnone"><cc:printpicture obj="tablepic" suffix="'cols'+&paragraph.table.colcount" alt="&page.content.caption" title="&page.content.caption"></img></cc:if>
<cc:if cond="&mycol.picture.zoom.ispicture"><cc:picture uid="&mycol.picture.zoom.uid" obj="hugepic"><a rel="lightbox[<cc:print value="&page.content.caption">]" href="<cc:printpictureurl obj="hugepic">" onmouseover="return overlib('Grafik in Großansicht anzeigen?');" onmouseout="return nd(500);"><cc:printpicture obj="tablepic" suffix="'cols'+&paragraph.table.colcount" alt="&page.content.caption" title="&page.content.caption"></img></a></cc:if>
<cc:if cond="&mycol.picture.zoom.isdownload"><cc:download uid="&mycol.picture.zoom.uid" obj="mydownload"><a href="<cc:print value="&mydownload.url">"><cc:printpicture obj="tablepic" suffix="'cols'+&paragraph.table.colcount" alt="&page.content.caption" title="&page.content.caption"></img></a></cc:if>
<cc:else>
<cc:print value="&mycol.text"></cc:if></td>
</cc:loop>
</tr>
</cc:loop>
</table>
<div class="clearer"></div>
<br />



<cc:if cond="&mycol.picture"><cc:picture uid="&mycol.picture" obj="tablepic" width="500 / &paragraph.table.colcount - 9" suffix="'cols'+&paragraph.table.colcount">

Die fett markierte Codezeile ist zuständig für die Augabeformate von Bildern in Tabellen. Die Größe der einzelnen Grafiken ist abhängig von der Anzahl der Tabellenspalten.

back  Beispiele  •  CSS  more

© 2002 - 2012  W. K r a w i k   Stand: 09.03.2012