<$ var cssClass = article.cssClass || ""; var inlineCss = article.inlineCss || ""; if ( cssClass ) {cssClass = "wzp-pos-text " + cssClass;} else {cssClass = "wzp-pos-text";} if ( inlineCss ) {inlineCss = ' style="' + inlineCss + '"';} var Breite = article.value('breite', ''); var PosAbsFix = article.value('pos-abs-fix', ''); var Vert = article.value('vertical', ''); var Hor = article.value('horizontal', ''); var zInd = article.value('zindex', ''); var ColorHg = article.value('color-hg', ''); var PaddingT = article.value('padding-t', ''); var PaddingR = article.value('padding-r', ''); var PaddingU = article.value('padding-u', ''); var PaddingL = article.value('padding-l', ''); var BordCorner = article.value('bord-corner', ''); var BordPx = article.value('bord-px', ''); var BordCol = article.value('bord-col', ''); var BordStil = article.value('bord-stil', ''); var cssselector = '.WZP-Artikel_' + article.id + '.wzp-pos-text '; var headstyle = ""; if ( Breite !== "" ){headstyle += cssselector + "{max-width: " + Breite + "px !important;}\n";} if ( PosAbsFix !== "" ){headstyle += cssselector + "{position: " + PosAbsFix + " !important;}\n";} if ( Vert !== "" ){headstyle += cssselector + "{bottom: " + Vert + "px !important;}\n";} if ( Hor !== "" ){headstyle += cssselector + "{left: " + Hor + "px !important;}\n";} if ( zInd !== "" ){headstyle += cssselector + "{z-index: " + zInd + " !important;}\n";} if ( ColorHg !== "" ){headstyle += cssselector + "{background-color: " + ColorHg + " !important;}\n";} if ( PaddingT !== "" ){headstyle += cssselector + "{padding-top: " + PaddingT + "px !important;}\n";} if ( PaddingR !== "" ){headstyle += cssselector + "{padding-right: " + PaddingR + "px !important;}\n";} if ( PaddingU !== "" ){headstyle += cssselector + "{padding-bottom: " + PaddingU + "px !important;}\n";} if ( PaddingL !== "" ){headstyle += cssselector + "{padding-left: " + PaddingL + "px !important;}\n";} if ( BordCorner !== "" ){headstyle += cssselector + "{border-radius: " + BordCorner + "px !important;}\n";} if ( BordPx !== "" ){headstyle += cssselector + "{border-width: " + BordPx + "px !important;}\n";} if ( BordCol !== "" ){headstyle += cssselector + "{border-color: " + BordCol + " !important;}\n";} if ( BordStil !== "" ){headstyle += cssselector + "{border-style: " + BordStil + " !important;}\n";} system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$ var Break1 = article.value("break-1",""); var Breite1 = article.value('breite1', ''); var PosMob1 = article.value("pos-mob-1",""); var VertMob1 = article.value("vert-mob-1",""); var HorMob1 = article.value("hor-mob-1",""); var AusblMob1 = article.value("ausbl-mob-1",""); var ZindexMob1 = article.value("zindex-mob-1",""); var headstyle = '@media (max-width: ' + Break1 + 'px) {'; headstyle += '.WZP-Artikel_' + article.id + '.wzp-pos-text {'; headstyle += 'max-width: ' + Breite1 + 'px !important;'; headstyle += 'position: ' + PosMob1 + ' !important;'; headstyle += 'bottom: ' + VertMob1 + 'px !important;'; headstyle += 'left: ' + HorMob1 + 'px !important;'; headstyle += 'display: ' + AusblMob1 + ' !important;'; headstyle += 'z-index: ' + ZindexMob1 + ' !important;'; headstyle += '}'; headstyle += '}'; system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$ var Break2 = article.value("break-2",""); var Breite2 = article.value('breite2', ''); var PosMob2 = article.value("pos-mob-2",""); var VertMob2 = article.value("vert-mob-2",""); var HorMob2 = article.value("hor-mob-2",""); var AusblMob2 = article.value("ausbl-mob-2",""); var ZindexMob2 = article.value("zindex-mob-2",""); var headstyle = '@media (max-width: ' + Break2 + 'px) {'; headstyle += '.WZP-Artikel_' + article.id + '.wzp-pos-text {'; headstyle += 'max-width: ' + Breite2 + 'px !important;'; headstyle += 'position: ' + PosMob2 + ' !important;'; headstyle += 'bottom: ' + VertMob2 + 'px !important;'; headstyle += 'left: ' + HorMob2 + 'px !important;'; headstyle += 'display: ' + AusblMob2 + ' !important;'; headstyle += 'z-index: ' + ZindexMob2 + ' !important;'; headstyle += '}'; headstyle += '}'; system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$ var Break3 = article.value("break-3",""); var Breite3 = article.value('breite3', ''); var PosMob3 = article.value("pos-mob-3",""); var VertMob3 = article.value("vert-mob-3",""); var HorMob3 = article.value("hor-mob-3",""); var AusblMob3 = article.value("ausbl-mob-3",""); var ZindexMob3 = article.value("zindex-mob-3",""); var headstyle = '@media (max-width: ' + Break3 + 'px) {'; headstyle += '.WZP-Artikel_' + article.id + '.wzp-pos-text {'; headstyle += 'max-width: ' + Breite3 + 'px !important;'; headstyle += 'position: ' + PosMob3 + ' !important;'; headstyle += 'bottom: ' + VertMob3 + 'px !important;'; headstyle += 'left: ' + HorMob3 + 'px !important;'; headstyle += 'display: ' + AusblMob3 + ' !important;'; headstyle += 'z-index: ' + ZindexMob3 + ' !important;'; headstyle += '}'; headstyle += '}'; system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$ var Break4 = article.value("break-4",""); var Breite4 = article.value('breite4', ''); var PosMob4 = article.value("pos-mob-4",""); var VertMob4 = article.value("vert-mob-4",""); var HorMob4 = article.value("hor-mob-4",""); var AusblMob4 = article.value("ausbl-mob-4",""); var ZindexMob4 = article.value("zindex-mob-4",""); var headstyle = '@media (max-width: ' + Break4 + 'px) {'; headstyle += '.WZP-Artikel_' + article.id + '.wzp-pos-text {'; headstyle += 'max-width: ' + Breite4 + 'px !important;'; headstyle += 'position: ' + PosMob4 + ' !important;'; headstyle += 'bottom: ' + VertMob4 + 'px !important;'; headstyle += 'left: ' + HorMob4 + 'px !important;'; headstyle += 'display: ' + AusblMob4 + ' !important;'; headstyle += 'z-index: ' + ZindexMob4 + ' !important;'; headstyle += '}'; headstyle += '}'; system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$=system.partial("article-begin.html")$>
<$= article.value("text") $>
<$ if ( system.preview ) { $>

Position Text

Hier können Sie das Widget öffnen oder löschen. Dieser Hinweis wird nur in der internen Vorschau angezeigt.

<$ } else { $> <$ } $> <$=system.partial("article-end.html")$>