User:Pcoombe (WMF)/sandbox: Difference between revisions
Content deleted Content added
code cleanup. hoping to get something that works on mobile |
No edit summary |
||
Line 10: | Line 10: | ||
<!-- donor comments box --> |
<!-- donor comments box --> |
||
<div style="background:#fbfbfb; border:1px solid #bbbbbb; min-height: 100px; margin-bottom: 10px; font-size: 145%; text-align: center; padding: 0.5em 2em;"> |
<div style="background:#fbfbfb; border:1px solid #bbbbbb; min-height: 100px; margin-bottom: 10px; font-size: 145%; text-align: center; padding: 0.5em 2em;"> |
||
<p id="std-message"> |
<p id="std-message"> |
||
{{{comments-text|'''[[Stories2/en|Read]]''' about why other donors around the world support Wikipedia and its sister projects, or find out if your company has a [[Donate/Match Your Gift/en|corporate matching]] gift program. <br /> Tell the world that you support Wikimedia: tweet it with hashtag #keepitfree!}}} |
{{{comments-text|'''[[Stories2/en|Read]]''' about why other donors around the world support Wikipedia and its sister projects, or find out if your company has a [[Donate/Match Your Gift/en|corporate matching]] gift program. <br /> Tell the world that you support Wikimedia: tweet it with hashtag #keepitfree!}}} |
||
Line 20: | Line 19: | ||
{{FRLocalize|2011FR/Thanks-DD}} |
{{FRLocalize|2011FR/Thanks-DD}} |
||
</p> |
</p> |
||
⚫ | |||
⚫ | |||
function getQuerystring( key ) { |
|||
key = key.replace( /[\[]/, '\\\[' ).replace( /[\]]/, '\\\]' ); |
|||
var regex = new RegExp( '[\\?&]' + key + '=([a-zA-Z0-9\_\-]*)' ); |
|||
var qs = regex.exec( window.location.search ); |
|||
return qs == null ? '' : qs[1]; |
|||
} |
|||
⚫ | |||
⚫ | |||
{ |
|||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
//{ |
|||
// //$("#std-message").hide(); |
|||
// $("#dd-message").show(); |
|||
//} |
|||
⚫ | |||
⚫ | |||
</div> |
</div> |
||
Line 102: | Line 75: | ||
</td><td></td><td></td></tr></table></html> |
</td><td></td><td></td></tr></table></html> |
||
{{Hide banners}} |
{{Hide banners}} |
||
⚫ | |||
⚫ | |||
$(document).ready( function () { |
|||
⚫ | |||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
} |
|||
}); |
|||
⚫ | |||
⚫ |
Revision as of 20:46, 20 November 2013
<html> <style> p {
line-height: 1.2em;
} </style> </html>
Read about why other donors around the world support Wikipedia and its sister projects, or find out if your company has a corporate matching gift program.
Tell the world that you support Wikimedia: tweet it with hashtag #keepitfree!
<html>
</html>Please tell us your Wikipedia story (Optional)<html><form style="padding: 6px;" name='stories' method='post' action='</html>/wiki/Special:Contact<html>'> <input type="hidden" name="returnto" value="Support/en"> </html>Read other Wikipedia stories.<html> </html>What does Wikipedia mean to you?<html>
</form> |
---|
</html><html>
</html>
<html> <script> $(document).ready( function () {
var paymentMethod = mw.util.getParamValue("payment_method");
if(paymentMethod == "bt") { $("#bt-message").show(); } if(paymentMethod == "dd") { $("#dd-message").show(); }
}); </script> </html>