PDA

View Full Version : scrollbar drives animated gif?



desigpa
12 Dec 2010, 06: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
12 Dec 2010, 11:54 PM
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.