I'm not clear on the sequence of events. If you want three links each going to a different page, and you want the user to see the progress bar first, you could have it be activated by the links, example link:
HTML Code:
<a href="some.htm" onclick="progressBarInit.loc = this.href;progressBarInit();return false;">
Text or Image Here</a>
Then in the action area:
Code:
var action=function()
{
//alert("Welcome to Dynamic Drive!");
window.location = progressBarInit.loc;
}
If you were to do it this way, you would also want to remove:
Code:
window.onload=progressBarInit;
from the end of the script.
Bookmarks