Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- PART 1 ~ paste this somewhere between <head> and </head>
- -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- $(".dd").hide();
- $(".cthrough").click(function(){
- $(this).next(".dd").slideToggle('600');
- }); });
- </script>
- <!--
- PART 2 ~ paste this somewhere between <style> and </style>
- -->
- .updat{
- position:fixed;
- top:8px; left:10px;
- width:140px; /* width of the whole thing */
- padding:10px;
- text-align:justify;
- -webkit-transition:0.8s ease-in-out;
- overflow:hidden;
- }
- .updat a.cthrough{
- font-size:80%;
- letter-spacing:1px;
- text-transform:uppercase;
- margin-bottom:7px;
- display:block;
- color:gray;
- }
- .updat span.click{ background:white; padding-right:7px; }
- .updat .act{
- display:block;
- margin:5px 0 7px;
- padding-bottom:1px;
- border-bottom:1px solid #333;
- font-weight:bold;
- }
- <!--
- PART 3 ~ paste this right after <body>
- -->
- <!-- code by crimicalthemes. please don't delete this line! -->
- <div class="updat">
- <a class="cthrough"><span class="click">click</span></a>
- <div class="dd">
- text here :) if you want to have subtitles inside the tab (for example "currently watching") add this:
- <div class="act"> subtitle </div>
- or anything else you want
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement