As the name suggests, this DHTML script gradually 'Reveals' the entire content within a web page. The script works with MSIE and Mozilla. This effect can be used in web pages easily. The script is very configurable. To initialise the script, first download the file reveal.js. Add the attribute-value pair <body scroll="no"> Place the following code in the BODY section of the page. <script language="JavaScript" src="reveal.js"></script>
To initialise the script you must place the following in the BODY section of the code: <script language="JavaScript" type="text/javascript">
//////////////////////////////////
// Customize Reveal //
//////////////////////////////////
/*
The following is required only if you
want the user to click to reveal the page
*/
var clickw=150; // Width
var clickh=20; // Height
var clickb=2; // Border width
var clickc="#000000"; // Border color
var clickbg="#000000"; // Background color
var clickt="Reveal!"; // Text to display
var clickFont="font-family:verdana,arial,helvetica; font-size:10pt; font-weight:bold;
Reload the page to see the script in action! |