javascript - Trying to use :not to select ids and have the respective slideshows turn off -
this not being recognised. syntax error saying
illegal character on column 29. when clicking button (#c1 - #c4) slider stops. believe isn't recognising not.
$('div.nivoslider:not('#c' + id)').data('nivoslider').stop(); yet start specific slideshow working.
$('#c' + id).nivoslider({ effect: 'fade' }); i have slider #c1 starting on load. thank you.
looking @ code, cutting off string early. (look @ syntax highlighting colors here clue)
try this:
$('div.nivoslider:not(#c' + id + ')').data('nivoslider').stop();
Comments
Post a Comment