简体   繁体   中英

Javascript slider not sliding, how to tell if there is a JS conflict?

I have an existing website that the image slider no longer performs its slideshow function or slide arrow no longer advance the slideshow. I'm assuming another script is causing this one to malfunction. Can anyone tell me how or take a look and tell me where the problem is from a browser by chance?

URL:

您可以使用jQuery.noConflict()

I have faced similar problem. but since we added the noConflict, this code needs to change... change the "$" into "jQuery" to fix that one error.

$(document).ready(function() {
$('#slider .scroll').slide(1, 10000);
});

change to:

jQuery(document).ready(function() {
jQuery('#slider .scroll').slide(1, 10000);
});

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM