Advertisement
Guest User

Untitled

a guest
Oct 25th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. w <head> tutaj to style </head>
  2. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> to też w head
  3.  
  4. <style>
  5. #nitr0o-slider{
  6. position:fixed;
  7. top:190px;
  8. left: -310px;
  9. z-index:100;
  10. }
  11. #nitr0o-slider #tab{
  12. cursor:pointer;
  13. height:110px;
  14. width:35px;
  15. float:right;
  16. background: url(img/button-slider.png) no-repeat center center;
  17. }
  18. #nitr0o-code{
  19. padding:5px;
  20. background: #fff;
  21. border: solid #0170cf 3px;
  22. float:left;
  23. height:296px;
  24. width:286px;
  25. -moz-border-radius: 0 0 0 8px;
  26. -webkit-border-radius: 0 0 0 8px;
  27. border-radius: 0 0 0 8px;
  28. }
  29. </style>
  30.  
  31.  
  32. gdzies w <body a </body>
  33. <div id="nitr0o-slider">
  34. <div id="tab"></div>
  35. <div id="nitr0o-code"><a href="http://nitr0o.tk"><img src="img/nitr0o.png"/></a></div>
  36. </div>
  37.  
  38. najlepiej pod tym nitr0o slider
  39. <script>
  40. $(function(){
  41. $('#nitr0o-slider').hover(
  42. function(){ $('#nitr0o-slider').stop().animate({"left": "0"}, 1000); } ,
  43. function(){ $('#nitr0o-slider').stop().animate({"left": "-310px"}, 1000); }
  44. );
  45. });
  46. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement