Hello

I'm really new to web design, but I have this big idea for an art project and I was wondering could give me some directions how to exactly execute it.
Here is an example of what I want to do:http://camerasim.com/camera-simulator/

I would like to make a scrollbar slider that would change images as I would slide it. I'm pretty sure it's something really complicated to do, I would be happier with something really basic as well, but the general idea has to be there.

I would be really grateful if you could just get some directions from you where to exactly look as I really can't find any info how to do it, maybe I'm using wrong words to look for it :/

Thank you in advance