mikeskin
04-01-2010, 12:33 AM
Hi,
***PLEASE NOTE THAT I REPOSTED THIS IN THE JQUERY FORUM AT THE RECOMMENDATION OF ONE OF THE SENIOR MEMBERS OF THIS FORUM**
I am working with a template I purchased that will loop a series of header images. I like to stop the image series from going back to the beginning once the series of images cycles through.
For instance, if there were 3 images in the sequence; currently the script cycles through all 3 images and then starts from the beginning. I would like the script to stop on the last image (so that image stays displayed) and not start the sequence again from the beginning. I couldn't get any support for hacking this script from the developers.
Here is the relevant code:
<script type='text/javascript'>
/* <![CDATA[ */
jQuery(document).ready(
function() {
jQuery('#featured-images-rotator').crossSlide(
{sleep: <?php echo $this->_options['sleep']; ?>, fade: <?php echo $this->_options['fade']; ?><?php echo $target; ?>},
[
<?php echo "$list\n"; ?>
]
);
}
);
/* ]]> */
</script>
I am attaching the original file where this snippet of code was extracted from.
Thanks for looking at this.
***PLEASE NOTE THAT I REPOSTED THIS IN THE JQUERY FORUM AT THE RECOMMENDATION OF ONE OF THE SENIOR MEMBERS OF THIS FORUM**
I am working with a template I purchased that will loop a series of header images. I like to stop the image series from going back to the beginning once the series of images cycles through.
For instance, if there were 3 images in the sequence; currently the script cycles through all 3 images and then starts from the beginning. I would like the script to stop on the last image (so that image stays displayed) and not start the sequence again from the beginning. I couldn't get any support for hacking this script from the developers.
Here is the relevant code:
<script type='text/javascript'>
/* <![CDATA[ */
jQuery(document).ready(
function() {
jQuery('#featured-images-rotator').crossSlide(
{sleep: <?php echo $this->_options['sleep']; ?>, fade: <?php echo $this->_options['fade']; ?><?php echo $target; ?>},
[
<?php echo "$list\n"; ?>
]
);
}
);
/* ]]> */
</script>
I am attaching the original file where this snippet of code was extracted from.
Thanks for looking at this.