Giter Site home page Giter Site logo

Initial Load about nivo-slider-jquery HOT 6 CLOSED

codeinwp avatar codeinwp commented on June 14, 2024
Initial Load

from nivo-slider-jquery.

Comments (6)

gilbitron avatar gilbitron commented on June 14, 2024 1

I've updated the style pack with a new loading.gif. Simply add "display:none" to the Slider images and set the background of the slider to the loading.gif. That way no images will show until the slider has loaded.

from nivo-slider-jquery.

hellopablo avatar hellopablo commented on June 14, 2024

Are you using $(window).load - that fires once all document resources (images, etc) have fully loaded.

from nivo-slider-jquery.

tcurdt avatar tcurdt commented on June 14, 2024

Actually I think using this approach would be much better.

http://ynzi.com/works/5-jquery/11-jquery-dynamic-slideshow

from nivo-slider-jquery.

catrionabarry avatar catrionabarry commented on June 14, 2024

Firstly - thanks for such a great resource. The slideshow is really excellent. Sorry maybe this is really dumb question. My slides are still flashing on load. When you say "You can help this by manually applying the above CSS styles to stop the images flashing on the page before the plugin loads." - I simply added the CSS to the header before the $(window).load script. This hasn't fixed the problem. Can you advise? Thanks so much!

from nivo-slider-jquery.

heliostatic avatar heliostatic commented on June 14, 2024

The style pack is great. However, if the images are large it now takes a long time before any images are displayed. Is there a way to display the images progressively? I understand that there isn't if using $(window).load, but I don't know enough to know if there is a different approach, either.

from nivo-slider-jquery.

tab-zz-ookey avatar tab-zz-ookey commented on June 14, 2024

Please use $(window).load() instead of $(document).ready(). Document ready does not work the first time you load the page and images are not cached.

from nivo-slider-jquery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.