Template:2011FR/Form-section-links: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
Line 65:
<a class="collapsible-container-trigger" target="_blank" href="https://wikimediafoundation.org/wiki/Special:LandingCheck?landing_page=Monthly_donations&country=</html>{{{country}}}<html>&language=</html>{{int:lang}}<html>"></html>{{int:donate_interface-monthly-donation}}<html></a>
</div>
<div class="collapsible-container" id="monthly-container">
 
<a class="collapsible-container-trigger" id="monthly-link" target="_blank"href=""></html>{{int:donate_interface-monthly-donation}}<html></a>
</div>
<!-- This piece of script is add to preserve the layout of the page when the user is sent to monthly donation page -->
<script type="text/javascript">
Line 85 ⟶ 87:
monthlyURL += "&utm_medium=" + monthlyUtmMedium + "&utm_source=" + monthlyUtmSource + "&utm_campaign=" + monthlyUtmCampaign;
 
document.getElementById("monthly-link").setAttribute('href', monthlyURL);
</script>
 
<div class="collapsible-container" id="monthly-container">
<a class="collapsible-container-trigger" target="_blank"href=""></html>{{int:donate_interface-monthly-donation}}<html></a>
</div>
<!-- ----------------- end script--------------- -->