I have been tinkering around with creating a parallax scrolling site over the last couple of days. I have a nice prototype working that scrolls different background images. Looks pretty cool.
I'd like to take it one step further. I basically have a div with a background image assigned to it. The background image scrolls at a different speed. I want to now add the ability to click a left or right arrow and change that background. Basically a carousel. But, I still want to maintain the parallax effect if the user scrolls down.
The structure of the HTML is:
<section id="one">
<div id="mainimagewrapper">
<div class="image1">
<div class="image2">
<div id="textdiv">this is some text</div>
</div>
</div>
</div>
</section>
The mainimagewrapper contains the large image that I want to change. The textdiv will be where I add my links to the next images.
Any thoughts on how to do this?