Categories
Related Products
Follow @expbuilder
Subscribe to to get latest news
|
| Visit ExpBuilder group |
EXPBuilder Roll Images V1.0
Preview
use format:
$("Element that include images").rollimg({options});
EX:
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="rollimg.expbuilder.js"></script>
<div style="border: 1px solid #000;width: 352px;height: 288px;" id="imgs">
<ul>
<img src="imgs/ (1).jpg" width="352" height="288">
<img src="imgs/ (2).jpg" width="352" height="288">
<img src="imgs/ (3).jpg" width="352" height="288">
<img src="imgs/ (4).jpg" width="352" height="288">
</ul>
</div>
<script type="text/javascript">
$("#imgs").rollimg();
</script>
EX2 with options:
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="rollimg.expbuilder.js"></script>
<div style="border: 1px solid #000;width: 352px;height: 288px;" id="imgs2">
<ul>
<img src="imgs/ (1).jpg" width="352" height="288">
<img src="imgs/ (2).jpg" width="352" height="288">
<img src="imgs/ (3).jpg" width="352" height="288">
<img src="imgs/ (4).jpg" width="352" height="288">
</ul>
</div>
<a id="prev2" href="javascript: void(0);">Prev</a>
|
<a id="next2" href="javascript: void(0);">Next</a>
<script type="text/javascript">
$("#imgs2").rollimg({'vertical':false, 'nextid': '#next2', 'previd': '#prev2'});
</script>
Options:
- speed: effect speed => default is 100
- vertical: image roll postion => true
- click: roll when image click => true
- nextid: the next link id => #next
- previd: the previous link id => #prev








