Änderungen

Wechseln zu: Navigation, Suche

MediaWiki:Centralnotice-template-Spende unterstuetzen

9.091 Bytes entfernt, 16:56, 23. Sep. 2018
keine Bearbeitungszusammenfassung
<htmla href="#" title="Schließen" onclick="mw.centralNotice.hideBanner();return false;"><div class="cn-closeButton">Schließen</div> <head/a> <styletype="text/css"> #centralNotice.collapsed #tg {{{banner}}}{ displayborder-collapse: nonecollapse; } div#{{{banner}}} { backgroundborder-spacing: transparent0; displaymargin: none0px auto;} .tg td{font-family: Arial, Helvetica, Verdana, sans-serif; leftfont-size: 014px; positionpadding: fixed14px 10px; topborder-style: 0solid; border-width: 100%1px; z-indexoverflow: 9999hidden; } #{{{banner}}}-formword-wrapper { backgroundbreak: #eef0fcnormal; boxborder-shadowcolor: 3px 0 5px rgba(0, 0, 0, 0.5)black; padding: 4px 8px; } #.tg th{{{banner}}}font-form { heightfamily: 100%; } #{{{banner}}}Arial, sans-form table { border: none; border-collapse: collapse; width: 100%; height: 100%serif; } #{{{banner}}}-form td { font-size: 12px14px; font-weight: boldnormal; minpadding:14px 10px;border-widthstyle: 55pxsolid; whiteborder-spacewidth: nowrap1px; marginoverflow: 0hidden; verticalword-alignbreak: middlenormal; paddingborder-color: 2pxblack; } #{{{banner}}}.tg .tg-form span label 5gxh{ marginbackground-leftcolor: 2px#ffc439; } #{{{banner}}}border-form .amount-options { heightcolor: 20%#000000; } #{{{banner}}}-form .paymentmethod-options td { text-align: center; padding: 4px 4px 8px 4px; } #{{{banner}}}.tg .tg-form button c1p3{ cursor: pointer; display: inlinebackground-block; font-weight: bold; width: 110px; bordercolor: 3px double #dddefefef; border-radius: 8px; backgroundcolor: #ffffff000000; /* Old browsers */ background: text-moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6+ */ backgroundalign: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */center} background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */ background: tg .tg-o-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Opera 11.10+ */ lrab{background: -ms-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* IE10+ */ backgroundcolor: linear-gradient(to bottom, #ffffff 0%,rgb(240, 240, 240) 100%)ffc439; boxtext-shadowalign: 0 1px 1px #dddleft; marginvertical-align: 0 1px; top} #{{{banner}}}@media screen and (max-form buttonwidth:hover 767px) {.tg { colorwidth: #0645adauto !important; } div#{{{banner}}} #{{.tg col {banner}}}-facts { background: #ffcc00 url(//upload.wikimedia.org/wikipedia/donate/c/c0/Information-icon.png) no-repeat 10px 8px; min-height: 65px; padding: 0; position: relative; width: 100%auto !important; border: none; border}.tg-collapse: collapse; } div#wrap {{{banner}}} #{{{banner}}}overflow-facts p { colorx: #000auto; font-size: 13px; fontwebkit-weight: bold; lineoverflow-heightscrolling: 16pxtouch; margin: 0auto 0px;}}</style> padding: 10px 10px 10px 40px;<div class="tg-wrap"><table class="tg"> <tr> text<td class="tg-align: justify; }5gxh"><strong>Hurraki findet, dass leichte Sprache wichtig ist.<br><br>
div#{{{banner}}} p#{{{banner}}}-legal { font-family: Arial, Helvetica, Verdana, sans-serif; position: relative; margin: 0; padding: 10px 40px 10px 40px; font-size: 13px; line-height: 16px; font-weight: normal; z-index: -10; background: #ffcc00; top: -100px; text-align: center; }Wissen soll frei und kostenlos sein.<br><br>
#{{{banner}}}-close-wrapper { width: 20px; }  div#{{{banner}}} span#{{{banner}}}-close { background: url(//upload.wikimedia.org/wikipedia/donate/2/27/Small-white-close.png) no-repeat center center; background-color: black; cursor: pointer; display: block; height: 21px; position: absolute; right: 0px; top: 0px; width: 21px; } div#{{{banner}}} #{{{banner}}}-facts p b { background: yellow; color: black; padding: 1px 0.5em; } .interval-hidden { display: none; } div#{{{banner}}} span.btext-highlight { background: yellow; color: black; padding: 1px 0.5em; }</style> </head> <body> <div id="{{{banner}}}"> <div style="box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);"> <table id="{{{banner}}}-facts" style="height: 100%;"> <!-- table height must be defined for height 100% to work on elements within it --> <tbody> <tr> <td><br> <br> <p> Hurraki findet dass leichte Sprache wichtig ist.<br> <br> Wissen soll frei und kostenlos sein.<br> <br> Damit das so bleibt, braucht Hurraki Spenden.br> <br> </pstrong> </tdbr> <td id="{{{banner}}}-form-wrapper"> <table> <tbodybr> <tr class="interval-options interval-hidden"> </tr> <tr class="interval-options interval-hidden"> </tr> <tr> <td colspan="4" style="height: 1px;"><br> </td> </tr> <tr class="amount-options"> <td colspan="4" style="texttg-align: centerc1p3"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> <input type="hidden" name="cmd" value="_s-xclick" ><input type="hidden"> <input name="hosted_button_id" value="PJZZZMESJX5Z2" ><input type="hiddenimage"> <input src="https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="Jetzt einfach, schnell und sicher online bezahlen – mit PayPal."> type<img alt="image" border="0"> <img alt="" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1" border="0"> </form> </td> </tr> <tr class="amount-options"> <td colspan="4"><br> </td> </tr> <tr> </tr> </tbody> </table> <input name="periode" id="periode" value="" type="hidden"> <input idclass="formtg-pagelrab" namecolspan="form" value="Formularseite2-Lastschrift" type="hidden2"> <input id="wikilogin" name="wikilogin" value="no" type="hidden"> <input id="impCount" name="impCount" value="" type="hidden"> <input id="bImpCount" name="bImpCount" value="" type="hidden"> </td> <td id="{{{banner}}}-close-wrapper"> <span id="{{{banner}}}-close">&nbsp;</span> </td> </tr> </tbody>Spenden·konto: </table> </div> <p id="{{{banner}}}-legal"> <strong style="color: #0078FF;">Spendenkonto:</strong> Hep Hep Hurra e.V. </strong> - IBAN <strong style="color: #0078FF">DE16 8306 5408
0004 0646 40 </strong> - BIC <strong style="color: #0078FF">GENODEF1SLR
</strong> </ptd> </div> <script type="text/javascript">$( document ).ready( function() { $('body').prepend($('#centralNotice'));  var impCount = increaseImpCount(); $("#impCount").val(impCount); var bannerImpCount = increaseBannerImpCount(); $("#bImpCount").val(bannerImpCount);  setTimeout( addBannerSpace, 15000 ); if(wgUserName !== null) $('#wikilogin').val('yes'); $(window).resize(function() { //addBannerSpace(); });  $( ".send" ).click( function( e ) { return validateForm(); });  $('#{{{banner}}}-close').click(function() { hideBanner(); removeBannerSpace(); return false; });  $('#{{{banner}}}').mouseenter(function() { $('p#{{{banner}}}-legal').clearQueue().animate({ top: '0px' }); }); $('#{{{banner}}}').mouseleave(function() { $('p#{{{banner}}}-legal').animate({ top: '-100px' }); });}); function addBannerSpace() { var expandableBannerHeight = $('div#{{{banner}}}').height() + 44 + $('div#{{{banner}}}-legal').height(); switch(skin) { case 'vector': $('#{{{banner}}}').css( 'top', 0 - expandableBannerHeight ); $('#mw-panel').animate({top: expandableBannerHeight + 160}, 1000); $('#mw-head').animate({top: expandableBannerHeight}, 1000); $('#mw-page-base').animate({paddingTop: expandableBannerHeight}, 1000); break; case 'monobook': $('#globalWrapper').css('position', 'relative'); $('#globalWrapper').css('top', expandableBannerHeight); $('#{{{banner}}}').css('top', '-20px'); $('#{{{banner}}}').css('background', 'none'); break; } $('#{{{banner}}}').css('display', 'block'); $('#{{{banner}}}').animate({top: 0}, 1000);}function removeBannerSpace() { switch(skin) { case 'vector': $('#mw-panel').css('top', 160); $('#mw-head').css('top', 0); $('#mw-page-base').css('padding-top', 0); break; case 'monobook': $('#globalWrapper').css('position', 'relative'); $('#globalWrapper').css('top', 0); break; }} function increaseImpCount() { impCount = parseInt($.cookie('centralnotice_banner_impression_count')) | 0; $.cookie('centralnotice_banner_impression_count', impCount + 1, { expires: 7, path: '/' }); return impCount + 1;} function increaseBannerImpCount() { var impCount = 0;  if($.cookie('centralnotice_single_banner_impression_count')) { var impCountCookie = $.cookie('centralnotice_single_banner_impression_count'); var bannerImpCount = impCountCookie.split("|"); if(bannerImpCount[0] === '{{{banner}}}') { impCount = parseInt(bannerImpCount[1]); } } $.cookie('centralnotice_single_banner_impression_count', '{{{banner}}}|' + (impCount + 1), { expires: 7, path: '/' }); return (impCount + 1);} function validateForm() { var chkdPayment = $( 'input[name=pay]:checked', '#{{{banner}}}-form' ).val(); switch( chkdPayment ) { case "BEZ": $( '#form-page' ).val( 'Formularseite2-Lastschrift' ); break; case "UEB": $( '#form-page' ).val( 'Formularseite2-Überweisung' ); break; case "PPL": $( '#form-page' ).val( 'Formularseite2-PayPal' ); break; case "MCP": $( '#form-page' ).val( 'Formularseite2-Micropayment' ); break; } var form = document.donationForm; var error = false; if($('#interval_multiple').attr('checked') === 'checked') { if($('input[name=interval]:checked', form).length !== 1) { alert("Es wurde kein Zahlungsintervall ausgewählt."); return false; } else { $('#periode').val($('input[name=interval]:checked', form).val()); } } else { $('#periode').val("0"); }  // Get amount selection var amount = null; for ( var i = 0; i < form.betrag.length; i++ ) { if ( form.betrag[i].checked ) { amount = form.betrag[i].value; break; } } if ( form.amountGiven.value != "" ) { var otherAmount = form.amountGiven.value; otherAmount = otherAmount.replace(/[,.](\d)$/, '\:$10'); otherAmount = otherAmount.replace(/[,.](\d)(\d)$/, '\:$1$2'); otherAmount = otherAmount.replace(/[\$,.]/g, ''); otherAmount = otherAmount.replace(/:/, '.'); form.amountGiven.value = otherAmount; amount = otherAmount; $('#input_amount_other').val( otherAmount ); } // Check amount is a real number error = ( amount == null || isNaN( amount ) || amount.value <= 0 ); // Check amount is at least the minimum if ( amount < 1 || error ) { alert( 'Der Mindestbetrag beträgt 1 Euro.'); return false; } else if ( amount tr> 99999 ) { alert( 'Der Spendenbetrag ist zu hoch.' ); return false; } return !error;}</scripttable> </body></htmldiv>
5.571
Bearbeitungen

Navigationsmenü