Expand|Select|Wrap|Line Numbers
- <script type="text/javascript">
- $(document).ready(function() {
- var randomnumber=Math.floor(Math.random()*10)
- $('.slideshow').cycle({
- fx: 'curtainX,curtainY', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
- random: true, // true for random, false for sequence (not applicable to shuffle fx)
- });
- });
- </script>
Any help here is appreciated. I just don't know enough about Javascript to even know where to start. I'm picking this up by ripping apart other people's codes and trying to piece things together.
Each of my slideshows use a simple div.. img /.. /div style.
Expand|Select|Wrap|Line Numbers
- <div class="slideshow">
- <img src="path/to/img.jpg" alt="" />
- <img src="path/to/img.jpg" alt="" />
- <img src="path/to/img.jpg" alt="" />
- </div>
Finally, the bottom line:
How can I modify my current code to use the Cycle plugin for each instance of a slideshow to create a wall of movement?