Forums

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

Home Forums JavaScript Anythingslider problem – Active page Re: Anythingslider problem – Active page

#91990
quantum4
Member

Mottie,

Do you mean like this:

		// Set up Sliders
// **************
$(function(){

$('#slider').anythingSlider({
theme : 'cs-portfolio',
easing : 'linear',
buildNavigation : false,
buildStartStop : false,
onSlideInit: function(e, slider) {
$('#externalNav').find('a')
.removeClass('current')
.eq(slider.currentPage - 1).addClass('current');
},


// (swipe for ifags)
clickForwardArrow: "click",
clickBackArrow: "click",
clickControls: "click focusin",
resumeOnVideoEnd: true,
addWmodeToObject: "opaque",

});

});