That's acceptable, but not required. Try this out:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script language="javascript" src="xp_progress.js">
/***********************************************
* WinXP Progress Bar- By Brian Gosselin- http://www.scriptasylum.com/
* Script featured on Dynamic Drive- http://www.dynamicdrive.com
* Please keep this notice intact
***********************************************/
</script>
</head>
<body>
<script type="text/javascript">
function redirectpage(){
/*@cc_on @*/
/*@if(@_jscript_version >= 5)
redirectpage.ie = true;
@end @*/
if(!redirectpage.ie){
bar3.togglePause();
bar3.hideBar();
bar3.ctr = 0;
}
window.location = redirectpage.url;
}
var bar3 = createBar(320,15,'white',1,'black','red',85,7,5,"redirectpage()");
bar3.hideBar();
bar3.togglePause();
function progresslink(url){
redirectpage.url = url;
bar3.showBar();
bar3.togglePause();
}
</script>
<a href="http://www.yahoo.com/" onclick="progresslink(this.href);return false;">Yahoo</a>
<a href="http://www.google.com/" onclick="progresslink(this.href);return false;">Google</a>
<a href="http://www.dynamicdrive.com/" onclick="progresslink(this.href);return false;">Dynamic Drive</a>
</body>
</html>
Bookmarks