Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!-----
- tags2 by charmedthemes
- ---------->
- <head>
- <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,300italic,400italic,600italic,700italic" rel="stylesheet" type="text/css">
- <link rel="shortcut icon" href="{Favicon}">
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
- <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("a[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:90,
- tip_fade_speed:600,
- attribute:"title"
- });
- });
- })(jQuery);
- </script>
- <!--basic tooltip from tutorial-baby! Enjoy-->
- </head><style>
- #s-m-t-tooltip{
- margin:24px 14px 7px 12px;
- letter-spacing:1px;
- z-index:9999999999999;
- line-height:16px;
- background-color:#ffffff;
- text-transform:uppercase;
- font-family:inherit;
- padding-left:03px;
- padding-right:03px;
- border-radius:3px;
- font-size:08px;
- }
- /* to change the background color to white change
- background-color:#F9F9F9;
- to
- background-color:white;
- */
- body {
- background-color:#F9F9F9;
- font-family:'Open Sans', 'Karla', sans-serif;
- width:10000px;
- overflow-x:hidden;
- }
- ul {
- list-style:none;
- text-align:left;
- padding-left:0;
- }
- li {
- position:relative;
- padding-left:30px;
- }
- a {
- text-decoration:none;
- color:#A1A1A1;
- z-index:1000094094;
- }
- /* Forward */
- #tags a {
- display: inline-block;
- vertical-align: middle;
- -webkit-transform: perspective(1px) translateZ(0);
- transform: perspective(1px) translateZ(0);
- box-shadow: 0 0 1px transparent;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- -webkit-transition-property: transform;
- transition-property: transform;
- line-height:190%;
- display:block;
- color:#525252;
- text-transform:lowercase;
- z-index:10066400;
- }
- #tags a:hover, #tags a:focus, #tags a:active {
- -webkit-transform: translateX(8px);
- transform: translateX(8px);
- }
- .droptitle {
- line-height:160%;
- display:block;
- }
- #filters {
- z-index: 1;
- text-align:right;
- line-height:160%;
- }
- #sidebar {
- z-index:10;
- margin-top:100px;
- position:fixed;
- text-align:right;
- border-right:2px solid #F0F0F0;
- font-size:12px;
- padding-left:10px;
- padding-right:10px;
- padding-top:5px;
- padding-bottom:5px;
- font-weight:300;
- width:120px;
- color:#A1A1A1;
- margin-left:100px;
- }
- #sidebartitle{
- color:#525252;
- font-weight:300;
- font-size:14px;
- text-align:right;
- padding-bottom:5px;
- }
- #container{
- position:fixed;
- left:0px;
- top:90px;
- width:950px;
- }
- #tagsbox {
- margin-top:10px;
- width:150px;
- margin-left:300px;
- margin-bottom:0px;
- margin-right:-200px;
- padding-bottom:20px;
- }
- #tagsbox .tagstitle {
- text-transform:uppercase;
- font-size:14px;
- padding:5px;
- color:#525252;
- font-weight:300;
- font-weight:bold;
- }
- #tags {
- position:relative;
- text-transform:lowercase;
- font-size:11px;
- text-align:left;
- padding-left:7px;
- padding-top:3px;
- padding-bottom:3px;
- background-color:white;
- font-weight:300;
- color:#A1A1A1;
- }
- #tagsbox .box {
- width:150px;
- margin:20px;
- padding:20px;
- }
- .box {
- transition-duration:1s;
- -moz-transition-duration:1s;
- -webkit-transition-duration:1s;
- -o-transition-duration:1s;
- }
- .droptags {
- padding-left:5px;
- text-transform:lowercase;
- -moz-transition-duration: 0.6s;
- -webkit-transition-duration: 0.6s;
- -o-transition-duration: 0.6s
- }
- #innertitle {
- text-transform:lowercase;
- font-size:12px;
- padding-top:5px;
- color:#525252;
- font-weight:bold;
- }
- </style>
- <body>
- <title>tags</title>
- <div id="sidebar">
- <div id="sidebartitle"><b>NAVIGATION</b></div>
- <!----- Filter links ------>
- <!---
- HOW TO USE FILTERS!
- - What you do is where it says ".filter" you put the tag that you want your box to respond to
- - so if I had a box that had my Marvel tags I could write ".marvel"
- - where it says >filter</a> change the word 'filter' to the word that you want displayed in the sidebar, so if I had a marvel tags box I would say 'Marvel' instead of the filter
- - You can add filters where it says class="box
- NEVER get rid of the word "box"!!!
- TO MAKE MORE FILTERS COPY PASTE THIS CODE UNDER THE OTHER FILTERS
- <a href="#filter" data-option-filter=".filter">filter</a><br>
- -->
- <div id="sort">
- <div id="filters" class="option-set clearfix" data-option-key="filter"><a href="#filter" data-option-filter=".box">refresh</a><br>
- <a href="#filter" data-option-filter=".filter">filter</a><br>
- <a href="#filter" data-option-filter=".filter">filter</a><br>
- <a href="#filter" data-option-filter=".filter">filter</a><br>
- <a href="#filter" data-option-filter=".filter">filter</a><br>
- <a href="#filter" data-option-filter=".filter">filter</a><br>
- <a href="#filter" data-option-filter=".filter">filter</a><br>
- </div>
- <!--- THIS IS THE CREDIT, DO NOT TOUCH!!!! -->
- <a title="credit" href="http://charmedthemes.tumblr.com">☾</a>
- </div>
- </div>
- <div id="container" class="clearfix">
- <div id="tagsbox" class="box filter">
- <div class="tagstitle">title</div>
- <div id="tags">
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- </div>
- </div>
- <div id="tagsbox" class="box filter">
- <div class="tagstitle">TITLE2</div>
- <div id="tags">
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- </div>
- </div>
- <div id="tagsbox" class="box">
- <div class="tagstitle">TAGS</div>
- <div id="tags">
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- </div>
- </div>
- <div id="tagsbox" class="box">
- <div class="tagstitle">TAGS</div>
- <div id="tags">
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- </div>
- </div>
- <div id="tagsbox" class="box filter">
- <div class="tagstitle">TAGS</div>
- <div id="tags">
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- </div>
- </div>
- <div id="tagsbox" class="box filter">
- <div class="tagstitle">TAGS</div>
- <div id="tags">
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- </div>
- </div>
- <div id="tagsbox" class="box filter">
- <div class="tagstitle">TAGS</div>
- <div id="tags">
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- <a href="/tag">tag</a>
- </div>
- </div>
- </body>
- <!------- filter scripts -------->
- <script src="https://secure.static.tumblr.com/fuu6t9w/kh8ml0pl9/jquery-1.7.1.min.js"></script>
- <script src="https://secure.static.tumblr.com/fuu6t9w/eubml0pm0/jquery.isotope.min.js"></script>
- <script>
- $(function(){
- var $container = $('#container');
- $container.isotope({
- itemSelector : '.box'
- });
- var $optionSets = $('#sort .option-set'),
- $optionLinks = $optionSets.find('a');
- $optionLinks.click(function(){
- var $this = $(this);
- // don't proceed if already selected
- if ( $this.hasClass('selected') ) {
- return false;
- }
- var $optionSet = $this.parents('.option-set');
- $optionSet.find('.selected').removeClass('selected');
- $this.addClass('selected');
- // make option object dynamically, i.e. { filter: '.my-filter-class' }
- var options = {},
- key = $optionSet.attr('data-option-key'),
- value = $this.attr('data-option-filter');
- // parse 'false' as false boolean
- value = value === 'false' ? false : value;
- options[ key ] = value;
- if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) {
- // changes in layout modes need extra logic
- changeLayoutMode( $this, options )
- } else {
- // otherwise, apply new options
- $container.isotope( options );
- }
- return false;
- });
- });
- </script>
- <!-----end filter scripts------>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement