注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Widget:FuntooSupport"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<form id="subscription" action="https://funtoo.chargebee.com/hosted_pages/plans/donate?subscription"> | <form id="subscription" action="https://funtoo.chargebee.com/hosted_pages/plans/donate?subscription"> | ||
< | <label> | ||
< | <p><span class="size_error" style="display:none;">Please select donation amount.</span></p><select name="subscription[plan_quantity]"> | ||
<select name="subscription[plan_quantity]" | |||
<option value="none">-Select-</option> | <option value="none">-Select-</option> | ||
<option value="1">$5/month</option> | <option value="1">$5/month</option> | ||
Line 24: | Line 23: | ||
<option value="200">$1000/month</option> | <option value="200">$1000/month</option> | ||
<option value="400">$2000/month</option> | <option value="400">$2000/month</option> | ||
</select> | </select> | ||
</label> | </label> | ||
< | <span><input type="submit" class="displayed" value="Subscribe"/></span> | ||
</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> | <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> |