Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jana slide show

 
khaja sayyed
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends...

This is my image sliding script... i want to change the slide effect... can any body please help me... please...

[code]
<script type="text/javascript">
// initialize slideshow (Cycle)
jQuery(document).ready(function($) {
if ($('#Slides').length > 0) {
$('#Slides').cycle({
fx: 'fade',
speed: 750,
timeout: 4000,
randomizeEffects: false,
easing: 'easeOutCubic',
next: '.slideNext',
prev: '.slidePrev',
pager: '#SlidePager',
before: function() {
// reset the overlay for the next slide
jQuery('#SlideShow').css('cursor','default').unbind('click'); },
after: function() {
// get the link and apply it to the overlay
var theLink = jQuery(this);
var linkURL = (theLink) ? theLink.attr('href') : false;
if (linkURL) {
jQuery('#SlideShow').css('cursor','pointer').click( function() {
document.location.href = linkURL;
});
}
}
});
}
});
</script>
[code]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic