On 29 Sep 2008, at 02:27, Ed Murphy wrote:
I tried replacing this:
<input class="rocket_controls" value="1" min="-5" max="10">
with this:
<input name="foo" class="rocket_controls" value="1" min="-5"
max="10">
<input name="bar" class="rocket_controls" value="1" min="-5"
max="10">
and it generated two pairs of buttons, but one pair was the wrong
size,
and they both affected the same input control.
Ah. Oh dear. I probably should have tested multiple controls. :-)
Anyway, I just went with inline JS (since the input controls are
generated by a loop anyway). Also, due to the usual nature of input,
I replaced the half-height ^ and v buttons with full-height + (add 1)
and ! (increase to maximum) buttons.
Yeah, I just made a generic spinner control as I didn't know what it was
for at the time. :-P
Good to know you got something working.