<$ var PosO = article.value("pos-oben",""); var PosL = article.value("pos-links",""); var zIndex = article.value("z-index",""); var Geschw = article.value("geschw",""); var lBr = article.value("l-breite",""); var lHo = article.value("l-hoehe",""); var zIndexB = article.value("z-index",""); var GeschwB = article.value("geschw",""); var Logo = article.value("logo",""); var PosOMob = article.value("pos-oben-mob",""); var PosLMob = article.value("pos-links-mob",""); var zIndexC = article.value("z-index",""); var headstyle = ""; headstyle += '.wzp-logo-block {'; headstyle += 'position:fixed;'; headstyle += ' top:' + PosO + 'px !important;'; headstyle += ' left:' + PosL + '% !important;'; headstyle += ' transition:all ' + Geschw + 's !important;'; headstyle += ' z-index:' + zIndex + ' !important;'; headstyle += '}\n'; headstyle += 'a#wzp-logo {'; headstyle += 'display:block;'; headstyle += ' margin:0 auto;'; headstyle += ' width:' + lBr + 'px !important;'; headstyle += ' height:' + lHo + 'px !important;'; headstyle += ' transition:all ' + GeschwB + 's !important;'; headstyle += ' z-index:' + zIndexB + ' !important;'; headstyle += ' background:url("' + Logo + '") no-repeat !important;'; headstyle += ' border-bottom:none !important;'; headstyle += ' text-decoration:none !important;'; headstyle += '}\n'; headstyle += '.wzp-logo-mobile {'; headstyle += 'position:fixed;'; headstyle += ' top:' + PosOMob + 'px !important;'; headstyle += ' left:' + PosLMob + 'px !important;'; headstyle += ' z-index:' + zIndexC + ' !important;'; headstyle += '}'; system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$ var BreakpointA = article.value("mob1",""); var headstyle = '@media (max-width: ' + BreakpointA + 'px) {'; headstyle += '.wzp-logo-block' + ' {'; headstyle += 'display:none;'; headstyle += '}'; headstyle += '}'; system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$ var headstyle = '@media (min-width:calc(' + BreakpointA + 'px + 1px)) {'; headstyle += '.wzp-logo-mobile' + ' {'; headstyle += 'display:none;'; headstyle += '}'; headstyle += '}'; system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$=system.partial("article-begin.html")$>
<$ for ( var i = 1; i <= 1; i++){ var image = project.getImage(article.value("logo-mob-" + 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.contentCopyPath; var fullsrc = image.workingCopyPath; $>
style="border-bottom:none; text-decoration:none;"> <$= altText $>
<$ } $> <$ if ( system.preview ) { $>

Logo Scal

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")$>