Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Syntax Error Re: Syntax Error

#104070
karlpcrowley
Participant

Hmm, how about this

$(function() {
$('#slider1').anythingSlider({
mode: 'f',
resizeContents: false,
navigationSize: 20,
resumeOnVideoEnd: true,
resumeOnVisible: true,
addWmodeToObject: "opaque",
navigationFormatter: function(index, panel) {
return [index - 4];
},
onSlideBegin: function(e, slider) {
slider.navWindow(slider.targetPage);
},
isVideoPlaying: function(base) {
return false;
}
});
});‚Äč