Advertisement
Biosek

Untitled

Apr 19th, 2013
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1.  
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Soe.cz</title>
  7. <link rel="stylesheet" href="style.css" type="text/css" />
  8. <script type="text/javascript" src="jquery.js"></script>
  9. <script type="text/javascript" src="jquery.color.js"></script>
  10. <script type="text/javascript">
  11. $(document).ready(function(e) {
  12. $("#bg").fadeOut(1);
  13. });
  14. var waiting=0,glow_visible=0,animlen=400, timeout;
  15. function glow(elm, clr){
  16. if(waiting){
  17. waiting=0;
  18. clearTimeout(timeout);
  19. }
  20. obj=$("#bg");
  21. x=$(elm).offset().left;
  22. y=$(elm).offset().top - 240 + 15;
  23.  
  24. if(glow_visible){
  25. //document.getElementById("info").value = "x:"+ x + ", y:"+y;
  26. obj.dequeue().animate({top: y, left: x, backgroundColor: clr}, animlen).fadeIn(animlen);
  27. } else {
  28. obj.css("top", y).css("left", x).css("background-color", clr).fadeIn(animlen);
  29. glow_visible=1;
  30. }
  31. }
  32.  
  33. function unglow(){
  34. timeout=setTimeout("unglow_make()", 2*animlen);
  35. waiting=1;
  36. }
  37. function unglow_make(){
  38. waiting=0;
  39. $("#bg").fadeOut(animlen);
  40. glow_visible=0;
  41. }
  42. </script>
  43. </head>
  44.  
  45. <body>
  46. <div id="logo"><img src="img/logo.png" alt="" /></div>
  47. <div id="grid_container">
  48.  
  49. <ul>
  50. <li><a href="http://cs.soe.cz/amxbans6" title="" onmouseover="glow(this, 'rgba(255, 230, 50, 0.7)')" onmouseout="unglow()"><img src="img/bans.png" alt="" /></a></li>
  51. <li><a href="http://cs.soe.cz/chatlog" title="" onmouseover="glow(this, 'rgba(0, 200, 30, 0.7)')" onmouseout="unglow()"><img src="img/chatlog.png" alt="" /></a></li>
  52. <li><a href="http://cs.soe.cz/connectlog" title="" onmouseover="glow(this, 'rgba(230, 30, 100, 0.7)')" onmouseout="unglow()"><img src="img/connectlog.png" alt="" /></a></li>
  53. <li class="breaker"><a href="http://cs.soe.cz/hltv" title="" onmouseover="glow(this, 'rgba(255, 50, 60, 0.7)')" onmouseout="unglow()"><img src="img/hltv.png" alt="" /></a></li>
  54. <li><a href="http://cs.soe.cz/logs" title="" onmouseover="glow(this, 'rgba(50, 160, 255, 0.7)')" onmouseout="unglow()"><img src="img/logs.png" alt="" /></a></li>
  55. <li><a href="http://cs.soe.cz/teambans" title="" onmouseover="glow(this, 'rgba(230, 120, 0, 0.7)')" onmouseout="unglow()"><img src="img/teambans.png" alt="" /></a></li>
  56. <li><a href="http://cs.soe.cz/xpstats" title="" onmouseover="glow(this, 'rgba(40, 80, 255, 0.7)')" onmouseout="unglow()"><img src="img/w3ft.png" alt="" /></a></li>
  57. <li class="breaker"><a href="ts3server://cs.soe.cz/?port=9987" title="" onmouseover="glow(this, 'rgba(0, 180, 180, 0.7)')" onmouseout="unglow()"><img src="img/ts3.png" alt="" /></a></li>
  58. </ul>
  59.  
  60. </div>
  61. <div id="bg"><!-- --></div>
  62. <div id="madeby">&copy; soe.cz 2012, created by UMAD studio (silent)</div>
  63. </body>
  64. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement