Is the following possible, and what would be the easiest/cleanest way to do so?
1.) When a user scrolls down, an image (img1) starts fading into a second image (img2). The image fades in from a static position, positioned exactly the same as the original. (Just an image by the way, not a background.) Going back upwards it does the opposite.
2.) The code would include a value of when the transition starts (scroll_pos ?) and a value for the duration of the transition process (fadeIn value ?).
3.) It should work on mobile devices too.
I literally just opened the book on Jquery and found slightly similar topics regarding background color, but none like this case. Very curious to see what the best way would be to handle this. :)
some random example images:
IMG1: http://icons.iconarchive.com/icons/designbolts/free-multimedia/1024/Cd-icon.png
IMG2: http://www.freeiconspng.com/uploads/multimedia-photo-icon-31.png
Thanks in advance, looking forward to the best solution!