Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <h2 align="center">
- <script language="JavaScript1.2">
- var message="Welcome to Drop Box Homepage!"
- var neonbasecolor="blue"
- var neontextcolor="green"
- var flashspeed=100
- var n=0
- if (document.all||document.getElementById){
- document.write('<font color="'+neonbasecolor+'">')
- for (m=0;m<message.length;m++)
- document.write('<span id="neonlight'+m+'">'+message.charAt(m)+'</span>')
- document.write('</font>')
- }
- else
- document.write(message)
- function crossref(number){
- var crossobj=document.all? eval("document.all.neonlight"+number) : document.getElementById("neonlight"+number)
- return crossobj
- }
- function neon(){
- //Change all letters to base color
- if (n==0){
- for (m=0;m<message.length;m++)
- //eval("document.all.neonlight"+m).style.color=neonbasecolor
- crossref(m).style.color=neonbasecolor
- }
- //cycle through and change individual letters to neon color
- crossref(n).style.color=neontextcolor
- if (n<message.length-1)
- n++
- else{
- n=0
- clearInterval(flashing)
- setTimeout("beginneon()",1500)
- return
- }
- }
- function beginneon(){
- if (document.all||document.getElementById)
- flashing=setInterval("neon()",flashspeed)
- }
- beginneon()
- </script>
- </h2>
- <meta charset="utf-8" />
- <title>CSS3 Forms</title>
- <link rel="stylesheet" href="css/CSS3.css" type="text/css" />
- </head>
- <body>
- <div class="wrapper">
- <h3 align="center">create an account</h3>
- <form id="form" action="" method="" name="" align="center">
- <label for="input-1" align="center">FirstName</label>
- <input type="text" firstname="input-1" id="input-1" /><br><br><br>
- <form id="form" action="" method="" lastname="">
- <label for="input-2" align="center">LastName</label>
- <input type="text" lastname="input-2" id="input-2" /><br><br><br>
- <form id="form" action="" method="" password="">
- <label for="input-3" align="center">Password</label>
- <input type="text" lastname="input-3" id="input-3" /><br><br><br>
- <label for="input-4" align="center">E-mail</label>
- <input type="text" name="input-4" id="input-4" />
- <input type="submit" name="submit" id="submit" value="Submit">
- </form><br><br>
- <form>
- <input type="checkbox" name="terms and condition" value="Terms">I agree to drop box terms<br>
- </form>
- </div>
- </html>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement