Advertisement
M00371202

coreswork2 documentation

Nov 11th, 2013
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.37 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <h2 align="center"; font-size="50px"; >
  5.  
  6.  
  7. <script language="JavaScript1.2">
  8. // this is the java code where it is used to display the following message with two different colors.//
  9.  
  10. var message="Welcome to Drop Box Homepage!"
  11. var neonbasecolor="blue"
  12. var neontextcolor="white"
  13. var flashspeed=150
  14.  
  15.  
  16. var n=0
  17. if (document.all||document.getElementById){
  18. document.write('<font color="'+neonbasecolor+'">')
  19. for (m=0;m<message.length;m++)
  20. document.write('<span id="neonlight'+m+'">'+message.charAt(m)+'</span>')
  21. document.write('</font>')
  22.  
  23. }
  24. else
  25. document.write(message)
  26.  
  27. function crossref(number){
  28. var crossobj=document.all? eval("document.all.neonlight"+number) : document.getElementById("neonlight"+number)
  29. return crossobj
  30. }
  31.  
  32. function neon(){
  33.  
  34. //Change all letters to base color
  35. if (n==0){
  36. for (m=0;m<message.length;m++)
  37. //eval("document.all.neonlight"+m).style.color=neonbasecolor
  38. crossref(m).style.color=neonbasecolor
  39. }
  40.  
  41. //cycle through and change individual letters to neon color
  42. crossref(n).style.color=neontextcolor
  43.  
  44. if (n<message.length-1)
  45. n++
  46. else{
  47. n=0
  48. clearInterval(flashing)
  49. setTimeout("beginneon()",1500)
  50. return
  51. }
  52. }
  53.  
  54. function beginneon(){
  55. if (document.all||document.getElementById)
  56. flashing=setInterval("neon()",flashspeed)
  57. }
  58. beginneon()
  59.  
  60. </script>
  61.  
  62. </h2>
  63. // this is css style code
  64. <meta charset="utf-8" />
  65. <title>CSS3 Forms</title>
  66. <link rel="stylesheet" href="css/CSS3.css" type="text/css" />
  67.  
  68.  
  69. <body style="background-color:gray;">
  70.  
  71. <style>
  72.  
  73. body
  74. {
  75.  
  76. background-image:url('blueriver.jpg');
  77. background-color:#cccccc;
  78. background-repeat:repeat-y,x;
  79. background-position: centre centre;
  80.  
  81.  
  82. </style>
  83.  
  84.  
  85. <div id="container" style="width:900px" align="center">
  86.  
  87. <div id="header" style="background-color:red;">
  88. <h1 style="margin-bottom:0;font-family:arial;color:orange;font-size:40px;"> Drop-Box</h1></div>
  89.  
  90.  
  91. <div id="menu" style="background-color:green;height:500px;width:200px;float:left;">
  92. // the following code is used to use for buttons and page navigation//
  93. <button type="button" onclick=; <a href="index.html">Home</button><br></a>
  94. <button type="button" onclick><a href="about.html">About Us</button><br>
  95. <button type="button" onclick><a href="register.html">Register</button><br>
  96. <button type="button" onclick><a href="contact.html">Contact</button><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  97.  
  98. // the below code is for hyperlinks or loading different types of files//
  99. <a href="challenges.pdf">pdf file</a><br>
  100. <a href="storyboard.docx">docx file</a><br>
  101. <a href="Group presentation.pptx">pptx file</a><br>
  102.  
  103. // this code shows that I have used download link that let the user to download dropbox from dropbox website//
  104. <a href="https://www.dropbox.com/downloading">Download DropBox</a>
  105.  
  106. </div>
  107.  
  108. // this is about the content sections bkd color and size and align
  109. <div id="content" style="background-color:#EEEEEE;height:500px;width:700px;float:left;" align="center">
  110.  
  111. // this code shows that I have added a heading with center align and added a gif image where I changed the size of the image//
  112. <h3 align="center">create an account</h3>
  113. <img src="dbox.gif" alt="DropBox" width="150" height="150" align="left">
  114.  
  115. // in here I have used some forms and lables for sign up
  116. <form id="form" action="" method="" name="" align="center">
  117. <label for="input-1" align="center">FirstName</label>
  118. <input type="text" firstname="input-1" id="input-1" /><br><br>
  119.  
  120. <form id="form" action="" method="" lastname="">
  121. <label for="input-2" align="center">LastName</label>
  122. <input type="text" lastname="input-2" id="input-2" /><br><br>
  123. <form <p> Password: <input type=password name=passwd>
  124. // br is used for adding space between line or forms
  125. <br><br>
  126.  
  127.  
  128. <label for="input-4" align="center">E-mail</label>
  129. <input type="text" name="input-4" id="input-4" /><br><br>
  130.  
  131. <input type="submit" name="submit" id="submit" value="Submit"><br><br><br>
  132. <form>
  133. // this is using check box code that let the user to tick while he or she is about to accept the dropbox terms and conditions//
  134. <input type="checkbox" name="Dropbox Terms" value="Terms"><a href="https://www.dropbox.com/terms/"> I agree to Dropbox terms</a>
  135.  
  136. </form><br><br><br><br><br><br><br><br></br>
  137.  
  138.  
  139.  
  140.  
  141. </div>
  142. </body>
  143. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement