Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
- <html><head>
- <title>Different Quote On Page Load</title>
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- <meta name="generator" content="CoffeeCup HTML Editor (www.coffeecup.com)">
- <meta name="created" content="Sun, 25 Mar 2012 15:16:42 GMT">
- <meta name="description" content="">
- <meta name="keywords" content="">
- <meta name="classification" content="Design">
- <meta name="distribution" content="Global">
- <meta name="rating" content="General">
- <meta http-equiv="Content-Language" content="English">
- <meta name="resource-type" content="document">
- <meta name="author" content="PayneLess Designs">
- <meta name="copyright" content="Jan 2004 to present.">
- <meta name="robots" content="all">
- <meta name="revisit-after" content="180 days">
- <script type="text/JavaScript">
- var a = Math.random() + ""
- var rand1 = a.charAt(5)
- quotes = new Array
- quotes[1] = "MESSAGE #1"
- quotes[2] = "MESSAGE #2"
- quotes[3] = "MESSAGE #3"
- quotes[4] = "MESSAGE #4"
- quotes[5] = "MESSAGE #5"
- quotes[6] = "MESSAGE #6"
- quotes[7] = "MESSAGE #7"
- quotes[8] = "MESSAGE #8"
- quotes[9] = "MESSAGE #9"
- quotes[0] = "MESSAGE #10"
- var quote = quotes[rand1]
- </script>
- <!--[if IE]>
- <link rel="stylesheet" type="text/css" href="css_IE-only.css">
- <![endif]-->
- </head><body>
- <script type="text/JavaScript">
- document.write("<div style='width: 400px; height: 3em; margin: 0 auto; padding: 0.25em; border: 1em ridge #0f0; text-align: center; background: #000; font-style: italic; font-size: 2em; color: #fff;'>" + quote + "</div>")
- </script>
- </body></html>
Advertisement
Add Comment
Please, Sign In to add comment