SHARE
TWEET

Untitled

a guest Apr 19th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2. <head>
  3. <script>
  4. a_link=new Array()
  5. a_link[0]='yellow'
  6. a_link[1]='#80FF80'
  7. a_link[2]='#FFFF80'
  8. a_link[3]='#408000'
  9. a_vlink=new Array()
  10. a_vlink[0]='blue'
  11. a_vlink[1]='purple'
  12. a_vlink[2]='black'
  13. a_vlink[3]='red'
  14. function colorch() {
  15. alink=Math.round((a_link.length+0.1)*Math.random())
  16. vlink=Math.round((a_vlink.length+0.1)*Math.random())
  17.  document.linkColor=a_link[alink]
  18.  document.vlinkColor=a_vlink[vlink]
  19. }
  20. </script>
  21. </head>
  22. <body>
  23.     <ul>
  24.         <li><a href="http://htmlbook.ru/">ТЫЫЫЫЫЫЫЫККККК</a></li>
  25.         <li><a href="http://htmlbook.ru/">ТЫЫЫЫЫЫЫЫККККК</a></li>
  26.         <li><a href="http://htmlbook.ru/">ТЫЫЫЫЫЫЫЫККККК</a></li>
  27.     </ul>
  28.     <script>
  29.         setInterval("colorch    ()",100)
  30.     </script>
  31. </body>
  32. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top