Forums

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

Home Forums JavaScript Anything Slider not working in IE 6 & 7, seems perfect in all other browsers. Re: Anything Slider not working in IE 6 & 7, seems perfect in all other browsers.

#127717
redzase
Member

hi, i get some trouble for my anythingslider in IE, i have remove comma at the end line but not working yet ..

This my script …

$(‘#slider’).anythingSlider({
resizeContents : false,
addWmodeToObject : ‘transparent’,
navigationFormatter : function(index, panel){ // Format navigation labels with text
return [index – 1];
},

// Autoplay video in initial panel, if one exists
onInitialized: function(e, slider) {
playvid(slider);
},
// pause video when out of view
onSlideInit: function(e, slider) {
var vid = slider.$lastPage.find(‘video’);
if (vid.length && typeof(vid[0].pause) !== ‘undefined’) {
vid[0].pause();
}
},
// play video
onSlideComplete: function(slider) {
playvid(slider);
},
// pause slideshow if video is playing
isVideoPlaying: function(slider) {
var vid = slider.$currentPage.find(‘video’);
return (vid.length && typeof(vid[0].pause) !== ‘undefined’ && !vid[0].paused && !vid[0].ended);
}

});

please give me the solution, and i’m sorry for my bad english thx