Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to show animated image upload status bar

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 253
    Comment on it

    Hello Reader's if you are making the file upload in html form, Then you can also show the status of the file to upload. Lets see the example code as below:-

    <!DOCTYPE html>
    <html lang="en">
    <head>
    
      <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
      <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
    </head>
    <body>
    
    <div class="container">
      <h2>Example for animated file upload</h2>
      <p>The .active class animates the progress bar:</p> 
      <div class="progress">
        <div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="70" style="width:17%">
          17%
        </div>
      </div>
    </div>
    
    </body>
    </html>
    

    Output:-

    Bootstrap Example <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>

    Example for animated file status

    The .active class animates the progress bar:

    40%

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: