User:Pcoombe (WMF)/sandbox: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 12:
$(document).ready(function() {
$('#currency-list a').attr('href', function(i, val) {
uri.extend({
utm_medium: 'Waystogive',
utm_campaign: 'C11_Waystogive',
utm_source: 'Waystogive'
});
return uri.toString();
});
});
|
Revision as of 19:46, 24 March 2015
<html>
<style> #currency-list a { float: left; font-weight: bold; cursor: pointer; padding: 0 1em 0.5em 1em; width: 15em; } </style> <script> $(document).ready(function() { $('#currency-list a').attr('href', function(i, val) { var uri = new mw.Uri(val); uri.extend({ utm_medium: 'Waystogive', utm_campaign: 'C11_Waystogive', utm_source: 'Waystogive' });
return uri.toString(); }); }); </script>
<a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=USD&gateway=paypal"></html>U.S. dollar<html> (USD)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=EUR&gateway=paypal"></html>Euro<html> (EUR)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=AUD&gateway=paypal"></html>Australian dollar<html> (AUD)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=CAD&gateway=paypal"></html>Canadian dollar<html> (CAD)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=CHF&gateway=paypal"></html>Swiss franc<html> (CHF)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=CZK&gateway=paypal"></html>Czech koruna<html> (CZK)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=DKK&gateway=paypal"></html>Danish krone<html> (DKK)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=HKD&gateway=paypal"></html>Hong Kong dollar<html> (HKD)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=HUF&gateway=paypal"></html>Hungarian forint<html> (HUF)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=ILS&gateway=paypal"></html>Israeli shekel<html> (ILS)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=MXN&gateway=paypal"></html>Mexican peso<html> (MXN)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=NOK&gateway=paypal"></html>Norwegian krone<html> (NOK)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=NZD&gateway=paypal"></html>New Zealand dollar<html> (NZD)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=PHP&gateway=paypal"></html>Philippine peso<html> (PHP)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=PLN&gateway=paypal"></html>Polish złoty<html> (PLN)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=GBP&gateway=paypal"></html>British pound<html> (GBP)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=THB&gateway=paypal"></html>Thai baht<html> (THB)</a> <a href="https://payments.wikimedia.org/index.php/Special:GatewayFormChooser?currency=TWD&gateway=paypal"></html>New Taiwan dollar<html> (TWD)</a>
</html>