MediaWiki:Centralnotice-template-Leichte Sprache Banner Apple: Unterschied zwischen den Versionen

Aus Hurraki - Wörterbuch für Leichte Sprache
Wechseln zu: Navigation, Suche
Zeile 4: Zeile 4:
 
<br>
 
<br>
  
 +
<style>
 +
  #centralNotice.collapsed #{{{banner}}}{
 +
    display: none;
 +
  }
 +
  div#{{{banner}}} {
 +
    background: transparent;
 +
    display: none;
 +
    font-family: Arial, Helvetica, Verdana, sans-serif;
 +
    left: 0;
 +
    position: fixed;
 +
    top: 0;
 +
    width: 100%;
 +
    z-index: 9999;
 +
  }
 +
  #{{{banner}}}-form-wrapper {
 +
    background: #eef0fc;
 +
    box-shadow: 3px 0 5px rgba(0, 0, 0, 0.5);
 +
    padding: 4px 8px;
 +
  }
 +
  #{{{banner}}}-form {
 +
    height: 100%;
 +
  }
 +
  #{{{banner}}}-form table {
 +
    border: none;
 +
    border-collapse: collapse;
 +
    width: 100%;
 +
    height: 100%;
 +
  }
 +
  #{{{banner}}}-form td {
 +
    font-size: 12px;
 +
    font-weight: bold;
 +
    min-width: 55px;
 +
    white-space: nowrap;
 +
    margin: 0;
 +
    vertical-align: middle;
 +
    padding: 2px;
 +
  }
 +
  #{{{banner}}}-form span label {
 +
    margin-left: 2px;
 +
  }
 +
  #{{{banner}}}-form .amount-options {
 +
    height: 20%;
 +
  }
 +
  #{{{banner}}}-form .paymentmethod-options td {
 +
    text-align: center;
 +
    padding: 4px 4px 8px 4px;
 +
  }
 +
  #{{{banner}}}-form button {
 +
    cursor: pointer;
 +
    display: inline-block;
 +
    font-weight: bold;
 +
    width: 110px;
 +
    border: 3px double #ddd;
 +
    border-radius: 8px;
 +
    background: #ffffff; /* Old browsers */
 +
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6+ */
 +
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
 +
    background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
 +
    background: -o-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Opera 11.10+ */
 +
    background: -ms-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* IE10+ */
 +
    background: linear-gradient(to bottom, #ffffff 0%,rgb(240, 240, 240) 100%);
 +
    box-shadow: 0 1px 1px #ddd;
 +
    margin: 0 1px;
 +
  }
 +
  #{{{banner}}}-form button:hover {
 +
    color: #0645ad;
 +
  }
 +
  div#{{{banner}}} #{{{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%;
 +
    border: none;
 +
    border-collapse: collapse;
 +
  }
 +
  div#{{{banner}}} #{{{banner}}}-facts p {
 +
    color: #000;
 +
    font-size: 13px;
 +
    font-weight: bold;
 +
    line-height: 16px;
 +
    margin: 0;
 +
    padding: 10px 10px 10px 40px;
 +
    text-align: justify;
 +
  }
 +
 +
  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;
 +
  }
  
<body>
+
  #{{{banner}}}-close-wrapper {
    <div id="{{{banner}}}-container">
+
    width: 20px;
      <div class="{{{banner}}}-close"> <a href="#" title="Close">
+
  }
          <div class="cn-closeButton">Close</div>
 
        </a> </div>
 
      <a class="{{{banner}}}-button-link" href="https://de.wikipedia.org/wiki/Wikipedia:Wikimedia_Deutschland/JetztMitmachen?campaign=wmde_abc2017_bt3#Belegen">
 
        <div class="{{{banner}}}-inner">
 
          <div class="{{{banner}}}-title">Du kannst Wikipedia<br>
 
            noch verlässlicher machen!</div>
 
          <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
 
            <input name="cmd" value="_s-xclick" type="hidden">
 
            <input name="hosted_button_id" value="PJZZZMESJX5Z2" type="hidden">
 
            <input src="https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donate_LG.gif"
 
              name="submit" alt="Jetzt einfach, schnell und sicher online bezahlen – mit PayPal."
 
              type="image" border="0">
 
            <img alt="" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif"
 
              width="1" height="1" border="0">
 
          </form>
 
        </div>
 
      </a> <img id="{{{banner}}}-close-tracking" src="" width="0" height="0" border="0">
 
    </div>
 
    <script>
 
$( document ).ready( function () {
 
  
   if ( wgPageName !== 'Wikipedia:Wikimedia_Deutschland/JetztMitmachen' && wgPageName !== 'Wikipedia:Wikimedia_Deutschland/Mach_mit' ) {
+
   div#{{{banner}}} span#{{{banner}}}-close {
     addBannerSpace();
+
    background: url(//upload.wikimedia.org/wikipedia/donate/2/27/Small-white-close.png) no-repeat center center;
     $( 'body' ).prepend( $( '#centralNotice' ) );
+
    background-color: black;
     $( '#{{{banner}}}-container' ).show();
+
    cursor: pointer;
   } else {
+
    display: block;
     mw.centralNotice.setBannerLoadedButHidden();
+
    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>
 +
 +
<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 -->
 +
    <tr>
 +
      <td>
 +
        <p>{{{banner-text}}}</p>
 +
      </td>
 +
 +
      <td id="{{{banner}}}-form-wrapper">     
 +
        <form id="{{{banner}}}-form" method="post" name="donationForm" action="https://spenden.wikimedia.de/spenden/?page={{{landing-page}}}&skin={{{page-skin}}}&piwik_campaign={{{CampaignName}}}&piwik_kwd={{{BannerName}}}">
 +
          <table>
 +
            <tr class="frequency-options">
 +
              <td colspan="2">
 +
                <input type="radio" checked="checked" class="amount-radio" id="interval_onetime" onclick="$('.interval-options').toggleClass('interval-hidden');$('#interval_multiple').attr('checked', false);" />
 +
                <label for="interval_onetime" class="interval-label">einmalig</label>
 +
              </td>
 +
              <td colspan="2">
 +
                <input type="radio" class="amount-radio" id="interval_multiple" onclick="$('.interval-options').toggleClass('interval-hidden');$('#interval_onetime').attr('checked', false);" />
 +
                <label for="interval_multiple" class="interval-label">regelm&auml;&szlig;ig</label>
 +
              </td>
 +
            </tr>
 +
            <tr class="interval-options interval-hidden">
 +
              <td colspan="2">
 +
                <input type="radio" name="interval" class="amount-radio" id="interval1" value="1" />
 +
                <label for="interval1" class="interval-label">monatlich</label>
 +
              </td>
 +
              <td colspan="2">
 +
                <input type="radio" name="interval" class="amount-radio" id="interval3" value="3" />
 +
                <label for="interval3" class="interval-label">vierteljährlich</label><br />
 +
              </td>
 +
            </tr>
 +
            <tr class="interval-options interval-hidden">
 +
              <td colspan="2">
 +
                <input type="radio" name="interval" class="amount-radio" id="interval6" value="6" />
 +
                <label for="interval6" class="interval-label">halbjährlich</label>
 +
              </td>
 +
              <td colspan="2">
 +
                <input type="radio" name="interval" class="amount-radio" id="interval12" value="12" />
 +
                <label for="interval12" class="interval-label">jährlich</label>
 +
              </td>
 +
            </tr>
 +
            <tr>
 +
              <td colspan="4" style="height: 1px;"><hr /></td>
 +
            </tr>
 +
            <tr class="amount-options">
 +
              <td>
 +
                <input type="radio" class="amount-radio" name="betrag" onclick="document.donationForm.amountGiven.value = ''" id="amount5" value="5" />
 +
                <label class="amount-label" style="width: 30px;" for="amount5">5 €</label>
 +
              </td>
 +
              <td>
 +
                <input type="radio" class="amount-radio" name="betrag" onclick="document.donationForm.amountGiven.value = ''" id="amount15" value="15" />
 +
                <label class="amount-label" style="width: 36px;" for="amount15">15 €</label>
 +
              </td>
 +
              <td>
 +
                <input type="radio" class="amount-radio" name="betrag" onclick="document.donationForm.amountGiven.value = ''" id="amount25" value="25" />
 +
                <label class="amount-label" style="width: 36px;" for="amount25">25 €</label>
 +
              </td>
 +
              <td>
 +
                <input type="radio" class="amount-radio" name="betrag" checked="checked" onclick="document.donationForm.amountGiven.value = ''" id="amount50" value="50" />
 +
                <label class="amount-label" style="width: 36px;" for="amount50">50 €</label><br />
 +
              </td>
 +
            </tr>
 +
            <tr class="amount-options">
 +
              <td>
 +
                <input type="radio" class="amount-radio" name="betrag" onclick="document.donationForm.amountGiven.value = ''" id="amount75" value="75" />
 +
                <label class="amount-label" style="width: 30px;" for="amount75">75 €</label>
 +
              </td>
 +
              <td>
 +
                <input type="radio" class="amount-radio" name="betrag" onclick="document.donationForm.amountGiven.value = ''" id="amount100" value="100" />
 +
                <label class="amount-label" style="width: 36px;" for="amount100">100 €</label>
 +
              </td>
 +
              <td>
 +
                <input type="radio" class="amount-radio" name="betrag" onclick="document.donationForm.amountGiven.value = ''" id="amount250" value="250" />
 +
                <label class="amount-label" style="width: 36px;" for="amount250">250 €</label>
 +
              </td>
 +
              <td>
 +
                <input type="radio" class="amount-radio" name="betrag" id="amount_other" value="" />
 +
                <input type="text" onfocus="$('#amount_other').attr('checked', 'checked');" autocomplete="off" size="3" name="amountGiven" /><br />
 +
            </tr>
 +
            <tr>
 +
              <td colspan="2" style="text-align: right">
 +
                <button class="send" onclick="$('#form-page').val('Formularseite2-Lastschrift');">Lastschrift</button>
 +
              </td>
 +
              <td colspan="2" style="text-align: left">
 +
                <button class="send" onclick="$('#form-page').val('Formularseite2-Überweisung');">Überweisung</button><br />
 +
              </td>
 +
            </tr>
 +
            <tr>
 +
              <td colspan="2" style="text-align: right">
 +
                <button class="send" onclick="$('#form-page').val('Formularseite2-Micropayment');">Kreditkarte</button>
 +
              </td>
 +
              <td colspan="2" style="text-align: left">
 +
                <button id="btn-ppl" class="send" onclick="$('#form-page').val('Formularseite2-PayPal');">PayPal</button>
 +
              </td>
 +
            </tr>
 +
          </table>
 +
          <input type="hidden" name="periode" id="periode" value="" />
 +
          <input type="hidden" id="form-page" name="form" value="Formularseite2-Lastschrift" />
 +
          <input type="hidden" id="wikilogin" name="wikilogin" value="no" />
 +
          <input type="hidden" id="impCount" name="impCount" value="" />
 +
          <input type="hidden" id="bImpCount" name="bImpCount" value="" />
 +
        </form>
 +
      </td>
 +
 +
      <td id="{{{banner}}}-close-wrapper">
 +
        <span id="{{{banner}}}-close">&nbsp;</span>
 +
      </td>
 +
 +
    </tr>
 +
  </table></div>
 +
 +
  <p id="{{{banner}}}-legal">
 +
    <strong style="color: #0078FF;">Spendenkonto:</strong> Wikimedia Fördergesellschaft - Kontonummer <strong style="color: #0078FF">1194700</strong> - Bankleitzahl <strong style="color: #0078FF">10020500</strong> - BIC BFSWDE33BER - IBAN DE33 1002 0500 0001 1947 00
 +
  </p>
 +
 +
</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();
 +
  });
  
   $( '.{{{banner}}}-close' ).click( function () {
+
   $( ".send" ).click( function( e ) {
     if ( Math.random() < 0.01 ) {
+
     return validateForm();
      $( '#{{{banner}}}-close-tracking' ).attr( 'src', 'https://tracking.wikimedia.de/piwik.php?idsite=1&url=https://spenden.wikimedia.de/banner-closed/{{{banner}}}&rec=1' );
+
  });
    }
 
  
    $( '#{{{banner}}}-container' ).hide();
+
  $('#{{{banner}}}-close').click(function() {
 +
    hideBanner();
 
     removeBannerSpace();
 
     removeBannerSpace();
    mw.centralNotice.hideBanner();
 
 
 
     return false;
 
     return false;
   } );
+
   });
  
   $( '#ca-ve-edit, .mw-editsection-visualeditor' ).click( function () {
+
   $('#{{{banner}}}').mouseenter(function() {
     $( '#{{{banner}}}-container' ).hide();
+
     $('p#{{{banner}}}-legal').clearQueue().animate({
     removeBannerSpace();
+
      top: '0px'
   } );
+
    });
} );
+
  });
 +
  $('#{{{banner}}}').mouseleave(function() {
 +
     $('p#{{{banner}}}-legal').animate({
 +
      top: '-100px'
 +
    });
 +
   });
 +
});
  
function addBannerSpace() {
 
  var bannerHeight = $( '#{{{banner}}}-container' ).height() + 20;
 
  switch( mw.config.get( 'skin' ) ) {
 
    case 'vector':
 
      $( '#mw-panel' ).css( 'top', bannerHeight );
 
      $( '#mw-head' ).css( 'top', bannerHeight );
 
      $( '#mw-page-base' ).css( 'padding-top', bannerHeight );
 
      break;
 
    case 'monobook':
 
      $( '#globalWrapper' ).css( 'position', 'relative' );
 
      $( '#globalWrapper' ).css( 'top', bannerHeight );
 
      $( '#{{{banner}}}' ).css( 'top', '-20px' );
 
      $( '#{{{banner}}}' ).css( 'background', 'none' );
 
      break;
 
  }
 
}
 
  
function removeBannerSpace() {
 
  switch ( mw.config.get( 'skin' ) ) {
 
    case 'vector':
 
      $( '#mw-panel' ).css( 'top', 0 );
 
      $( '#mw-head' ).css( 'top', 0 );
 
      $( '#mw-page-base' ).css( 'padding-top', 0 );
 
      break;
 
    case 'monobook':
 
      $( '#globalWrapper' ).css( 'position', 'relative' );
 
      $( '#globalWrapper' ).css( 'top', 0 );
 
      break;
 
  }
 
}
 
 
</script>
 
</script>
  </body>
 
</html>
 

Version vom 11. September 2018, 11:45 Uhr

 <a href="https://itunes.apple.com/de/app/hurraki-leichte-sprache-app/id903688766?mt=8"></a>

<a href="#" title="Schließen" onclick="mw.centralNotice.hideBanner();return false;">Schließen</a>

<style>

 #centralNotice.collapsed #{{{banner}}}{
   display: none;
 }
 div#{{{banner}}} {
   background: transparent;
   display: none;
   font-family: Arial, Helvetica, Verdana, sans-serif;
   left: 0;
   position: fixed;
   top: 0;
   width: 100%;
   z-index: 9999;
 }
 #{{{banner}}}-form-wrapper {
   background: #eef0fc;
   box-shadow: 3px 0 5px rgba(0, 0, 0, 0.5);
   padding: 4px 8px;
 }
 #{{{banner}}}-form {
   height: 100%;
 }
 #{{{banner}}}-form table {
   border: none;
   border-collapse: collapse;
   width: 100%;
   height: 100%;
 }
 #{{{banner}}}-form td {
   font-size: 12px;
   font-weight: bold;
   min-width: 55px;
   white-space: nowrap;
   margin: 0;
   vertical-align: middle;
   padding: 2px;
 }
 #{{{banner}}}-form span label {
   margin-left: 2px;
 }
 #{{{banner}}}-form .amount-options {
   height: 20%;
 }
 #{{{banner}}}-form .paymentmethod-options td {
   text-align: center;
   padding: 4px 4px 8px 4px;
 }
 #{{{banner}}}-form button {
   cursor: pointer;
   display: inline-block;
   font-weight: bold;
   width: 110px;
   border: 3px double #ddd;
   border-radius: 8px;
   background: #ffffff; /* Old browsers */
   background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6+ */
   background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
   background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
   background: -o-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Opera 11.10+ */
   background: -ms-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* IE10+ */
   background: linear-gradient(to bottom, #ffffff 0%,rgb(240, 240, 240) 100%);
   box-shadow: 0 1px 1px #ddd;
   margin: 0 1px;
 }
 #{{{banner}}}-form button:hover {
   color: #0645ad;
 }
 div#{{{banner}}} #{{{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%;
   border: none;
   border-collapse: collapse;
 }
 div#{{{banner}}} #{{{banner}}}-facts p {
   color: #000;
   font-size: 13px;
   font-weight: bold;
   line-height: 16px;
   margin: 0;
   padding: 10px 10px 10px 40px;
   text-align: justify;
 }
 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;
 }
 #{{{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>

{{{banner-text}}}

       <form id="{{{banner}}}-form" method="post" name="donationForm" action="https://spenden.wikimedia.de/spenden/?page={{{landing-page}}}&skin={{{page-skin}}}&piwik_campaign={{{CampaignName}}}&piwik_kwd={{{BannerName}}}">
               <input type="radio" checked="checked" class="amount-radio" id="interval_onetime" onclick="$('.interval-options').toggleClass('interval-hidden');$('#interval_multiple').attr('checked', false);" />
               
               <input type="radio" class="amount-radio" id="interval_multiple" onclick="$('.interval-options').toggleClass('interval-hidden');$('#interval_onetime').attr('checked', false);" />
               
               <input type="radio" name="interval" class="amount-radio" id="interval1" value="1" />
               
               <input type="radio" name="interval" class="amount-radio" id="interval3" value="3" />
               
               <input type="radio" name="interval" class="amount-radio" id="interval6" value="6" />
               
               <input type="radio" name="interval" class="amount-radio" id="interval12" value="12" />
               

               <input type="radio" class="amount-radio" name="betrag" onclick="document.donationForm.amountGiven.value = " id="amount5" value="5" />
               
               <input type="radio" class="amount-radio" name="betrag" onclick="document.donationForm.amountGiven.value = " id="amount15" value="15" />
               
               <input type="radio" class="amount-radio" name="betrag" onclick="document.donationForm.amountGiven.value = " id="amount25" value="25" />
               
               <input type="radio" class="amount-radio" name="betrag" checked="checked" onclick="document.donationForm.amountGiven.value = " id="amount50" value="50" />
               
               <input type="radio" class="amount-radio" name="betrag" onclick="document.donationForm.amountGiven.value = " id="amount75" value="75" />
               
               <input type="radio" class="amount-radio" name="betrag" onclick="document.donationForm.amountGiven.value = " id="amount100" value="100" />
               
               <input type="radio" class="amount-radio" name="betrag" onclick="document.donationForm.amountGiven.value = " id="amount250" value="250" />
               
               <input type="radio" class="amount-radio" name="betrag" id="amount_other" value="" />
               <input type="text" onfocus="$('#amount_other').attr('checked', 'checked');" autocomplete="off" size="3" name="amountGiven" />
               <button class="send" onclick="$('#form-page').val('Formularseite2-Lastschrift');">Lastschrift</button>
               <button class="send" onclick="$('#form-page').val('Formularseite2-Überweisung');">Überweisung</button>
               <button class="send" onclick="$('#form-page').val('Formularseite2-Micropayment');">Kreditkarte</button>
               <button id="btn-ppl" class="send" onclick="$('#form-page').val('Formularseite2-PayPal');">PayPal</button>
         <input type="hidden" name="periode" id="periode" value="" />
         <input type="hidden" id="form-page" name="form" value="Formularseite2-Lastschrift" />
         <input type="hidden" id="wikilogin" name="wikilogin" value="no" />
         <input type="hidden" id="impCount" name="impCount" value="" />
         <input type="hidden" id="bImpCount" name="bImpCount" value="" />
       </form>
        

<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'
   });
 });

});


</script>