I recently came across a unique progress bar design on Gmail and wanted to implement something similar. I found some code snippets on this webpage: . However, I encountered an issue where the progress bar was only displaying in Internet Explorer but not in Google Chrome or Mozilla Firefox. Surprisingly, it did work in an older version of Google Chrome (version 41). If anyone could provide assistance with this, I would greatly appreciate it.
CSS :
.loader_box {
text-align: center;
width: 320px;
border: 1px solid #999;
padding: 1px;
height: 8px;
margin-right: auto;
margin-left: auto;
}
...
HTML :
<div class="loader_box">
<div class="loader"></div>
</div>
JavaScript :
<script>
var displayLoaderCount = 0;
function printMsg(message, clearQueue){
...
}
...
</script>