Advertisement
crimical

PU -- update

Mar 29th, 2015
1,941
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. <!--
  2. PART 1 ~ paste this somewhere between <head> and </head>
  3. -->
  4.  
  5.  
  6. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  7. <script type="text/javascript">
  8. $(document).ready(function(){
  9. $(".dd").hide();
  10. $(".cthrough").click(function(){
  11. $(this).next(".dd").slideToggle('600');
  12. }); });
  13. </script>
  14.  
  15.  
  16.  
  17.  
  18. <!--
  19. PART 2 ~ paste this somewhere between <style> and </style>
  20. -->
  21.  
  22.  
  23. .updat{
  24. position:fixed;
  25. top:8px; left:10px;
  26. width:140px; /* width of the whole thing */
  27. padding:10px;
  28. text-align:justify;
  29. -webkit-transition:0.8s ease-in-out;
  30. overflow:hidden;
  31. }
  32.  
  33. .updat a.cthrough{
  34. font-size:80%;
  35. letter-spacing:1px;
  36. text-transform:uppercase;
  37. margin-bottom:7px;
  38. display:block;
  39. color:gray;
  40. }
  41.  
  42. .updat span.click{ background:white; padding-right:7px; }
  43.  
  44. .updat .act{
  45. display:block;
  46. margin:5px 0 7px;
  47. padding-bottom:1px;
  48. border-bottom:1px solid #333;
  49. font-weight:bold;
  50. }
  51.  
  52.  
  53.  
  54.  
  55. <!--
  56. PART 3 ~ paste this right after <body>
  57. -->
  58.  
  59.  
  60. <!-- code by crimicalthemes. please don't delete this line! -->
  61. <div class="updat">
  62. <a class="cthrough"><span class="click">click</span></a>
  63. <div class="dd">
  64.  
  65. text here :) if you want to have subtitles inside the tab (for example "currently watching") add this:
  66.  
  67. <div class="act"> subtitle </div>
  68.  
  69. or anything else you want
  70.  
  71. </div>
  72. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement