JavaScript Progress Bar Tutorial | Loading animation progress bar [JS / CSS]

Поділитися
Вставка
  • Опубліковано 29 жов 2024

КОМЕНТАРІ • 6

  • @raymytech
    @raymytech 3 роки тому

    Urgent please, how to do this: at 1 to 10 percent (initializing) at 11 to 26 (working) at 70 (a pop up modal should come up) after clicking OK it should continue

  • @yuzhenwang8103
    @yuzhenwang8103 5 років тому

    Where is the github address? I want to try it myself, How does it get a downloading percentage from the server by constantly sending ajax request to the backend?

    • @BananaCoding
      @BananaCoding  5 років тому

      Here is the code: codepen.io/BananaCoding/pen/GRRvmod
      I think you have to get the downloades bytes (per second), divided by the filesize, and display it as number.

  • @janaroy3781
    @janaroy3781 4 роки тому

    for the getComputedStyle throwing error not sure why?

    • @BananaCoding
      @BananaCoding  4 роки тому

      You need to call it on the „window“ object

  • @raymytech
    @raymytech 3 роки тому

    Urgent please, how to do this: at 1 to 10 percent (initializing) at 11 to 26 (working) at 70 (a pop up modal should come up) after clicking OK it should continue