diff --git a/jquery.nivo.slider.js b/jquery.nivo.slider.js index 8b0a774..f08acb7 100644 --- a/jquery.nivo.slider.js +++ b/jquery.nivo.slider.js @@ -483,8 +483,10 @@ firstSlice = $('.nivo-slice:first', slider); firstSlice.css({ - 'width': '0px', - 'opacity': '1' + 'width': slider.width()*2, + 'opacity': '1', + 'left': '', + 'right': '0px' }); firstSlice.animate({ width: slider.width() + 'px' }, (settings.animSpeed*2), '', function(){ slider.trigger('nivo:animFinished'); }); @@ -659,4 +661,4 @@ $.fn._reverse = [].reverse; -})(jQuery); \ No newline at end of file +})(jQuery);