Difference between revisions of "User:Aude/common.js"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(tweak)
(update)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
  +
mw.loader.load('http://demos.filbertkm.com/js/wikidc.js');
if ( ( mw.config.get('wgPageName') == 'Home' ) && ( wgNamespaceNumber == 0 ) ) {
 
$('#donatebutton').css({'border' : 'solid 1px red'});
 
alert('red');
 
$('#donatebutton').html('<form action="https://checkout.google.com/cws/v2/Donations/334897480085960/checkoutForm" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" onSubmit="return validateAmount(this.item_price_1)" target="_top"></form>');
 
alert('donate');
 
}
 

Latest revision as of 23:03, 17 September 2011

mw.loader.load('http://demos.filbertkm.com/js/wikidc.js');