Giter Site home page Giter Site logo

Comments (5)

vadimsva avatar vadimsva commented on June 16, 2024

Plugin use css3 animation, and works on all browsers and IE10+.

from waitme.

ttelang avatar ttelang commented on June 16, 2024

It should be possible to convert its CSS3 animation to animation effects based on jquery. Let me give it a try.

from waitme.

vadimsva avatar vadimsva commented on June 16, 2024

jquery animation is very slow and I don't see any reason to support older browsers, such as ie8-9. But You can do this for yourself

from waitme.

ttelang avatar ttelang commented on June 16, 2024

Below is an example code snippet of how to get the loading animation work in all the browsers (including IE <10 ). This makes use of the Spin.js & Modernizr library available at following URLs:

<script src="./libs/modernizer/modernizr-2.6.2.min.js" charset="utf-8"></script>
<script src="./libs/spin.js/spin.min.js"></script>
<script>
if (!Modernizr.cssanimations || !Modernizr.csstransitions){
   // show progress bar for older browsers
    new Spinner().spin(document.body);
 } else {
    $('body').waitMe({
          effect: 'ios',
          bg: 'rgba(255,255,255,0.7)',
          color: '#000',                            
     });
}
</script>

from waitme.

vadimsva avatar vadimsva commented on June 16, 2024

Also you can use image as animation (gif, svg, ...)
Demo uses jquery 2.x, that without support <ie8

from waitme.

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.