Special Full Page Messages - Give your visitors a full page message that is sure to get their attention!
Compatible Modern Browsers:
Chrome BrowserFirefox BrowserInternet Explorer BrowserOpera BrowserSafari Browser
Example: View Code Demo
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.1 Transitional//EN"> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>Special Full Page Messages</title> <style> html {margin:0; padding:0;} BODY {font-family:verdana,arial,ms sans serif; font-size:100%; background-color:#ffffff; color:#000000; text-shadow:0px 1px 1px rgba(0,0,0,0.2);} a {color:#69C;text-decoration:none;} a:hover {color:#F60; text-decoration:underline;} #wrapper {margin:0; padding:15px 15px 15px 15px;} </style> </head> <body> <div id="wrapper"> <h3>Special Full Page Messages</h3> <p>Give your visitors a full page message that is sure to get their attention!</p> <p><b>Example:</b> <script> <!-- Begin Special Full Page Messages // == This Script Free To Use Providing This Notice Remains == // // == This Script Has Been Found In The http://snapbuilder.com Free Public Codes Library == // // == NOTICE: Though This Material May Have Been In A Public Depository, Certain Author Copyright Restrictions May Apply == // // == Created by: Gene Davis : http://www.csgnetwork.com : Creative Commons License 3.0+ == // var snapbuilder_window; function MatrixWrite(string, bold, italic, speed) { var height = window.screen.height; var width = window.screen.width; var win_dimensions = "height = " + eval(height + 10) + ", width = " + eval(width + 30); snapbuilder_window = window.open("blankpage.html", "snapbuilder_window", win_dimensions); snapbuilder_window.document.open("text/html", "replace"); var i; var timer = 0; if(snapbuilder_window.moveTo) snapbuilder_window.moveTo(-10, -30); if(snapbuilder_window.resizeBy) snapbuilder_window.resizeBy(0, 50); snapbuilder_window.document.write("<body bgcolor=003300 text=ffcc00 onBlur='self.focus()'>"); snapbuilder_window.document.write("<font face=verdana size=5>"); if(bold == true) snapbuilder_window.document.write("<b>"); if(italic == true) snapbuilder_window.document.write("<i>"); for(i = 0; i <= string.length; i++) { timer += (Math.random() * speed); setTimeout("snapbuilder_window.document.write('" + string.charAt(i) + "');", timer); } timer += 500; setTimeout("snapbuilder_window.close()", timer); } var messages = new Array("Welcome to SnapBuilder.com", "Our domain name is owned by Designer Wiz Web Productions", "Please come back often... we add a lot of interaction scripts to our archives!!"); function GetRndIndex() { return (parseInt(Math.random() * messages.length)); } function WriteRndMsg(bold, italic, speed) { MatrixWrite(messages[GetRndIndex()], bold, italic, speed); } // --> </script> <a href="javascript:WriteRndMsg(true, false, 200)"><b>Random Message 1</b></a><br> <a href="javascript:WriteRndMsg(true, true, 200)"><b><i>Random Message 2</i></b></a><br> <a href="javascript:MatrixWrite('You can change the speed, font, background and text colors also.', false, false, 200)">Welcome Message</a> </p> <br /><br /> <div id="snippet"> [ This code example from <a href="http://snapbuilder.com/code_snippets/copy_code_snippet_239.html">Special Full Page Messages Code Snippet</a> page. ] </div> </div> </body> </html>