22
rated 0 times
[
25]
[
3]
/ answers: 1 / hits: 38293
/ 14 Years ago, tue, october 26, 2010, 12:00:00
I don't understand what I'm doing wrong here... line 3 is reporting missing : after property ID
$(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);
}
});
});
More From » jquery