Advertisement
tomkirk

Updates Tab #1

Mar 10th, 2014
31,478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.47 KB | None | 0 0
  1. Paste the following after <head>
  2. ------------------------------------------------
  3. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
  4.  
  5. <script src="jquery.js"></script>
  6. <script>
  7. $(document).ready(function(){
  8. $("#click").click(function(){
  9. $("#guts").slideToggle("fast");
  10. });
  11. });
  12. </script>
  13.  
  14. <script src="jquery.js"></script>
  15. <script>
  16. $(document).ready(function(){
  17. $("#click2").click(function(){
  18. $("#guts2").slideToggle("fast");
  19. });
  20. });
  21. </script>
  22.  
  23. <script src="jquery.js"></script>
  24. <script>
  25. $(document).ready(function(){
  26. $("#click3").click(function(){
  27. $("#guts3").slideToggle("fast");
  28. });
  29. });
  30. </script>
  31.  
  32. ------------------------------------------------
  33.  
  34. Paste the following between <style type="text/css"> and </style>
  35. ------------------------------------------------
  36.  
  37. #updatesbar{
  38. position:absolute;
  39. margin-top:-24px;
  40. margin-left:-8px;
  41. padding:3px;
  42. padding-right:5px;
  43. text-align:right;
  44. width:106px;
  45. height:9px;
  46. background:#f4f4f4; /*bar background*/
  47. border:1px solid #ebebeb; /*matching border color with #box border looks best*/
  48. /*delete the following for no rounded edges*/
  49. -webkit-border-top-left-radius: 4px;
  50. -webkit-border-top-right-radius: 4px;
  51. -moz-border-radius-topleft: 4px;
  52. -moz-border-radius-topright: 4px;
  53. border-top-left-radius: 4px;
  54. border-top-right-radius: 4px;
  55. }
  56.  
  57. #updates{
  58. position:fixed;
  59. width:100px;
  60. margin-top:35px;
  61. margin-left:20px;
  62. padding-top:7px;
  63. padding-left:7px;
  64. padding-right:7px;
  65. padding-bottom:4px;
  66. font-family:consolas;
  67. font-size:10px;
  68. line-height:12px;
  69. background-color:#ffffff; /*background hex color code*/
  70. border:1px solid #ebebeb; /*change color code for different colored borders*/
  71. color:#000000; /*text color, note link colors and styles will change with the theme you're using*/
  72. z-index:999;
  73. /*delete the following for no shadows*/
  74. box-shadow:rgba(0,0,0,0.07)7px 7px;
  75. /*delete the following for no rounded edges*/
  76. -webkit-border-bottom-right-radius: 4px;
  77. -webkit-border-bottom-left-radius: 4px;
  78. -moz-border-radius-bottomright: 4px;
  79. -moz-border-radius-bottomleft: 4px;
  80. border-bottom-right-radius: 4px;
  81. border-bottom-left-radius: 4px;
  82. }
  83.  
  84. #guts,#click{
  85. padding:1px;
  86. display:inline-block;
  87. }
  88.  
  89. #click{
  90. margin-bottom:4px;
  91. padding:1px;
  92. text-transform:uppercase;
  93. letter-spacing:1px;
  94. text-align:center;
  95. background:#f4f4f4; /*tab 1 background color*/
  96. border:1px solid #f4f4f4;
  97. padding:1px;
  98. display:block;
  99. -webkit-transition: all 0.1s ease;
  100. -moz-transition: all 0.1s ease;
  101. transition: all 0.1s ease;
  102. /*delete the following for no rounded edges*/
  103. -webkit-border-radius: 4px;
  104. -moz-border-radius: 4px;
  105. border-radius: 4px;
  106. }
  107.  
  108. #click:hover{
  109. cursor:help;
  110. }
  111.  
  112. #click:active{
  113. background:#ffffff; /*color of tab when clicked*/
  114. }
  115.  
  116. #guts{
  117. padding:1px;
  118. display:none;
  119. }
  120.  
  121. #guts2,#click2{
  122. padding:1px;
  123. display:inline-block;
  124. }
  125.  
  126. #click2{
  127. margin-bottom:4px;
  128. padding:1px;
  129. text-transform:uppercase;
  130. letter-spacing:1px;
  131. text-align:center;
  132. background:#f4f4f4; /*tab 2 background color*/
  133. border:1px solid #f4f4f4;
  134. padding:1px;
  135. display:block;
  136. -webkit-transition: all 0.1s ease;
  137. -moz-transition: all 0.1s ease;
  138. transition: all 0.1s ease;
  139. /*delete the following for no rounded edges*/
  140. -webkit-border-radius: 4px;
  141. -moz-border-radius: 4px;
  142. border-radius: 4px;
  143. }
  144.  
  145. #click2:hover{
  146. cursor:help;
  147. }
  148.  
  149. #click2:active{
  150. background:#ffffff; /*color of tab when clicked*/
  151. }
  152.  
  153. #guts2{
  154. padding:1px;
  155. display:none;
  156. }
  157.  
  158. #guts3,#click3{
  159. padding:1px;
  160. display:inline-block;
  161. }
  162.  
  163. #click3{
  164. margin-bottom:4px;
  165. padding:1px;
  166. text-transform:uppercase;
  167. letter-spacing:1px;
  168. text-align:center;
  169. background:#f4f4f4; /*tab 3 background color*/
  170. border:1px solid #f4f4f4;
  171. padding:1px;
  172. display:block;
  173. -webkit-transition: all 0.1s ease;
  174. -moz-transition: all 0.1s ease;
  175. transition: all 0.1s ease;
  176. /*delete the following for no rounded edges*/
  177. -webkit-border-radius: 4px;
  178. -moz-border-radius: 4px;
  179. border-radius: 4px;
  180. }
  181.  
  182. #click3:hover{
  183. cursor:help;
  184. }
  185.  
  186. #click3:active{
  187. background:#ffffff; /*color of tab when clicked*/
  188. }
  189.  
  190. #guts3{
  191. padding:1px;
  192. display:none;
  193. }
  194.  
  195. ------------------------------------------------
  196. Paste the following after <body>
  197.  
  198. <div id="updates">
  199.  
  200. <!-- delete this part to take off bar and buttons-->
  201. <div id="updatesbar">
  202. <img src="http://media.tumblr.com/691ba4289e39661cfb6559164f39f3c0/tumblr_inline_msy5o89F1X1qz4rgp.png">
  203. <img src="http://media.tumblr.com/36615af987980409c80cc67cae27013d/tumblr_inline_msy5o5RiHU1qz4rgp.png">
  204. <img src="http://media.tumblr.com/7cd16259d770a6d5f4a6350dc962a48e/tumblr_inline_msy5nqetZl1qz4rgp.png">
  205. </div>
  206. <!--end-->
  207.  
  208. <div id="click">stats</div>
  209. <div id="guts">
  210. Put your hit counter, users online, etc. here.
  211. </div>
  212.  
  213. <div id="click2">info</div>
  214. <div id="guts2">
  215. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam nisi lorem, pulvinar id, commodo feugiat, vehicula et, mauris.
  216. </div>
  217.  
  218. <div id="click3">networks</div>
  219. <div id="guts3">
  220. Put networks and things if you're into that kind of stuff.
  221. </div>
  222.  
  223. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement