MediaWiki:Centralnotice-template-2010 testing38
<style type="text/css"> /* Styles for Notices Note: TARGETS is hard-coded in this banner.
- /
div.grayBorder {
border: 1px solid #bbb; background-color: #fbfbfb; font-family: helvetica, impact, sans-serif; overflow: hidden;
}
- centralNotice.collapsed .fundraiser-banner {
display: none;
} .fundraiser-banner { position: relative; width: 100%; height: 70px; border: 1px solid #bbb; background-color: #fbfbfb; font-family: helvetica, impact, sans-serif; overflow: hidden; }
- toggle-box
{ position: absolute; top: 3px; right: 4px; font-size: 0.8em; text-align: right; }
.fundraiser-wrapper {
margin:4px auto; position: relative; width: 100%; height: 70px; border: 1px solid #bbb; background-color: #fbfbfb; font-family: helvetica, impact, sans-serif; overflow: hidden;
}
.blue-text {
font-weight: bold; font-family: helvetica, impact, sans-serif; background-color: #fbfbfb; color: #6e98c2; text-align: left; margin:auto; width:100%; height:70px; font-size:1.3em;
}
</style>
<script type="text/javascript">
if( typeof(wgNoticeToggleState) != "undefined" ){
var isBannerHidden = (wgNoticeToggleState?"false":"true"); if( typeof(wgUserLanguage) == "undefined"){ wgUserLanguage = ""; } if( typeof(wgDBname) == "undefined"){ wgDBname = ""; }
}
/* @param mode string to be appended to the utm_source paramter like "utm_source=[notice]_[mode]" */ function goToDonationPage( mode ) {
var url = '{{{banner-url-2010}}}?utm_medium=sitenotice&utm_campaign={{{campaign}}}&utm_source={{{banner}}}'; if ( mode && mode.length ) { url += '_' + mode; } var targets = String( 'form_name=TwoColumnLetter&text_template=2010/TwoColumnLetter3&language=en&utm_source_id=3,form_name=TwoColumnLetter&text_template=2010/TwoColumnLetter4&language=en&utm_source_id=4' ).split(','); if ( targets.length ) { url += '&' + targets[Math.floor( Math.random() * targets.length )].replace(/^\s+|\s+$/, ); } window.location = url;
} </script>