naveen.brite
04-13-2010, 10:20 AM
HI,
I have implemented a jquery slideshow. Every thing is fine with its working.
But i want random image to appear every time the page is viewed. Is there any possibility for that?
The slideshow about which i am speaking can be found in the below link.
http://www.jirehdesigners.com/HIDDEN/
The script inside of the page:
<script type="text/javascript" src="js/jquery.cross-slide.js" language="javascript"></script>
<script type="text/javascript">
jQuery(function() {
jQuery('#ccc').crossSlide({
sleep: 5,
fade: 3
}, [
{ src: 'pictures/Croatia-2.jpg' },
{ src: 'pictures/Galapagos.jpg' },
{ src: 'pictures/Vietnam-Beach.jpg' },
{ src: 'pictures/Antarctica.jpg' },
{ src: 'pictures/Canada.jpg' },
{ src: 'pictures/Elephant Expeditions main page.jpg' },
{ src: 'pictures/Indochina main page.jpg' },
{ src: 'pictures/Laos main page.jpg' }
]);
});
</script>
This is the div:
<div id="ccc" class="contentdiv">Loading....</div>
Please help me.
Thank you very much in advance.
I have implemented a jquery slideshow. Every thing is fine with its working.
But i want random image to appear every time the page is viewed. Is there any possibility for that?
The slideshow about which i am speaking can be found in the below link.
http://www.jirehdesigners.com/HIDDEN/
The script inside of the page:
<script type="text/javascript" src="js/jquery.cross-slide.js" language="javascript"></script>
<script type="text/javascript">
jQuery(function() {
jQuery('#ccc').crossSlide({
sleep: 5,
fade: 3
}, [
{ src: 'pictures/Croatia-2.jpg' },
{ src: 'pictures/Galapagos.jpg' },
{ src: 'pictures/Vietnam-Beach.jpg' },
{ src: 'pictures/Antarctica.jpg' },
{ src: 'pictures/Canada.jpg' },
{ src: 'pictures/Elephant Expeditions main page.jpg' },
{ src: 'pictures/Indochina main page.jpg' },
{ src: 'pictures/Laos main page.jpg' }
]);
});
</script>
This is the div:
<div id="ccc" class="contentdiv">Loading....</div>
Please help me.
Thank you very much in advance.