$
var PosOU = article.value('pos-ou', '');
var PosOUW = article.value('pos-ou-w', '');
var PosLR = article.value('pos-lr', '');
var PosLRW = article.value('pos-lr-w', '');
var BtnGr = article.value('btn-gr', '');
var BtnCol = article.value('btn-col', '');
var BtnColHov = article.value('btn-col-hov', '');
var headstyle = "";
headstyle += '.wzp-wa-btn_id' + article.id + ' {';
headstyle += 'position:fixed;';
headstyle += ' ' + PosOU + ':' + PosOUW + ';';
headstyle += ' ' + PosLR + ':' + PosLRW + ';';
headstyle += ' width:' + BtnGr + ';';
headstyle += ' height:' + BtnGr + ';';
headstyle += ' z-index:9986;';
headstyle += ' transition:all 300ms !important;';
headstyle += ' -webkit-transition:all 300ms !important;';
headstyle += '}\n';
headstyle += '.wzp-wa-btn_id' + article.id + ' svg {';
headstyle += ' fill:' + BtnCol + ' !important;';
headstyle += ' transition:all 200ms !important;';
headstyle += ' -webkit-transition:all 200ms !important;';
headstyle += '}\n';
headstyle += '.wzp-wa-btn_id' + article.id + ':hover svg {';
headstyle += ' fill:' + BtnColHov + ' !important;';
headstyle += '}';
var Ausbl = article.value("ausbl","");
headstyle += '@media (min-width: 1023px) {\n';
headstyle += '.wzp-wa-btn_id' + article.id + ' {';
headstyle += 'display:' + Ausbl + ';';
headstyle += '}\n';
headstyle += '}';
system.addHtmlHeadElement("
WhatsApp Button
Hier können Sie das Widget öffnen oder löschen. Dieser Hinweis wird nur in der internen Vorschau angezeigt.