Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Page Title</title>
  5. </head>
  6. <body>
  7. <BODY BGCOLOR="Black">
  8. <marquee direction="right" scrollamount="2" align="center" behavior="alternate"><style type="text/css">
  9. #highlight{font:bold 30px Impact,Arial,Sans-Serif;}
  10. </style>
  11. <script language="javascript" type="text/javascript">
  12. var teks="»»»»ENDY««««" // teks Anda di sini
  13. var speed=25 // atur kecepatan perubahan warna
  14. if (document.all||document.getElementById) {
  15. document.write('<span id="highlight">' + teks + '</span>')
  16. var storetext=document.getElementById? document.getElementById("highlight") :
  17. document.all.highlight
  18. } else document.write(text)
  19. var hex=new Array("00","14","28","3C","50","64","78","8C","A0","B4","C8","DC","F0")
  20. var r=1
  21. var g=1
  22. var b=1
  23. var seq=1
  24. function changetext() {
  25. rainbow="#"+hex[r]+hex[g]+hex[b]
  26. storetext.style.color=rainbow
  27. }
  28. function change() {
  29. if (seq==6) {
  30. b--
  31. if (b==0)
  32. seq=1
  33. }
  34. if (seq==5) {
  35. r++
  36. if (r==12)
  37. seq=6
  38. }
  39. if (seq==4) {
  40. g--
  41. if (g==0)
  42. seq=5
  43. }
  44. if (seq==3) {
  45. b++
  46. if (b==12)
  47. seq=4
  48. }
  49. if (seq==2) {
  50. r--
  51. if (r==0)
  52. seq=3
  53. }
  54. if (seq==1) {
  55. g++
  56. if (g==12)h
  57. seq=2
  58. }
  59. changetext()
  60. }
  61. function starteffect() {
  62. if (document.all||document.getElementById)
  63. flash=setInterval("change()",speed)
  64. }
  65. starteffect()
  66. </script> </marquee>
  67.  
  68. <FONT COLOR="red"><FONT SIZE="7"><p><center>~~VIII C~~</center></p> </FONT></FONT>
  69. </body>
  70. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement