stevenwanderski / bxslider-4

Responsive jQuery content slider
Other
4.22k stars 1.85k forks source link

Feature Requests: dynamically set fade speed #829

Open jmp909 opened 9 years ago

jmp909 commented 9 years ago

Hi,

I've managed to create a lazyloading version of the fade slider by jquery clone-ing the current image into the next slide, showing a preloader and then running my own fade when the new image is lazyloaded. bit of a fudge but it works

it's a minor issue but by doing it this way, bxslider tries to fade between 2 copies of the same image, which gives a slight white flash. If I could dynamically set the speed to 0 initially, you wouldn't see the flash and then I could reset it to whatever speed I need for any images that are already loaded.

really what I need to implement pre-transition lazyloading is pauseTransition() and resumeTransition() callbacks but that's another issue ;)

thanks for your support on this plugin

J

ppowalowski commented 9 years ago

See #825 for this. It would be very helpful to search issues and PRs before opening a topic as the project is already drowning in issues.

edit: My fork currently has incorporated this feature (actually the feature was developed for this very purpose) so you can test out and comment if it works for you.

Thanks