$(document).ready(function () { $(".marquee").marquee({ duration: 18000, delaybeforestart: 0, direction: 'right', pauseonhover: true }); $(".honor_marquee").marquee({ duration: 8000, delaybeforestart: 1, direction: 'up', pauseonhover: true }); $('.project_layout').jcarousellite({ auto: 2000, speed: 1600, visible: 4 }); $('#slideshow').cycle({ fx: 'fade', timeout: 3600 }); $('#slideshow1').cycle({ fx:'scrollleft,zoom,scrolldown,curtainx,scrollright,fade', randomizeeffects:false, timeout: 4300 }); $("#slideshow .slide-indicators img").click(function () { var image_ele = this; var index = parseint(image_ele.alt); var image_path_name = image_ele.src; if (image_path_name.indexof('active') == -1) { $('#slideshow').cycle(index); } return false; }); });