PDA

View Full Version : scrollbar drives animated gif?



desigpa
12 Dec 2010, 07:58 PM
Has anyone heard of this functionality, or know how to implement it? The functionality would be such that when the scrollbar is scrolled, the animated gif progresses.

trollger
13 Dec 2010, 12:54 AM
jquery has a scroll function simply

$("#MyScrollBarID").scroll(function(){

alert("the scroll bar moved")
});

I don't know how to do this with "plain" JavaScript But I am assuming it is just as easy.