diff --git a/index.html b/index.html index 16c4707..a58c071 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ - - + + @@ -238,7 +238,10 @@ animateStep: function(event, cover, offset, isVisible, isMiddle, sin, cos) { if (isVisible) { if (isMiddle) { - $(cover).css('-webkit-filter', 'none'); + $(cover).css({ + 'filter': 'none', + '-webkit-filter': 'none' + }); } else { var brightness = 1 + Math.abs(sin), contrast = 1 - Math.abs(sin), diff --git a/jquery.coverflow.js b/jquery.coverflow.js index e3b988c..a6b4bb8 100644 --- a/jquery.coverflow.js +++ b/jquery.coverflow.js @@ -24,7 +24,7 @@ * @todo Automatic height? Set scaling * @todo Flat view if sufficient space * @todo Non-linear swipe - * @todo Callbacks for selected/inner/outer? + * @todo Replace _trigger with jqui 1.8- compatible */ ;(function($, undefined) { @@ -54,8 +54,8 @@ innerCss: undefined, outerCss: undefined, - animateStep: undefined, - animateComplete: undefined, + animateStep: undefined, + animateComplete:undefined, change: undefined, // Whenever index is changed select: undefined, // Whenever index is set (also on init)