http://www.dynamicdrive.com/dynamici...tentglider.htm
This is not a bug or question post. I have added 2 features and wanted to contribute them (not sure if this is the right place or not).
Feature 1 - Delay the initial slide action so the glider doesn't immediately slide when the page is loaded. The first slide action should occur after the specified delay
In the init script:
In FeaturedContentGlider.jsCode:featuredcontentglider.init({... autorotatedelayfirst: true //Delay the first transition so it doesn't occur immediately })
Feature 2 - Add a callback after the slide action finishesCode:setuptoggler:function($, config){... config.$togglerdiv.fadeIn(1000, function(){ config.autorotatedelayfirst ? config.nextslideindex = config.selected : featuredcontentglider.glide(config, config.selected)
In the init script
In FeaturedContentGlider.jsCode:featuredcontentglider.init({... finished_callback: function(selector) { loadSliderAjax(selector); }
Code:var featuredcontentglider={... if (config.$togglerdiv.attr('lastselected')==null || parseInt(config.$togglerdiv.attr('lastselected'))!=selected){... if (config.finished_callback != null) config.finished_callback($target);



Reply With Quote

Bookmarks