Advertisement
terrabithia

slide down updates tab with image

Aug 27th, 2013
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. <!-- this part goes with all the meta tags at the top of your theme code -->
  2.  
  3.  
  4. <meta name="image:titletab" content="/" />
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14. <!-- this part goes under <style type="text/css"> -->
  15.  
  16. #dakota {
  17. text-align: center;
  18. font-size: 9px;
  19. font-family:times new roman;
  20. position:fixed;
  21. left:10px;
  22. top:-111px; <!-- change this number to change where the picture/tab starts before hovering -->
  23. -webkit-transition: all .5s ease-in-out;
  24. -moz-transition: all .5s ease-in-out;
  25. -o-transition: all .5s ease-in-out;
  26. z-index:999;
  27. }
  28.  
  29. #dakota:hover {top:0px;}
  30.  
  31. #maria {
  32. border-right-style:solid;
  33. border-bottom-style:solid;
  34. border-left-style:solid;
  35. border-width:1px;
  36. border-color:#E3E3E3;
  37. padding: 5px 0 5px 0;
  38. background: #fff;
  39. width:120px; <!-- self explanatory. if you change this, you may have to also change the top: px above -->
  40. color:{color:text};
  41. height:100px; <!-- kinda self explanatory. if you change this, you may have to also change the top: px above -->
  42. border-bottom-right-radius: 3px;
  43. -moz-border-radius-bottomright: 3px;
  44. -webkit-border-bottom-right-radius: 3px;
  45. border-bottom-left-radius: 3px;
  46. -moz-border-radius-bottomleft: 3px;
  47. -webkit-border-bottom-left-radius: 3px;
  48. z-index: 9999;
  49. }
  50.  
  51. #angel{
  52.  
  53. text-align: center;
  54. height:15px;
  55. padding: 2px 0 8px 0;
  56. background:#FFFFFF;
  57. border-bottom-left-radius: 0px;
  58. -moz-border-radius-bottomleft: 0px;
  59. -webkit-border-bottom-left-radius: 0px;
  60. border-bottom-right-radius: 0px;
  61. -moz-border-radius-bottomright: 0px;
  62. -webkit-border-bottom-right-radius: 0px;
  63. width: 110px; }
  64.  
  65. #angel img { width:120px; height:auto;}
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77. <!-- this part goes under <body> -->
  78.  
  79.  
  80. <div id="dakota">
  81. <div id="maria"><p>
  82.  
  83.  
  84. <!-- put whatever you want in the tab here. add <center> and </center> around your text to center it. -->
  85.  
  86.  
  87.  
  88. </p></div>
  89. <div id="angel"><center><img src="{image:titletab}"></div></center>
  90. </div>
  91. </div></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement