Template:2011FR/Form-section-radiobuttons: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
#radiobuttons-table-body{ |
#radiobuttons-table-body{ |
||
margin-left: -5px; |
margin-left: -5px; |
||
} |
|||
#input_amount_other_box{ |
|||
color: #aaaaaa; |
|||
} |
} |
||
Line 18: | Line 22: | ||
box.checked = true; |
box.checked = true; |
||
box.value = ""; |
box.value = ""; |
||
box.color = "#000000"; |
box.style.color = "#000000"; |
||
} |
} |
||
function resetOther(box){ |
function resetOther(box){ |
||
box.value = "</html>{{{donate-amount-other|<html>Other:</html>}}}<html>"; |
box.value = "</html>{{{donate-amount-other|<html>Other:</html>}}}<html>"; |
||
box.color = "#aaaaaa"; |
box.style.color = "#aaaaaa"; |
||
} |
} |
||
Line 66: | Line 70: | ||
<td style="white-space:nowrap;"> |
<td style="white-space:nowrap;"> |
||
<input type="radio" name="amount" id="input_amount_other" value="" /> |
<input type="radio" name="amount" id="input_amount_other" value="" /> |
||
$<input type="text" name="amountGiven" size="2" autocomplete="off" value="</html>{{{donate-amount-other|<html>Other:</html>}}}<html>" onfocus="clearOther(this)"/> |
$<input type="text" name="amountGiven" id="input_amount_other_box" size="2" autocomplete="off" value="</html>{{{donate-amount-other|<html>Other:</html>}}}<html>" onfocus="clearOther(this)"/> |
||
</td> |
</td> |
||
</tr> |
</tr> |
Revision as of 07:10, 31 October 2011