File: index.html

Recommend this page to a friend!
  Classes of Pravin Sonawane   Simple JavaScript Loader   index.html   Download  
File: index.html
Role: Example script
Content type: text/plain
Description: Index file
Class: Simple JavaScript Loader
Show and hide loaders and other page elements
Author: By
Last change:
Date: 8 years ago
Size: 763 bytes
 

Contents

Class file image Download
<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>