Hi there,
I've been trying to implement this:http://flowplayer.org/tools/demos/scrollable/ on one of my sites.
I can get the minimal version of the horizontal scrollable to work (in all browswers) however, when I use the easing function to allow circular scrolling, it works in IE7/8 but NOT in FF/Chrome...
Help! Does anyone have any ideas why? It's driving me mad! The code that I'm using is as specified on the standalone page, as below.
I've been trying to implement this:http://flowplayer.org/tools/demos/scrollable/ on one of my sites.
I can get the minimal version of the horizontal scrollable to work (in all browswers) however, when I use the easing function to allow circular scrolling, it works in IE7/8 but NOT in FF/Chrome...
Help! Does anyone have any ideas why? It's driving me mad! The code that I'm using is as specified on the standalone page, as below.
$.easing.custom = function (x, t, b, c, d) {
var s = 1.70158;
if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
}
// use the custom easing
$("div.scrollable").scrollable({easing: 'custom', speed: 700, circular: true});
