Bootstrap progress bar

I’m trying to get a progress bar to work ( ), is this right?

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Assignment #7</title>
    <!-- Bootstrap -->
    <link href="../css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src=""></script>
      <script src=""></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
    width: "100%"
}, 3000 );
<div class="col-xs-12 col-sm-12 progress-container">
    <div class="progress progress-striped active">
        <div class="progress-bar progress-bar-success" style="width:0%"></div>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src=""></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="../js/bootstrap.min.js"></script>

Your progress bar seems to work fine, but is there a reason why you want it to only go 70% of the way across?

Sorry, didn’t explain myself.
I’m trying to replicate the progress bar (that only goes to 70%) Im trying to get that effect, heres whats in my

//animate progress bar
    width: "100%"
}, 3000 );
//make  the progress bar dissapear after 3 seconds
//show output div after 3 seconds
$( "#output" ).slideUp( 300 ).delay( 3000 ).fadeIn( 400 );


I really like this progress bar ( but im really confused on how to get it to work.
Heres my attempt…

Why don’t you post a screen shot of the working progress bar in action?

Never mind, the fiddle seems pretty clear :tongue:

Looks like you fixed it.

I tried a little while ago and a blank page was rendered. (though view-source was there).

But now the “invalid regex” error is gone :thumbsup:

yes, I didn’t have the link to jquery

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.