I'm trying to use a pair of radio buttons to start/stop an
automated horizontal scroller. I've tried several jquery techniques that I found on SO,
but I haven't been able to get them to
work.
Here's my latest
attempt:
$( "#radAutoScroll0"
).mouseup(function() {
scrollTimer();
});
function
scrollTimer(){
if($("#radAutoScroll0").is(':checked')){
//
scroller code.....
}
}
class="scrollDiv">
class="autoScrollLabel">Auto Scroll
for="radAutoScroll0" class="labAutoScroll">
name='radAutoScroll' id='radAutoScroll0' class="rad1" checked="checked"
value='on'/>On
class="labAutoScroll">
id='radAutoScroll1' class="rad1" value='off'/>Off
No comments:
Post a Comment