<$ var AbstVidOben = article.value('vid-nach-oben', ''); var AbstTextOben = article.value('text-nach-oben', ''); var AbstTextUntenCalc = article.value('text-nach-unten-calc', ''); var TShad = article.value('text-shad', ''); var FontFam = article.value("font-fam",""); var TextCol = article.value('text-col', ''); var TextGr = article.value('text-gr', ''); var TextGew = article.value('text-gew', ''); var headstyle = ""; headstyle += '.wzp-header-video-cont {'; headstyle += 'margin-top:-' + AbstVidOben + 'px;'; headstyle += '}\n'; headstyle += '.wzp-header-video-text {'; headstyle += 'margin-top:-' + AbstTextOben + 'px;'; headstyle += 'text-shadow:2px 2px 0px ' + TShad + ';'; headstyle += 'margin-bottom:calc(' + AbstTextOben + 'px - ' + AbstTextUntenCalc + 'px);'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h1 {'; headstyle += 'color:' + TextCol + ';'; headstyle += 'font-size:' + TextGr + ' !important;'; headstyle += 'font-weight:' + TextGew + ';'; headstyle += 'font-family:' + FontFam + ' !important;'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h2 {'; headstyle += 'color:' + TextCol + ';'; headstyle += 'font-size:' + TextGr + ' !important;'; headstyle += 'font-weight:' + TextGew + ';'; headstyle += 'font-family:' + FontFam + ' !important;'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h3 {'; headstyle += 'color:' + TextCol + ';'; headstyle += 'font-size:' + TextGr + ' !important;'; headstyle += 'font-weight:' + TextGew + ';'; headstyle += 'font-family:' + FontFam + ' !important;'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h4 {'; headstyle += 'color:' + TextCol + ';'; headstyle += 'font-size:' + TextGr + ' !important;'; headstyle += 'font-weight:' + TextGew + ';'; headstyle += 'font-family:' + FontFam + ' !important;'; headstyle += '}\n'; headstyle += '.wzp-header-video-text p {'; headstyle += 'color:' + TextCol + ';'; headstyle += 'font-size:' + TextGr + ' !important;'; headstyle += 'font-weight:' + TextGew + ';'; headstyle += 'font-family:' + FontFam + ' !important;'; headstyle += '}\n'; system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$ var BreakText = article.value("break",""); var MobTextAbst = article.value("mob-text-abst",""); var MobSize = article.value("mob-size",""); var MobGew = article.value("mob-gew",""); var MobCol = article.value("mob-col",""); var headstyle = '@media (max-width: ' + BreakText + 'px) {\n'; headstyle += '.wzp-header-video-text {'; headstyle += 'margin-top:' + MobTextAbst + 'px;'; headstyle += ' margin-bottom:0;'; headstyle += ' text-shadow:none;'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h1 {'; headstyle += 'font-size:' + MobSize + ' !important;'; headstyle += 'font-weight:' + MobGew + ';'; headstyle += 'color:' + MobCol + ';'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h2 {'; headstyle += 'font-size:' + MobSize + ' !important;'; headstyle += 'font-weight:' + MobGew + ';'; headstyle += 'color:' + MobCol + ';'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h3 {'; headstyle += 'font-size:' + MobSize + ' !important;'; headstyle += 'font-weight:' + MobGew + ';'; headstyle += 'color:' + MobCol + ';'; headstyle += '}\n'; headstyle += '.wzp-header-video-text h4 {'; headstyle += 'font-size:' + MobSize + ' !important;'; headstyle += 'font-weight:' + MobGew + ';'; headstyle += 'color:' + MobCol + ';'; headstyle += '}\n'; headstyle += '.wzp-header-video-text p {'; headstyle += 'font-size:' + MobSize + ' !important;'; headstyle += 'font-weight:' + MobGew + ';'; headstyle += 'color:' + MobCol + ';'; headstyle += '}\n'; headstyle += '}'; system.addHtmlHeadElement("\n" + headstyle + "\n"); $> <$=system.partial("article-begin.html")$>
">
<$ for ( var i = 1; i <= 1; i++){ var TEXT = (article.value("text-" + i)); if ( isNull(TEXT) ){ continue; } var TEXTAUSZ = article.value("textausz-" + i, ""); var STYLE = article.value("style-" + i, ""); $> <<$= TEXTAUSZ $> style="<$= STYLE $>"><$= TEXT $>> <$ } $>
<$=system.partial("article-end.html")$>