Styleguide: Difference between revisions
Content deleted Content added
→Form-countryspecific-control example: syntax highlighting |
|||
Line 30:
This is example code from [[Template:2011FR/Form-countryspecific-control/AU]].
The following CSS is used to enable or disable payment methods for each country by commenting out either the "display: 'status';"(on) or the "display: none;"(off).
<syntaxhighlight lang="css">
<html>
<style type="text/css">
Line 88:
</style>
</html>
</syntaxhighlight>
This part of the code pulls in the payment processing JS. Most of the perimeter are used to past information around. The only one that should be changed is "GC-CC-ffname". This perimeter changes the credit cards that we accept in that country. A list of options follows:
|