Home › Forums › JavaScript › Syntax Error › Re: Syntax Error
June 7, 2012 at 4:41 pm
#104068
karlpcrowley
Participant
Hey, try this
$(function() {
$('#slider1').anythingSlider({
mode: 'f',
resizeContents: false,
navigationSize: 20,
navigationFormatter: function(index, panel) {
return [index - 4];
},
onSlideBegin: function(e, slider) {
// keep the current navigation tab in view
slider.navWindow(slider.targetPage);
//video
resumeOnVideoEnd = true;
resumeOnVisible = true;
//**ERROR ON THIS LINE**
addWmodeToObject = "opaque";
isVideoPlaying = function(base) {
return false;
};
}
});
});