I did Slide Viewer for all your needs. Please, dig into source to understanding functionality and using. It works without jQuery and other frameworks.
... in your html head section:
<link rel="stylesheet" type="text/css" media="screen" href="slideviewer.css" />
<script type="text/javascript" src="slideviewer.js"></script>
... in body:
<div id="container1" class="container">
<div class="prev"></div>
<div class="next"></div>
<div class="item">Hello, </div>
<div class="item">this a sample</div>
</div>
<script type="text/javascript">
var contentSliderObject1 = new SlideViewer('container1');
</script>
SlideViewer class has a three parameters:
Full object initialization (JavaScript code):
var c2 = new SlideViewer('container2', 50, 200);
See result of this code below:
Another example
var c2 = new SlideViewer('container2', 5, 20);
SlideViewer used on:
If you want to tell me about bugs, please contact with me by e-mail zoonman at gmail dot com.
June 3, 2011