注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Widget:MonthlyDonate"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<form id=" | <form id="subscription" action="https://funtoo.chargebee.com/hosted_pages/plans/donate?subscription"> | ||
<div class="donate"> | <div class="donate"> | ||
<h2>Funtoo Monthly Support</h2> | <h2>Funtoo Monthly Support</h2> | ||
Line 19: | Line 19: | ||
</select> | </select> | ||
</label> | </label> | ||
<p><span class="size_error" style="display:none;">Please select donation amount</span></p> | <p><span class="size_error" style="display:none;">Please select donation amount.</span></p> | ||
<p> </p><input type="image" src="/images/subscribe.png" class="displayed" value=""/> | <p> </p><input type="image" src="/images/subscribe.png" class="displayed" value=""/> | ||
</div> | </div> | ||
</form> | </form> | ||
<script type="text/javascript">$('#subscription').submit(function(){var select = $('#subscription select').val();if(select == "none"){$('.size_error').show();return false;}});$('#subscription select').change(function(){$('.size_error').hide();});</script> | |||
</includeonly> | </includeonly> |