我不明白我在这里做错什么…第3行报告错误:物业编号后
$(document).ready(function() { $('#imagegallery img').each(function({$(this).css({ width: '100%'});}); $('#imagegallery').cycle({ timeout: 0,fx: 'scrollHorz',width: '100%',height: 'auto',next: '.next',prev: '.prev' }); $("#imagegallery").touchwipe({ wipeLeft: function() { $("#imagegallery").cycle("next"); },wipeRight: function() { $("#imagegallery").cycle("prev"); } }); });