<$ var ContAbstOU = article.value("contAbstOu",""); var BildBr = article.value("bildbr",""); var BildAbstRL = article.value("bildAbstRl",""); var headstyle = ""; headstyle += '.scroller' + article.id + ' {'; headstyle += 'display:none;'; headstyle += ' margin:' + ContAbstOU + ' 0;'; headstyle += '}\n'; headstyle += '.scroller' + article.id + ' img {'; headstyle += 'vertical-align:middle;'; headstyle += ' border:none !important;'; headstyle += ' border-radius:0 !important;'; headstyle += ' box-shadow:none !important;'; headstyle += ' width:' + BildBr + 'px;'; headstyle += '}\n'; headstyle += '.scroller_item' + article.id + ' {'; headstyle += ' margin:0 ' + BildAbstRL + ';'; headstyle += '}\n'; system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$ if ( article.value('vollebreite') == "1" ){ var myClassName = "zpBreakout"; } else{ var myClassName = ""; } $> <$=system.partial('article-begin.html', myClassName)$>
<$ for ( var i = 1; i <= article.value("header-count"); i++){ var image = project.getImage(article.value("bild-" + i)); if ( isNull(image) ){ continue; } var altText = system.htmlEncode(system.removeHtmlTags(image.altText)); var beschreibung = image.description; var title = system.htmlEncode(system.removeHtmlTags(image.description)); var imgsrc = image.workingCopyPath; if (BildBr) { image.ensureContentCopy(article, BildBr); imgsrc = image.contentCopyPath; } var linkname = "link-" + i; $> >
<$= altText $>
<$ } $>
<$=system.partial("article-end.html")$>