Advertisement
Unzo

Hover Boxes

Oct 16th, 2013
4,338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. Tutorial by Unzo - http://unzo.tumblr.com/
  2.  
  3. 01- Paste the following code before "<style type="text/css">" in your HTML code (ctrl+f to search)
  4.  
  5. <link rel="stylesheet" href="http://static.tumblr.com/kjtbii3/0hEn3de7f/boxes.css">
  6.  
  7. <meta name="text:Favorites Box Size" content="100"/>
  8.  
  9. ----------------------------------------------------------------------------------------------------
  10.  
  11. 02- Paste before "</style>" the following code
  12.  
  13. .unzo{
  14. top:30px;
  15. right:10px;
  16. }
  17.  
  18. #statstab, #musictab, #favestab{
  19. background:white;
  20. border:1px solid #efefef;
  21. }
  22.  
  23. #favestab:hover{
  24. height:{text:Favorites Box Size}px;
  25. }
  26.  
  27. ----------------------------------------------------------------------------------------------------
  28.  
  29. 03- Paste under "<body>" the following code
  30.  
  31. <div class="unzo">
  32.  
  33. <div id="statstab">
  34. <div class="tabcontent">
  35. <div class="tabtitle">Stats</div>
  36.  
  37. <div id="stats">
  38.  
  39. COUNTERS
  40.  
  41. </div>
  42.  
  43. </div>
  44. </div>
  45.  
  46.  
  47. <div id="musictab">
  48. <div class="tabcontent">
  49. <div class="tabtitle">Music</div>
  50.  
  51. <div id="music">
  52.  
  53. PLAYER
  54.  
  55. </div>
  56.  
  57. </div>
  58. </div>
  59.  
  60.  
  61. <div id="favestab">
  62. <span class="title">Favorites</span>
  63.  
  64. <!-- Link --->
  65. <br>
  66. <a target="blank" title="TITLE ON HOVER" href="URL">LINK TITLE</a>
  67. <!-- Link end --->
  68.  
  69. </div>
  70.  
  71. </div>
  72.  
  73. ----------------------------------------------------------------------------------------------------
  74.  
  75. 04- Update Preview -> Save. Refresh the page.
  76.  
  77. ----------------------------------------------------------------------------------------------------
  78.  
  79. 05- In your "Appearance" section you will see an option to customize the height of Favorites Box.
  80.  
  81. Favorites Box Size (Change the value to resize when you hover over the mouse)
  82.  
  83. ----------------------------------------------------------------------------------------------------
  84.  
  85. 06- Customize it, then save and done!
  86.  
  87. PS. In the step "03-" customize the content of the boxes.
  88. If you want to add more links on Favorites Box just copy and paste "Link" to "Link end".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement