Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <head>
- <!--
- _ _ _
- | |__ _ _ ___| |__ | | ___ ___
- | '_ \| | | | / __| '_ \| |/ _ \ / _ \
- | |_) | |_| | | (__| | | | | (_) | __/
- |_.__/ \__, | \___|_| |_|_|\___/ \___|
- |___/
- Florantia Theme by Chloe | @dontbrag | @bychloethemes
- Do not delete the credit. Do not claim as your own. Do not copy any ideas or code. Do not redistribute.
- For html help go to @htmlqueens
- -->
- <meta name="image:Background" content="http://static.tumblr.com/b879f6f077133de33d3aa4b0f01ab261/yxfeliq/9K0nsiqdp/tumblr_static_bt8btiyybpk40wkk8kso0gock.png" />
- <meta name="image:Left Sidebar" content="" />
- <meta name="image:Right Sidebar" content="" />
- <meta name="color:Background" content="#fff" />
- <meta name="color:Scrollbar" content="#000" />
- <meta name="color:Scrollbar Background" content="#99b686" />
- <meta name="color:Blog Border" content="#99b686" />
- <meta name="color:Sidebar Text" content="#000" />
- <meta name="color:Sidebar Links" content="#000" />
- <meta name="color:Sidebar Backgrounds" content="#fff" />
- <meta name="color:Sidebar Borders" content="#666" />
- <meta name="color:Text" content="#000" />
- <meta name="color:Links" content="#666" />
- <meta name="color:Post Backgrounds" content="#fff" />
- <meta name="color:Post Borders" content="#666" />
- <meta name="color:Post Accent" content="#eee" />
- <meta name="if:Tiled Background" content="1"/>
- <meta name="if:Pagination" content="0" />
- <meta name="if:Sign Off Asks" content="" />
- <meta name="text:Sidebar Height" content="250px" />
- <meta name="text:Subtitle" content="~" />
- <meta name="text:Link 1" content="" />
- <meta name="text:URL 1" content="" />
- <meta name="text:Link 2" content="" />
- <meta name="text:URL 2" content="" />
- <meta name="text:Link 3" content="" />
- <meta name="text:URL 3" content="" />
- <meta name="text:Ask Sign Off" content="your name xx" />
- {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>{block:TagPage}{Tag} posts | {/block:TagPage} {block:PostSummary}{PostSummary} | {/block:PostSummary}{Title}</title>
- <title>{text:Tab Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
- <link href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
- <link href='//fonts.googleapis.com/css?family=Raleway:400,600' rel='stylesheet' type='text/css'>
- <link href='//fonts.googleapis.com/css?family=Nothing+You+Could+Do' rel='stylesheet' type='text/css'>
- <style type="text/css">
- ::-webkit-scrollbar {
- background-color: {color:Scrollbar Background};
- height: 5px;
- width: 5px;
- }
- ::-webkit-scrollbar-thumb {
- background-color: {color:Scrollbar};
- width: 5px;
- height: 5px;
- }
- #tumblr_controls {
- right:12px!important;
- top:12px!important;
- position:fixed!important;
- margin: 0 0 0 0!important;
- }
- body {
- background: {color:Background} url('{image:Background}'){block:IfNotTiledBackground}
- no-repeat center center fixed;
- -webkit-background-size: cover;
- -moz-background-size: cover;
- -o-background-size: cover;
- background-size: cover;
- {/block:IfNotTiledBackground}
- {block:IfTiledBackground}
- repeat fixed;
- {/block:IfTiledBackground}
- color: {color:Text};
- font-family: 'Raleway', sans-serif;
- font-size: 12px;
- margin: 0;
- padding: 0;
- }
- iframe, img, embed, object, video {
- max-width: 100%;
- }
- img {
- height: auto;
- width: auto;
- vertical-align:middle;
- }
- blockquote {
- border-left:1px solid {color:Post Borders};
- margin:0 0 0 15px;
- padding:0 0 0 5px;
- }
- a:link, a:visited {
- color:{color:Links};
- text-decoration:none;
- }
- a:hover, a:active {
- text-decoration:line-through;
- }
- a:focus {
- outline:none;
- }
- b, strong {
- font-weight:600;
- }
- hr {
- height:1px;
- background:{color:Post Borders};
- border:0;
- }
- h1 {
- font-weight:400;
- }
- cite {
- margin-top:3px;
- display:block;
- text-align:right;
- }
- #topping {
- position:fixed;
- z-index:999999999;
- width:100%;
- height:10px;
- left:0px;
- top:0px;
- }
- #lefting {
- position:fixed;
- z-index:999999999;
- width:10px;
- height:100%;
- left:0px;
- top:0px;
- }
- #righting {
- position:fixed;
- z-index:999999999;
- width:10px;
- height:100%;
- right:0px;
- top:0px;
- }
- #botting {
- position:fixed;
- z-index:999999999;
- width:100%;
- height:10px;
- left:0px;
- bottom:0px;
- }
- #botting, #righting, #lefting, #topping {
- background:{color:Blog Border};
- }
- .credit {
- width:14px;
- height:13px;
- color: {color:Post Borders};
- position:fixed;
- bottom: 15px;
- right: 15px;
- line-height: 14px;
- font-size:12px;
- text-transform: uppercase;
- padding:3px 4px;
- overflow: hidden;
- z-index:999999999999999999;
- text-align:left;
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- transition: all 0.5s ease-in-out;
- }
- .fa-diamond {
- right:4px;
- position:absolute;
- }
- .credit:hover {
- width:126px;
- background:#000;
- color:#fff;
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- transition: all 0.5s ease-in-out;
- }
- .credit a {
- color:#fff;
- text-decoration: none;
- }
- .credit .mine {
- opacity:0;
- visibility:hidden;
- }
- .credit:hover .mine {
- opacity: 1;
- visibility: visible;
- -webkit-transition: all 0.5s ease-in-out 0.5s;
- -moz-transition: all 0.5s ease-in-out 0.5s;
- -o-transition: all 0.5s ease-in-out 0.5s;
- transition: all 0.5s ease-in-out 0.5s;
- }
- .sidebar {
- width:150px;
- border:1px solid {color:Sidebar Borders};
- height:{text:Sidebar Height};
- background:{color:Sidebar Backgrounds};
- position:fixed;
- top:100px;
- padding:10px;
- box-shadow:3px 3px rgba(200,200,200,0.5);
- z-index:9;
- color:{color:Sidebar Text};
- }
- .sidebar h1 {
- margin:0;
- text-align:center;
- }
- .sidebar img {
- padding:5px;
- border:1px dashed {color:Sidebar Borders};
- width:140px;
- }
- .sidebar a {
- color:{color:Sidebar Links};
- }
- .left-sidebar {
- left:80px;
- }
- .right-sidebar {
- right:80px;
- }
- ul.navlinks {
- padding:0;
- list-style-type:none;
- text-align:center;
- margin:0;
- }
- ul.navlinks li {
- display:inline-block;
- margin:0;
- }
- ul.navlinks li:after {
- content:' · ';
- margin:0 3px;
- }
- ul.navlinks li:first-child:before {
- content:' · ';
- margin:0 3px;
- }
- .pagination {
- margin:0 auto;
- width:150px;
- position:absolute;
- bottom:-30px;
- text-align:center;
- }
- .pagination a {
- background:{color:Sidebar Backgrounds};
- border:1px solid {color:Sidebar Borders};
- box-shadow:3px 3px rgba(200,200,200,0.5);
- padding:3px;
- }
- .content {
- {block:IndexPage}
- width:664px;
- {/block:IndexPage}
- {block:PermalinkPage}
- width:542px;
- {/block:PermalinkPage}
- margin:20px auto 0 auto;
- }
- article {
- {block:IndexPage}
- width:250px;
- margin:30px;
- padding:10px;
- {/block:IndexPage}
- {block:PermalinkPage}
- width:500px;
- margin:20px 0;
- padding:20px;
- {/block:PermalinkPage}
- background:{color:Post Backgrounds};
- border:1px solid {color:Post Borders};
- box-shadow:3px 3px rgba(200,200,200,0.5);
- }
- article h1 {
- margin:0;
- }
- article p {
- margin:3px 0;
- }
- article ul {
- padding:0;
- margin-left:30px;
- }
- .photoset {
- margin-bottom:-1px;
- }
- .short h1 {
- font-size:2em;
- }
- .medium h1 {
- font-size:1.5em;
- }
- .long h1 {
- font-size:1em;
- }
- ul.chat-list {
- list-style-type:none;
- padding:0;
- margin:0;
- }
- ul.chat-list li {
- margin:3px 0;
- padding:3px 0;
- }
- ul.chat-list li.even {
- background:{color:Post Accent};
- }
- span.label {
- font-weight:bold;
- }
- .album-art img {
- {block:IndexPage}
- width:70px;
- height:70px;
- {/block:IndexPage}
- {block:PermalinkPage}
- height:500px;
- width:500px;
- text-align:center;
- {/block:PermalinkPage}
- }
- .audio-info {
- position:absolute;
- left:88px;
- top:10px;
- line-height:16px;
- min-height:70px;
- border-left:1px solid {color:Post Borders};
- padding-left:5px;
- }
- .tumblr_audio_player {
- {block:IndexPage}
- height: 30px;
- width: 30px;
- position: absolute;
- top: 30px;
- left: 30px;
- border-radius: 50%;
- opacity: 0.8;
- {/block:IndexPage}
- {block:PermalinkPage}
- width:500px;
- height:40px;
- {/block:PermalinkPage}
- }
- .asks, .asks2 {
- margin-bottom:10px;
- }
- .asks {
- float:left;
- margin-right:15px;
- }
- .asks2 {
- float:right;
- margin-left:15px;
- }
- .question, .question2 {
- margin-bottom:10px;
- background:{color:Post Accent};
- padding:4px;
- {block:PermalinkPage}
- line-height:18px;
- {/block:PermalinkPage}
- }
- .question {
- {block:IndexPage}
- margin-left:55px;
- {/block:IndexPage}
- {block:PermalinkPage}
- margin-left:83px;
- {/block:PermalinkPage}
- }
- .question:before {
- content:"";
- width: 0;
- height: 0;
- border-style: solid;
- z-index:7;
- border-color: transparent {color:Post Accent} transparent transparent;
- position:absolute;
- {block:IndexPage}
- border-width: 4px 10px 4px 0px;
- left:55px;
- {/block:IndexPage}
- {block:PermalinkPage}
- border-width: 7px 11px 7px 0px;
- left:92px;
- {/block:PermalinkPage}
- }
- .question2 {
- {block:IndexPage}
- margin-right:55px;
- {/block:IndexPage}
- {block:PermalinkPage}
- margin-right:83px;
- {/block:PermalinkPage}
- }
- .question2:before {
- content:"";
- width: 0;
- height: 0;
- border-style: solid;
- z-index:7;
- border-color: transparent transparent transparent {color:Post Accent};
- position:absolute;
- {block:IndexPage}
- border-width: 4px 0px 4px 10px;
- right:55px;
- {/block:IndexPage}
- {block:PermalinkPage}
- border-width: 7px 0px 7px 11px;
- right:92px;
- {/block:PermalinkPage}
- }
- .question2 p {
- display:inline;
- margin:0;
- }
- #signature {
- font-size: 1.4em;
- font-family: 'Nothing You Could Do', cursive;
- text-align: right;
- }
- ul.permas {
- padding:0;
- list-style-type:none;
- margin:0;
- text-align:center;
- height:0;
- overflow:hidden;
- font-size:10px;
- -webkit-transition: all 0.4s ease-in-out;
- -moz-transition: all 0.4s ease-in-out;
- -o-transition: all 0.4s ease-in-out;
- transition: all 0.4s ease-in-out;
- }
- ul.permas li {
- display:inline-block;
- }
- article:hover ul.permas {
- height:14px;
- margin-top:10px;
- -webkit-transition: all 0.4s ease-in-out;
- -moz-transition: all 0.4s ease-in-out;
- -o-transition: all 0.4s ease-in-out;
- transition: all 0.4s ease-in-out;
- }
- ol.notes {
- list-style-type: none;
- margin:0 5px 0 0;
- padding:0;
- }
- ol.notes li.note {
- padding:0;
- text-align:left;
- line-height:16px;
- width:100%;
- border:0;
- border-radius:0;
- background:transparent;
- border-bottom:1px solid {color:Post Borders};
- padding-bottom:8px;
- padding-top:8px;
- }
- ol.notes li.note:last-child {
- border-bottom:0;
- }
- ol.notes li.note img.avatar {
- display:none;
- }
- ol.notes li.note span.action {
- font-weight: normal;
- }
- ol.notes li.note .answer_content {
- font-weight: normal;
- }
- #infscr-loading {
- position:absolute;
- bottom:-10px;
- width:200px;
- margin-left:50%;
- left:-100px;
- text-align:center;
- color:{color:Post Borders};
- }
- #infscr-loading img{
- display:none;
- }
- </style>
- </head>
- <body>
- <div id="topping"></div>
- <div id="lefting"></div>
- <div id="righting"></div>
- <div id="botting"></div>
- <div class="left-sidebar sidebar">
- <h1><a href="/">{Title}</a></h1>
- {block:IfLeftSidebarImage}
- <p><img src="{image:Left Sidebar}"></p>
- {/block:IfLeftSidebarImage}
- {block:Description}<p>{Description}</p>{/block:Description}
- {block:Pagination}
- <div class="pagination" {block:IfNotPagination}style="visibility:hidden;"{/block:IfNotPagination}>
- {block:PreviousPage}<a href="{PreviousPage}">previous</a>{/block:PreviousPage}
- </div>
- {/block:Pagination}
- </div>
- <div class="right-sidebar sidebar">
- <h1>{text:Subtitle}</h1>
- {block:IfRightSidebarImage}
- <p><img src="{image:Right Sidebar}"></p>
- {/block:IfRightSidebarImage}
- <ul class="navlinks">
- <li><a href="/">home</a></li>
- {block:AskEnabled}
- <li><a href="/ask">ask</a></li>
- {/block:AskEnabled}
- {block:SubmissionsEnabled}
- <li><a href="/submit">submit</a></li>
- {/block:SubmissionsEnabled}
- {block:HasPages}
- <br> ·
- {block:Pages}
- <li><a href="{URL}">{Label}</a></li>
- {/block:Pages}
- <br>
- {/block:HasPages}
- {block:IfLink1}
- <br> ·
- <li><a href="{text:URL 1}">{text:Link 1}</a></li>
- {/block:IfLink1}
- {block:IfLink2}
- <li><a href="{text:URL 2}">{text:Link 2}</a></li>
- {/block:IfLink2}
- {block:IfLink3}
- <li><a href="{text:URL 3}" >{text:Link 3}</a></li>
- {/block:IfLink3}
- <br> ·
- <li><a href="/archive">archive</a></li>
- <li><a href="http://dontbrag.tumblr.com" target="_blank">theme</a></li>
- </ul>{block:Pagination}
- <div class="pagination" {block:IfNotPagination}style="visibility:hidden;"{/block:IfNotPagination}>
- {block:NextPage}<a href="{NextPage}">next</a>{/block:NextPage}
- </div>
- {/block:Pagination}
- </div>
- <div class="content">
- {block:Posts}
- {block:PermalinkPagination}
- <article>
- <center>Posted on {DayOfWeek} the {DayOfMonth}{DayOfMonthSuffix} of {Month}, {Year} at {12Hour}:{Minutes}{AmPm} with {NoteCountWithLabel}.</center>
- </article>
- {/block:PermalinkPagination}
- <article>
- {block:Text}
- <div class="text">
- {block:Title}<h1>{Title}</h1>{block:Title}
- <p>{Body}</p>
- </div>
- {/block:Text}
- {block:Photo}
- <div class="photo">
- <div class="make_lightbox" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}" data-lowres="{PhotoURL-500}" data-highres="{PhotoURL-HighRes}"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" />
- </div>
- {/block:Photo}
- {block:Photoset}
- <div class="photoset">
- {block:IndexPage}{Photoset-250}{/block:IndexPage}
- {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
- </div>
- {/block:Photoset}
- {block:Quote}
- <div class="quote {Length}">
- <h1>“{Quote}”</h1>
- {block:IndexPage}
- {block:Source}<cite>- {Source}</cite>{/block:Source}
- {/block:IndexPage}
- </div>
- {/block:Quote}
- {block:Link}
- <div class="link">
- <h1>↳<a href="{URL}" {Target}>{Name}</a></h1>
- {block:IndexPage}
- {block:Description}<p>{Description}</p>{/block:Description}
- {/block:IndexPage}
- </div>
- {/block:Link}
- {block:Chat}
- <div class="chat">
- {block:Title}<h1>{Title}</h1>{/block:Title}
- <ul class="chat-list">
- {block:Lines}
- <li class="{Alt}">
- {block:Label}<span class="label">{Label}</span>{/block:Label}
- {Line}</li>
- {/block:Lines}
- </ul>
- </div>
- {/block:Chat}
- {block:Audio}
- <div class="audio">
- {block:AlbumArt}
- <div class="album-art">
- <img src="{AlbumArtURL}">
- </div>
- {/block:AlbumArt}
- {block:IndexPage}
- <div class="audio-info" {block:AudioEmbed}style="display:none;"{/block:AudioEmbed}>
- Artist: <span {block:Artist}style="display:none;"{/block:Artist}>Unknown</span>{block:Artist}{Artist}{/block:Artist}<br>
- Title: <span {block:TrackName}style="display:none;"{/block:TrackName}>Unknown</span>{block:TrackName}{TrackName}{/block:TrackName}<br>
- Album: <span {block:Album}style="display:none;"{/block:Album}>Unknown</span>{block:Album}{Album}{/block:Album}<br>
- Plays: {FormattedPlayCount}</div>
- {block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}
- {/block:IndexPage}
- {block:PermalinkPage}
- {block:AudioPlayer}{AudioPlayerBlack}{/block:AudioPlayer}
- {/block:PermalinkPage}
- {block:IndexPage}
- {block:AudioEmbed}{AudioEmbed-250}{/block:AudioEmbed}
- {/block:IndexPage}
- {block:PermalinkPage}
- {block:AudioEmbed}{AudioEmbed-500}{/block:AudioEmbed}
- {/block:PermalinkPage}
- </div>
- {/block:Audio}
- {block:Video}
- <div class="video">
- {block:IndexPage}{Video-250}{/block:IndexPage}
- {block:PermalinkPage}{Video-500}{/block:PermalinkPage}
- </div>
- {block:Video}
- {block:Answer}
- <div class="answer">
- <img class="asks" src="{block:IndexPage}{AskerPortraitURL-40}{/block:IndexPage}{block:PermalinkPage}{AskerPortraitURL-64}{/block:PermalinkPage}">
- <div class="question">{lang:Asker asked 2}: {Question}</div>
- <hr style="visibility:hidden;width:100%;margin:0;">
- {block:Answerer}
- <img class="asks2" src="{block:IndexPage}{AnswererPortraitURL-40}{/block:IndexPage}{block:PermalinkPage}{AnswererPortraitURL-64}{/block:PermalinkPage}">
- <div class="question2">{Answerer} replied: {Answer}</div>
- <hr style="visibility:hidden;width:100%;">
- {/block:Answerer}
- {Replies}
- {block:IfSignOffAsks}
- <div id="signature" {block:Answerer}style="display:none;"{/block:Answerer}>-{text:Ask Sign Off}</div>
- {/block:IfSignOffAsks}
- </div>
- {/block:Answer}
- {block:IndexPage}
- <ul class="permas">
- <li><a href="{Permalink}">{NoteCount}</a></li>
- <li>·</li>
- <li><a href="{ReblogURL}">Reblog</a></li>
- {block:RebloggedFrom}<li>·</li>
- <li><a href="{ReblogParentURL}">Via</a></li>
- {/block:RebloggedFrom}
- {block:ContentSource}<li>·</li>
- <li><a href="{SourceURL}">Source</a></li>
- {/block:ContentSource}
- </ul>
- {/block:IndexPage}
- </article>
- {block:PermalinkPage}
- {block:Photo}{block:Caption}<article>{Caption}</article>{/block:Caption}{/block:Photo}
- {block:Photoset}{block:Caption}<article>{Caption}</article>{/block:Caption}{/block:Photoset}
- {block:Quote}{block:Source}<article><cite style="font-style:normal;"> — {Source}</cite></article>{/block:Source}{/block:Quote}
- {block:Link}{block:Description}<article>{Description}</article>{/block:Description}{/block:Link}
- {block:Audio}
- <article>
- Artist: <span{block:Artist} style="display:none;"{/block:Artist}>Unknown</span>{block:Artist}{Artist}{/block:Artist}<br>
- Title: <span{block:TrackName} style="display:none;"{/block:TrackName}>Unknown</span>{block:TrackName}{TrackName}{/block:TrackName}<br>
- Album: <span{block:Album} style="display:none;"{/block:Album}>Unknown</span>{block:Album}{Album}{/block:Album}{block:PlayCount}<br>
- Plays: {FormattedPlayCount}{/block:PlayCount}</article>
- {block:Caption}<article>{Caption}</article>{/block:Caption}
- {/block:Audio}
- {block:Video}{block:Caption}<article>{Caption}</article>{/block:Caption}{/block:Video}
- {block:HasTags}
- <article id="tags">
- filed under: {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}
- </article>{/block:HasTags}
- {block:PostNotes}
- <article id="notes" class="postnotes">
- {PostNotes}
- </article>
- {/block:PostNotes}
- {/block:PermalinkPage}
- {/block:Posts}
- </div>
- <!--Links to jQuery library, Masonry, infinite scroll and imagesLoaded-->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
- <script type="text/javascript">
- $(function(){ // shorthand document.ready()
- $('.make_lightbox').each(function(){ // this is just an element I let them click, it carries a series of data- attributes.
- $(this).on('click',function(){ // when clicked. this is the newer jQuery click() handler that's only in v1.8+ so that may be something to note.
- var lbArray = []; // create blank array.
- var arrayContents = {"width":$(this).data('width'), "height":$(this).data('height'), "low_res":$(this).data("lowres"), "high_res":$(this).data('highres')}; // make set of the data- attributes.
- lbArray.push(arrayContents); // push the set into the array.
- Tumblr.Lightbox.init(lbArray,1); // trigger Tumblr lightbox. the '1' is the number of photos it expects. specific to how tumblr has things set up.
- $('body').toggleClass('tumblr_lightbox_active'); // use this to prevent the user from scrolling.
- });
- });
- });
- </script>
- <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
- <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
- <!--Code for infinite scroll and grid layout-->
- <script>
- (function() {
- var $tumblelog = $('.content');
- $tumblelog.imagesLoaded( function(){
- $tumblelog.masonry({
- columnWidth: function( containerWidth ) {
- return containerWidth / 100;
- }
- });
- });
- {block:IfNotPagination}
- $tumblelog.infinitescroll({
- navSelector : ".pagination",
- nextSelector : ".pagination a:last",
- itemSelector : "article",
- bufferPx : 50,
- done : "",
- loading: {
- finishedMsg: "<p>You've reached the end of the Earth.</p>",
- img : "",
- msg: null,
- msgText: "<p><i class='fa fa-spinner fa-pulse fa-3x'></i></p>"
- },
- },
- function( newElements ) {
- var $newElems = $( newElements ).css({ opacity: 0 });
- $newElems.imagesLoaded(function(){
- $newElems.animate({ opacity: 1 });
- $tumblelog.masonry( 'appended', $newElems);
- });
- $(function(){ // shorthand document.ready()
- $('.make_lightbox').each(function(){ // this is just an element I let them click, it carries a series of data- attributes.
- $(this).on('click',function(){ // when clicked. this is the newer jQuery click() handler that's only in v1.8+ so that may be something to note.
- var lbArray = []; // create blank array.
- var arrayContents = {"width":$(this).data('width'), "height":$(this).data('height'), "low_res":$(this).data("lowres"), "high_res":$(this).data('highres')}; // make set of the data- attributes.
- lbArray.push(arrayContents); // push the set into the array.
- Tumblr.Lightbox.init(lbArray,1); // trigger Tumblr lightbox. the '1' is the number of photos it expects. specific to how tumblr has things set up.
- $('body').toggleClass('tumblr_lightbox_active'); // use this to prevent the user from scrolling.
- });
- });
- });
- }
- );
- {/block:IfNotPagination}
- })();
- </script>
- <div class="credit">
- <i class="fa fa-diamond"></i> <a class="mine" target="_blank" href="http://dontbrag.tumblr.com">ByChloeThemes</a>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment