codrops / Elastislide

Elastislide is a responsive image carousel that will adapt fluidly in a layout. It is a jQuery plugin that can be laid out horizontally or vertically with a pre-defined minimum number of shown images
362 stars 111 forks source link

Problem with Firefox on first load #20

Open 2can opened 10 years ago

2can commented 10 years ago

Hi,

elastislide doesn't work while it's loaded for the first time on Firefox. If I reload page it works, problem exists only for first load of specific page. Looks like if the page is in cache it works correctly.

Checked on FF 26.

To replicate problem:

  1. close Firefox
  2. open Firefox in Private Window
  3. go to http://tympanus.net/Development/Elastislide/index4.html
fishnyc22 commented 10 years ago

Also seeing an issue with firefox. It sometimes slides with animation and sometimes it doesn't (more often it doesn't). Also when I resize the window it doesn't seem to reset the slider to be beginning. Any ideas whats happening here? any help is appreciated.

marbuzova commented 10 years ago

Hi,

Has this bug been resolved?

2can commented 10 years ago

For me it works while page is fully loaded

$(window).load(function() {
  return $('#image-carousel').elastislide();
});
marbuzova commented 10 years ago

That worked, thanks!

marbuzova commented 10 years ago

I noticed this fix significantly hinders carousel load time as it has to wait until the entire page is loaded.

mattcph commented 9 years ago

This issue still exists btw