Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!-- here are some reminders. :~)
- 001. ᴅᴏɴᴜᴛ ᴄʟᴀɪᴍ ᴛʜɪs ᴛʜᴇᴍᴇ ᴛᴏ ʙᴇ ʏᴏᴜʀs
- 002. ᴅᴏɴᴜᴛ ᴇᴅɪᴛ ᴀɴᴅ ʀᴇᴅɪsᴛʀᴜʙᴇ
- 003. ᴅᴏɴᴜᴛ ᴛᴀᴋᴇ ᴘᴀʀᴛs ᴏғ ʜᴛᴍʟ ғʀᴏᴍ ᴛʜɪs ᴛʜᴇᴍᴇ
- 004. ᴅᴏɴᴜᴛ ʀᴇᴍᴏᴠᴇ ᴄʀᴇᴅɪᴛs
- 005. ʏᴏᴜ ᴍᴀʏ ᴇᴅɪᴛ ᴀɴᴅ sᴛᴜғғ
- 006. ᴇɴᴊᴏʏ
- IF YOU HAVE ANY QUESTIONS LET ME KNOW YAY FUN FUN. TWIRLS
- base code by neonbike themes -->
- {block:Description}
- <meta name="description" content="{MetaDescription}" />
- {/block:Description}
- <meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1.0, width=device-width" />
- <title>{Title}{block:TagPage} - {Tag} {/block:TagPage} {block:SearchPage} - {lang:Search results for SearchQuery}{/block:SearchPage}{block:PostSummary}- {PostSummary} {/block:PostSummary}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <link href="https://fonts.googleapis.com/css?family=Cabin" rel="stylesheet">
- <link rel="stylesheet" href="path/to/bootstrap/css/bootstrap.min.css">
- <link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
- <meta name="color:Background" content="#ffffff" />
- <meta name="color:text" content="#000000" />
- <meta name="color:desctext" content="#000000" />
- <meta name="color:links" content="#000000" />
- <meta name="color:links hover" content="#a0a0a0" />
- <meta name="color:posts" content="#ffffff" />
- <meta name="color:container" content="#f8f8f8" />
- <meta name="color:bold" content="#f8f8f8" />
- <meta name="color:italic" content="#f8f8f8" />
- <meta name="color:accent" content="#000" />
- <meta name="image:bg" content="" />
- <meta name="image:sidebar" content="" />
- <meta name="text:sbar title" content="" />
- <meta name="text:chara name" content="" />
- <meta name="text:chara age" content="" />
- <meta name="text:chara location or zodiac" content="" />
- <meta name="text:aesthetic" content="" />
- <meta name="text:song1" content="" />
- <meta name="text:artist1" content="" />
- <meta name="text:song2" content="" />
- <meta name="text:artist2" content="" />
- <meta name="text:song3" content="" />
- <meta name="text:artist3" content="" />
- <meta name="text:song4" content="" />
- <meta name="text:artist4" content="" />
- <meta name="text:link 1" content="" />
- <meta name="text:link 1 url" content="" />
- <meta name="text:navlink1 url" content="" />
- <meta name="text:navlink1 title" content="" />
- <meta name="text:navlink2 url" content="" />
- <meta name="text:navlink2 title" content="" />
- <meta name="text:navlink3 url" content="" />
- <meta name="text:navlink3 title" content="" />
- <meta name="text:navlink4 url" content="" />
- <meta name="text:navlink4 title" content="" />
- <meta name="text:navlink5 url" content="" />
- <meta name="text:navlink5 title" content="" />
- <meta name="text:navlink6 url" content="" />
- <meta name="text:navlink6 title" content="" />
- <meta name="text:navlink7 url" content="" />
- <meta name="text:navlink7 title" content="" />
- <meta name="text:navlink8 url" content="" />
- <meta name="text:navlink8 title" content="" />
- <!-- IMPORTED SCRIPTS - DON'T REMOVE -->
- <script language="javascript" type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
- <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
- <!-- TOOLTIP SCRIPT (REMOVE ONYL IF YOU WANT STANDARD BROWSER TOOLTIPS) -->
- <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>
- <style type="text/css">
- @font-face {
- font-family: austin worth; src: url('https://dl.dropboxusercontent.com/s/2tp2q1oawdgdewi/Austin%20Worth.ttf') ;}
- @font-face { font-family: stay rad; src: url('https://dl.dropboxusercontent.com/s/rcbleva0319cmkl/Sun%20Valley%20-%20Demo.ttf?dl=0') ;}
- @font-face { font-family: monthey; src: url('https://dl.dropboxusercontent.com/s/c19wmm9ldhak71l/Sugar%20%26%20Spice%20demo.ttf') ; }
- ::-moz-selection {
- background-color: {color:accent};
- color: {color:bold};
- }
- ::selection {
- background: {color:text};
- color: {color:background};
- }
- ::-webkit-scrollbar {
- width: 3px;
- height: 2px;
- }
- ::-webkit-scrollbar-button {
- width: 0px;
- height: 0px;
- }
- ::-webkit-scrollbar-thumb {
- background: transparent;
- border: 0px none #ffffff;
- border-radius: 50px;
- }
- ::-webkit-scrollbar-thumb:hover {
- background:transparent;
- }
- ::-webkit-scrollbar-thumb:active {
- background: transparent;
- }
- ::-webkit-scrollbar-track {
- background: #container;
- border: 0px none {color:container};
- border-radius: 0px;
- }
- ::-webkit-scrollbar-track:hover {
- background: transparent;
- }
- ::-webkit-scrollbar-track:active {
- background: transparent;
- }
- ::-webkit-scrollbar-corner {
- background: transparent;
- }
- /* ------- TOOLTIPS ------ */
- #s-m-t-tooltip {
- max-width:300px;
- margin:10px 0px 0px 10px;
- background-color:{color:accent};
- font-family:arial;
- letter-spacing:1px;
- font-size:7px;
- color:{color:italic};
- font-variant:small-caps;
- word-wrap: break-word;
- line-height:11px;
- text-transform:uppercase;
- padding:5px;
- z-index:999999999999999999999999999999999999;
- }
- body {
- background:{color:Background};
- color: {color:text};
- margin: 0;
- padding: 0;
- color:{color:text};
- font-weight:500;
- color:{color:text};
- font-family: 'Cabin', sans-serif;
- font-size:10px;
- line-height:16px;
- letter-spacing:.5px;
- text-align:justify;
- overflow-y:hidden;
- padding:10px;
- background-image:url('{image:bg}');
- }
- a {
- color: {color:links};
- text-decoration: none;
- -webkit-transition: all .3s;
- -moz-transition: all .3s;
- -o-transition: all .3s;
- -ms-transition: all .3s;
- transition: all .3s;
- }
- a:hover{
- color:{color:links hover};
- -webkit-transition: all .3s;
- -moz-transition: all .3s;
- -o-transition: all .3s;
- -ms-transition: all .3s;
- transition: all .3s;
- }
- small {
- font-size:10px;
- color:{color:text};
- }
- sub,sup {
- font-size:10px;
- color:{color:text};
- font-variant:small-caps;
- }
- b, strong{
- font-weight:bold;
- color:{color:bold};
- }
- pre {
- background-color:{color:container};
- padding:2px;
- text-align:center;
- text-transform:uppercase;
- font-weight:bold;
- color:{color:italic};
- }
- h1, h2 {
- color:{color:title};
- text-transform:lowercase;
- text-align:center;
- font-family:'austin worth';
- text-shadow: -1px -1px {color:container};
- opacity:.7;
- font-size:20px;
- letter-spacing:2px;
- }
- i, em {
- font-weight:italic;
- color:{color:italic};
- }
- u {
- background-color:{color:bold};
- color:{color:italic};
- font-weight:bold;
- opacity:.7;
- text-decoration: underline transparent;
- padding:2px;
- }
- blockquote {
- border-left: 1px solid {color:bold};
- margin: 10px;
- padding-left:25px;
- padding-top:3px;
- padding-bottom:3px;
- padding-right:0px;
- }
- iframe, img, embed, object, video {
- max-width: 100%;
- }
- p{
- margin-bottom:10px;
- }
- img {
- height: auto;
- width:auto;
- max-width:100%;
- }
- ul{
- list-style-type:square;
- }
- ol{
- list-style-type:;
- }
- #simba{
- width:520px;
- margin-left:auto;
- margin-right:auto;
- margin-top:200px;
- }
- .tabcontent {
- position:static;
- text-align:center;
- padding:20px;
- z-index:999999999;
- width: 310px;
- height:370px;
- margin-top:-15px;
- margin-left:5px;
- }
- #zzz{
- background:{color:container};
- position:fixed;
- width:400px;
- height:470px;
- position:fixed;
- margin-left:65px;
- z-index:-1;
- margin-right:auto;
- margin-top:-70px;
- margin-bottom:150px;
- }
- #postcontainer {
- position:static;
- padding:20px;
- z-index:999999999999;
- width: 305px;
- height:390px;
- margin-top:-60px;
- margin-left:90px;
- overflow-y:scroll;
- text-align:center;
- margin-bottom:150px;
- }
- /* ----------------------------- HEADER STUFF ---------------------------*/
- #sidebar {
- z-index:100000000000000999999;
- position:absolute;
- margin-left:-190px;
- margin-top:-70px;
- }
- #sidebars img{
- height:345px;
- width:125px;
- position:fixed;
- margin-left:130px;
- z-index:0;
- }
- #desc {
- height:160px;
- width:110px;
- position:fixed;
- margin-top:35px;
- margin-left:140px;
- opacity:0;
- color:{color:desctext};
- overflow-y:scroll;
- text-align:center;
- -webkit-transition: all 1s;
- -moz-transition: all 1s;
- -o-transition: all 1s;
- -ms-transition: all 1s;
- transition: all 1s;
- }
- #desc b {
- font-weight:normal;
- }
- #desc i,em {
- color:{color:accent};
- }
- #desc:hover{
- height:160px;
- width:110px;
- position:fixed;
- margin-top:35px;
- margin-left:140px;
- opacity:.65;
- color:{color:desctext};
- overflow-y:scroll;
- text-align:center;
- -webkit-transition: all 1s;
- -moz-transition: all 1s;
- -o-transition: all 1s;
- -ms-transition: all 1s;
- transition: all 1s;
- }
- #tittie {
- height:50px;
- width:160px;
- position:fixed;
- margin-top:-10px;
- margin-left:140px;
- color:{color:title};
- font-size:30px;
- font-weight:500;
- text-shadow: -1px -1px {color:container};
- z-index:1;
- font-family:austin worth;
- }
- #charainfo {
- display:block;
- text-align:center;
- opacity:.85;
- margin-top:215px;
- position:fixed;
- margin-left:145px;
- z-index:99999;
- width:95px;
- }
- #charainfo span {
- display:block;
- background-color:{color:accent};
- color:{color:container};
- padding:5px;
- margin-bottom: 10px;
- border-radius:3px;
- text-transform:uppercase;
- }
- #linkywinky{
- position:fixed;
- margin-top:275px;
- margin-left:40px;
- width:125px;
- height:125px;
- background-color:{color:posts};
- text-align:center;
- }
- #tabbox {
- display:inline-block;
- background:{color:posts};
- width:143px;
- height:143px;
- margin-left:15px;
- position:static;
- }
- .tabnav {
- display:inline-block;
- padding:20px;
- margin-left:-15px;
- width:143px;
- margin-top:2px;
- }
- .tabnav i {
- margin-right:10px;
- line-height:42px;
- list-style:none;
- text-transform:uppercase;
- background-color:{color:container};
- color:{color:background};
- text-shadow: 1px 1px {color:posts};
- width:42px;
- height:42px;
- }
- .tabnav a {
- padding-top:20px;
- font-size:15px;
- color:{color:text};
- font-family:austin worth;
- transition:all linear 0.15s;
- }
- .tabnav a:hover {
- text-decoration:none;
- }
- .aes {
- overflow:scroll;
- height:100px;
- width:100px;
- margin-left:21px;
- margin-top:17px;
- }
- .sike {
- overflow:scroll;
- height:100px;
- width:100px;
- margin-left:21px;
- margin-top:26px;
- }
- /* ------------------------------ TABS ------------------------------ */
- .tabs {
- width:400px;
- margin-left:100px;
- display:inline-block;
- }
- /*----- Tab Links -----*/
- .tab-links {
- display:block;
- margin-left:-505px;
- margin-top:15px;
- }
- .tab-links li {
- margin-right:10px;
- display:inline-block;
- list-style:none;
- text-transform:uppercase;
- background-color:{color:container};
- width:40px;
- height:40px;
- }
- .tab-links a {
- padding-top:18px;
- display:inline-block;
- font-size:30px;
- color:{color:text};
- font-family:austin worth;
- text-shadow: -1px -1px {color:background};
- transition:all linear 0.15s;
- }
- .tab-links a:hover {
- text-decoration:none;
- }
- li.active a, li.active i:hover {
- color:{color:text};
- -webkit-transition: all .3s;
- -moz-transition: all .3s;
- -o-transition: all .3s;
- -ms-transition: all .3s;
- transition: all .3s;
- }
- /*----- Content of Tabs -----*/
- .tab {
- display:none;
- }
- .tab.active {
- display:block;
- }
- /* --------------------------- POSTS (articles) --------------------- */
- article {
- float:left;
- background-color:{color:posts};
- padding: 15px;
- width: 305px;
- text-align:left;
- margin-bottom:30px;
- margin-left:-10px;
- z-index:99999;
- }
- /* ---------------------------- POST INFO -----------------------------*/
- .postinfo{
- margin-top:10px;
- font-weight:bold;
- text-align:center;
- text-transform:uppercase;
- }
- .tags {
- margin-top:5px;
- font-size:7px;
- font-weight:normal;
- }
- /* ---------------------------- POST NOTES ------------------------- */
- ol.notes {
- display:block;
- text-align:left;
- list-style-type:none;
- margin-left:-40px;
- }
- ol.notes li.note{
- margin-bottom:5px;
- }
- .pagenotes {
- text-align:left;
- margin-top:15px;
- }
- .pagenotes img{
- padding-right:5px;
- padding-top:5px;
- margin-bottom:-5px;
- }
- /* -------------------------- POST TYPES -------------------------- */
- /* CHAT */
- ul.chat{
- list-style:none;
- margin-left:-40px;
- }
- .chat span {
- float: left;
- }
- /* QUOTES */
- .quote{
- font-size:15px;
- line-height:150%;
- text-align:center;
- text-transform:uppercase;
- }
- .quotesource{
- text-align:right;
- margin-bottom:10px;
- }
- /* QUESTIONS */
- #question{
- margin-bottom:15px;
- text-transform:uppercase;
- width:280px;
- background-color:{color:container};
- color:{color:accent};
- padding:10px;
- text-align:center;
- border-radius:5px;
- }
- #question strong{
- color:{color:bold};
- text-shadow: 1px 1px {color:posts};
- }
- .answer {
- font-size:8px;
- }
- /* AUDIO */
- .songart{
- float:left;
- margin-right:10px;
- }
- .songart img{
- width:80px;
- height:80px;
- }
- .songtitle{
- margin-bottom:10px;
- margin-left:90px;
- }
- .songauthor{
- margin-bottom:10px;
- font-size:8px;
- margin-left:90px;
- }
- .tumblr_audio_player {
- height: 50px;
- }
- /* ------------------------- PAGINATION ------------------------- */
- ul.pagination {
- display: inline-block;
- padding: 0;
- position:fixed;
- margin-left:415px;
- margin-top:437px;
- }
- ul.pagination li {display: inline;}
- ul.pagination li a {
- background: {color:container};
- padding: 1px;
- color:{color:accent};
- text-decoration: none;
- transition: background-color .3s;
- font-size: 10px;
- }
- ul.pagination li a.active {
- background-color: {color:container};
- color: black;
- border-right: 1px solid {color:links};
- }
- ul.pagination li a:hover:not(.active) {background-color: {color:container};}
- #cred {
- position:fixed;
- font-weight:normal;
- line-height:150%;
- letter-spacing:2px;
- right:10px;
- bottom:10px;
- text-transform:uppercase;
- text-align:center;
- }
- #cred img{
- width:20px;
- }
- /* --------------------------- Custom CSS -------------------------- */
- {CustomCSS}
- </style>
- </head>
- <body>
- <div id="simba">
- <!--NAVIGATION STUFF-->
- <div id="linkywinky">
- <div class="tabs">
- <ul class="tab-links">
- <li class="active">
- <a href="#tab1"title="REFRESH">1</a></li>
- <li><a href="/ask"title="INBOX">2</i></a></li></br></br>
- <li><a href="#tabbie"title="NAVIGATION">3</a></li>
- <li><a href="{text:link 1 url}"title="{text:link 1}">4</i></a></li>
- </ul>
- </div>
- </div>
- <!-- --------------------------- TABS -------------------------- -->
- <div class="tabs">
- <div id="zzz"></div>
- <!-- --------------------------- TAB 1 -------------------------- -->
- <div id="sidebar">
- <div id="charainfo">
- <span>{text:chara name}</span>
- <span>{text:chara age}</span>
- <span>{text:chara location or zodiac}</span>
- </div>
- <div id="sidebars"><img src="{image:sidebar}"></div>
- <div id="desc">{Description}</div>
- <div id="tittie">{text:sbar title}</div>
- </div>
- <div class="tab-content">
- <div id="tab1" class="tab active">
- <!--PAGINATION-->
- {block:Pagination}
- <ul class="pagination">
- {block:PreviousPage} <li><a href="{PreviousPage}"style="position:absolute;margin-left:-40px;margin-top:-2px;">BACK </a></li>{/block:PreviousPage} {block:NextPage} <li><a href="{NextPage}"style="position:absolute;margin-top:-18.5px;">NEXT</a></li>{/block:NextPage}
- </ul>
- {/block:Pagination}
- <div id="postcontainer">
- {block:Posts}
- <article>
- <!--TEXT POST-->
- {block:Text}
- {block:Title}
- <h1 class="title">
- {Title}</h1>
- {/block:Title}
- {Body}
- {/block:Text}
- <!--PHOTO POST-->
- {block:Photo}
- {block:IndexPage}<img src="{PhotoURL-400}" alt="{PhotoAlt}"/>{/block:IndexPage}
- {block:PermalinkPage}<img src="{PhotoURL-400}" alt="{PhotoAlt}"/>{/block:PermalinkPage}
- {/block:Photo}
- <!--PHOTOSET POST-->
- {block:Photoset}
- {block:IndexPage}{Photoset-400}{/block:IndexPage}
- {block:PermalinkPage}{Photoset-400}{/block:PermalinkPage}
- {/block:Photoset}
- <!--QUOTE POST-->
- {block:Quote}
- <div class="quote">❝{Quote}❞</div>
- {/block:Quote}
- <!--LINK POST-->
- {block:Link}
- <h1 class="title"><a href="{URL}">{Name}</a></h1>
- {block:Description}{Description}{/block:Description}
- {/block:Link}
- <!--CHAT POST-->
- {block:Chat}
- <ul class="chat">
- {block:Lines}<li class="{Alt}">{block:Label}<span class="label"style="font-weight:bold;text-transform:uppercase;padding:.5px;color:{color:bold};">{Label} </span> {/block:Label} <p> {Line} </p></li>{/block:Lines}
- </ul>
- {/block:Chat}
- <!--AUDIO POST-->
- {block:Audio}
- {block:AlbumArt}
- <div class="songart">
- <img src="{AlbumArtURL}">
- </div>
- {/block:AlbumArt}
- <div class="songtitle">
- {block:TrackName}
- {TrackName}
- {/block:TrackName}
- </div>
- <div class="songauthor">
- By
- {block:Artist}
- {Artist}
- {/block:Artist}
- </div>
- {AudioPlayerWhite}
- {/block:Audio}
- <!--VIDEO POST-->
- {block:Video}
- <div class="video">
- <div class="video-player">{Video-400}</div>
- {/block:Video}
- <!--ANSWER POST-->
- {block:Answer}
- <div id="question"> <strong>{Asker}</strong> </br><hr style="opacity:.5;width:150px;">
- {Question}</div>
- <p><div class="answer">{Answer}</div>
- {/block:Answer}
- <!--CAPTIONS-->
- {block:Caption}
- {Caption}
- {/block:Caption}
- <!--POST INFORMATION-->
- <div class="postinfo"style="text-transform:uppercase;">
- <!--PERMALINK-->
- <a href="{Permalink}">
- <a href="{ReblogURL}" target="_blank" class="details"style="border-radius:10%;background-color:{color:container};padding:5px;font-size:8px;">REBLOG</a>
- {block:NoteCount}
- <a href="{Permalink}"style="border-radius:10%;background-color:{color:container};padding:5px;font-size:8px;"> {TimeAgo} </a>
- <a href="{Permalink}"style="border-radius:10%;background-color:{color:container};padding:5px;font-size:8px;"> {NoteCount} notes </a>
- {/block:NoteCount}
- <!--TAGS-->
- {block:HasTags}
- <div class="tags">
- {block:Tags}
- <a href="{TagURL}">#{Tag},</a>
- {/block:Tags}
- </div>
- {/block:HasTags}
- </div>
- <!--POST NOTES-->
- {block:PostNotes}
- <div class="pagenotes">{PostNotes-16}</div>
- {/block:PostNotes}
- </article>
- {/block:Posts}
- <!--Close of article-->
- </div>
- </div>
- <!-- -------------------------- TAB 3 -------------------------- -->
- <div id="tabbie" class="tab">
- <div class="tabcontent">
- <div id="tabbox">
- <div class="tabnav">
- <a href="{text:navlink1 url}"title="{text:navlink1 title}"><i class="fa fa-star"></i></a>
- <a href="{text:navlink2 url}"title="{text:navlink2 title}"><i class="fa fa-heart"></i></a></br></br>
- <a href="{text:navlink3 url}"title="{text:navlink3 title}"><i class="fa fa-cloud"></i></a>
- <a href="{text:navlink4 url}"title="{text:navlink4 title}"><i class="fa fa-bars"></i></a>
- </div>
- </div>
- <div id="tabbox"style="position:fixed;margin-top:0px;">
- <div class="aes">{text:aesthetic}</div>
- </div></br></br>
- <div id="tabbox">
- <div class="sike"><u>* LISTENING TO...</u></br>
- <sub style="font-size:8px;">
- <i>{text:song1}</i>, {text:artist1}</br>
- <i>{text:song2}</i>, {text:artist2}</br>
- <i>{text:song3}</i>, {text:artist3}</br>
- <i>{text:song4}</i>, {text:artist4}
- </sub>
- </div>
- </div>
- <div id="tabbox"style="position:fixed;margin-top:0px;">
- <div class="tabnav">
- <a href="{text:navlink5 url}"title="{text:navlink5 title}"><i class="fa fa-asterisk"></i></a>
- <a href="{text:navlink6 url}"title="{text:navlink6 title}"><i class="fa fa-thumbs-up"></i></a></br></br>
- <a href="{text:navlink7 url}"title="{text:navlink7 title}"><i class="fa fa-paw"></i></a>
- <a href="{text:navlink8 url}"title="{text:navlink8 title}"><i class="fa fa-paper-plane"></i></a>
- </div>
- </div>
- </div>
- </div>
- <!-- END OF TABS -->
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- TABS/ALL-INN-ONE SCRIPTS DO NOT REMOVE!!! -->
- <script>
- $(document).ready(function() {
- $('.tabs .tab-links a').on('click', function(e) {
- var currentAttrValue = $(this).attr('href');
- // Show/Hide Tabs
- $('.tabs ' + currentAttrValue).fadeIn(600).siblings().hide();
- // Change/remove current tab to active
- $(this).parent('li').addClass('active').siblings().removeClass('active');
- e.preventDefault();
- });
- });
- </script>
- <script>
- $(document).ready(function() {
- $('#filterOptions li a').click(function() {
- // fetch the class of the clicked item
- var ourClass = $(this).attr('class');
- // reset the active class on all the buttons
- $('#filterOptions li').removeClass('active');
- // update the active state on our clicked button
- $(this).parent().addClass('active');
- if(ourClass == 'all') {
- // show all our items
- $('#ourHolder').children('div.item').show();
- }
- else {
- // hide all elements that don't share ourClass
- $('#ourHolder').children('div:not(.' + ourClass + ')').hide();
- // show all elements that do share ourClass
- $('#ourHolder').children('div.' + ourClass).show();
- }
- return false;
- });
- });
- </script>
- <div id="cred"><a href="http://artitsics.tumblr.com/"><img src="https://31.media.tumblr.com/f25f57438824cf9d9fde9668123aa966/tumblr_inline_n7pbqeTAmQ1ssv4p5.png"></a></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement