Hey, okay as I said in the title I already got a working fake progressbar.
<html>
<head>
<style type="text/css">
#progress-bar-wrapper
{
width: 500px;
height: 2px;
}
#progress-bar
{
background-color: #a1cee8;
width: 100%;
height: 100%;
}
</style>
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript">
$(function() { animateProgressBar() });
function animateProgressBar()
{
$("#progress-bar")
.css("width", "0%")
.animate(
{
width: "100%"
},
1550, //Speed of loading bar
animateProgressBar);
}
</script>
</head>
<body>
<div id="progress-bar-wrapper">
<div id="progress-bar"></div>
</div>
</body>
</html>
This progressbar is being put in a pre-loader-site and what I want it to do is that once it reaches 100%, it must stop and then reload/redirect the user to the next site..
I have this idea in mind, but I guess it has to be changed a bit in order to be applied: Progressbar loads, reaches 100% (this happens succesfully with the code provided above), however, it must stop at 100%. AND when it does, it must load an immediate redirection to the next site.
Hope everything is clear, thank you very much! Chris