<html>
<head>
<title>Simple JavaScript Loader</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="myloader.js"></script>
<script language="javascript" type="text/javascript">
myObject = new myloader();
</script>
</head>
<body>
<input name="btnLoad" type="button" value="Show Loader for 5 Seconds" onClick="javascript: myObject.showloader();">
<div id="loader_outer"></div>
<div id="loader_inner">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td align="center" width="20"> <img src="loader.gif" border="0"/> </td>
<td align="left"> <span id="loader_message">Loading...</span> </td>
</tr>
</table>
</div>
</body>
</html>
|