Jquery easing effect not smooth
I am developing a fancy website with an attractive design. I have used jquery easing effect to create page navigation sliding effect. Due to the high res background images the easing effect is not smooth but hindering like as if someone is pushing the slides.
To overcome this problem I had used jquery preload script. Click here to view the source.
(function($) {
var cache = [];
// Arguments are image paths relative to the current page.
$.preLoadImages = function() {
var args_len = arguments.length;
for (var i = args_len; i–;) {
var cacheImage = document.createElement(‘img’);
cacheImage.src = arguments[i];
cache.push(cacheImage);
}
}
})(jQuery)
jQuery.preLoadImages(“image1.gif”, “/path/to/image2.png”);