I have a webpage running 2 different scripts. When I added the Gallery module to the page, the Showtime module stopped working.
Below are the scripts. Is there any way to easily alter the code so that they don't conflict?
SHOWTIME MODULE
Code: Select all
<__script__ type="text/javascript">
$(document).ready(function(){
var lastslide=0;
$('ul#slides_7').cycle({
fx: 'curtainX',
speed: 1000,
timeout: 5000,
pagerEvent: 'mouseover',
fastOnEvent: false,
pause: 1,
pauseOnPagerHover: 1,
prev: '#prev_7',
next: '#next_7'
});
$("#slideshow_7").hover(function() {
$("ul#prevnextnav_7").fadeIn();
},
function() {
$("ul#prevnextnav_7").fadeOut();
});
});
</__script>
Code: Select all
<__script__ type="text/javascript">
$(function() {
var galleries = $('.ae-gallery').aeGallery({
loader_image: 'modules/Gallery/templates/ae-gallery/loader.gif',
slideshow: {
autostart: false,
speed: 4000,
start_label: 'Start',
stop_label: 'Stop',
stop_on_scroll: false
}
});
});
</__script>


