Friday, July 27, 2012

JQuery Cycle problem in Chrome

Hello world, this is my first post with english. I will start with JQuery problem, when i used slider framework with jquery.cycle.js i got problem, the problem is slider not work normally or broken. but only for chrome browser other browser work well. this the default code:
$(document).ready(function() {

   // slider code

});
so, i change code above with bellow:
$(window).load(function(){

 // slider code

});
and my slider work well in all browser. 1st code Javascript code will process when all component ready / already loaded. 2nd code slider will process when page is loaded.

No comments:

Post a Comment