This works for me, and you can add as many INPUT elements in HTML as you need.
( Update : JSFiddle link.)
#txtBoxRotateContainer { height: 800px; } .txtBoxRotate { position:absolute; }
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <div id="txtBoxRotateContainer"> <div class="txtBoxRotate"><img src="http://www.google.com/logos/2012/uganda12-hp.jpg" alt="Google!" /></div> <div class="txtBoxRotate"><img src="http://www.google.com/logos/2012/Googles_14th_Birthday-2012-2-hp.gif" alt="Google!" /></div> <div class="txtBoxRotate"><img src="http://www.google.com/logos/2012/bohr11-hp.jpg" alt="Google!" /></div> </div>
Note : the source code had INPUT elements (because this is what I assumed with your class="textBox" ), thus the id and CSS class names. You can use any naming you want.
source share