Advertisement
t-offee

Elevator Tab for luxurycrystal

Jan 15th, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. paste everything below the dotted line into the <style> section of your html. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2.  
  3. /* elevator tab by ally (stahrfruits) */
  4.  
  5. #stahrfruits {
  6. z-index:1000;
  7. height: 600px; /*height of tab*/
  8. position: fixed;
  9. text-align: center;
  10. -webkit-transition-duration: 1.5s; /*how long it takes for it to go up*/
  11. -moz-transition-duration: 1.5s; /*how long it takes for it to go up*/
  12. -o-transition-duration: 1.5s; /*how long it takes for it to go up*/
  13. transition-duration: 1.5s; /*how long it takes for it to go up*/
  14. }
  15.  
  16. #stahrfruits:hover {
  17. z-index:1000;
  18. bottom: 1205px;
  19. left: 5px;
  20. }
  21.  
  22. #marc {
  23. bottom: -1200px;
  24. position: absolute;
  25. width: 250px; /*width of tab*/
  26. height: 100%;
  27. overflow: hidden; /*chang to scroll if you want a scrollbar*/
  28. padding: 10px;
  29. background: white; /*tab background color*/
  30. opacity: 1; /*opacity of tab*/
  31. line-height: 13px;
  32. border: 1px solid black; /*tab border*/
  33. text-align: center;
  34. }
  35.  
  36. .ally {
  37. display: block;
  38. position: fixed;
  39. left: 10px; /*distance from the left side*/
  40. top: 10px; /*distance from the top*/
  41. padding: 3px;
  42. width: 50px; /*width of button*/
  43. height: 50px; /*height of button*/
  44. background-color: transparent; /*background color*/
  45. border-radius: 0px; /*the lower it is, the less round it'll be*/
  46. border: 3px /*button border*/
  47. overflow: hidden;
  48. }
  49.  
  50.  
  51. /* elevator tab */
  52. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  53.  
  54. paste everything below the dotted line into the <body> section of your html. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  55.  
  56. <!-- elevator tab by ally (stahrfruits)-->
  57.  
  58. <div id="stahrfruits">
  59.  
  60. <!-- tab image -->
  61. <span class="ally">
  62. <img src="http://i44.tinypic.com/2cdh9i1.png" width="80">
  63. </span>
  64. <!-- tab image -->
  65.  
  66. <div id="marc">
  67. <br>
  68. <img src="http://i42.tinypic.com/2potis1.png" width="50">
  69. <p>
  70. <div style="background: #000000;padding: 5px;font-size: 16px;">Announcements</div><p>
  71.  
  72. add your announcements in this box :)
  73.  
  74. </p>
  75.  
  76. <div style="background: #000000; padding: 5px;font-size: 16px;">Social</div><p>
  77.  
  78. place your social networks in this area
  79.  
  80. </p>
  81.  
  82. <div style="background: #000000; padding: 5px;font-size: 16px;">Something Else</div><p>
  83.  
  84. put anything you'd like to here
  85.  
  86. </p>
  87.  
  88. <div style="background: #000000;padding: 5px;font-size: 16px;">Networks</div><p>
  89.  
  90. <marquee> put your network images and other network related stuff here and it will scroll past </marquee>
  91.  
  92. </p>
  93.  
  94. <br>
  95. <br>
  96.  
  97. <img src="http://i42.tinypic.com/2potis1.png" width="50">
  98. </div>
  99.  
  100. </div>
  101.  
  102. </div>
  103.  
  104. <!-- elevator tab -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement