Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--
- THE X THEME 2.0
- http://themesthatyoulike.com/
- -->
- <html>
- <head>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <link href='http://fonts.googleapis.com/css?family=Fjalla+One' rel='stylesheet' type='text/css'>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
- <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
- <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- <script>
- window.onload = function () {
- document.body.insertAdjacentHTML( 'beforeEnd', '<iframe id="my-like-frame" style="display:none;"></iframe>' );
- document.addEventListener( 'click', function ( event ) {
- var myLike = event.target;
- if( myLike.className.indexOf( 'my-like' ) > -1 ) {
- var frame = document.getElementById( 'my-like-frame' ),
- liked = ( myLike.className == 'my-liked' ),
- command = liked ? 'unlike' : 'like',
- reblog = myLike.getAttribute( 'data-reblog' ),
- id = myLike.getAttribute( 'data-id' ),
- oauth = reblog.slice( -8 );
- frame.src = 'http://www.tumblr.com/' + command + '/' + oauth + '?id=' + id;
- liked ? myLike.className = 'my-like' : myLike.className = 'my-liked';
- };
- }, false );
- };
- </script>
- {block:Description}
- <meta name="description" content="{MetaDescription}" />
- {/block:Description}
- <meta name="color:Background" content="#ffffff"/>
- <meta name="color:Link" content="#a7a4a4"/>
- <meta name="color:Text" content="#383838"/>
- <meta name="color:Description" content="#a5a5a3"/>
- <meta name="color:Title" content="#000000"/>
- <meta name="font:Text" content="Futura"/>
- <meta name="font:Description" content="Futura"/>
- <meta name="if:Three Rows" content="1"/>
- <meta name="if:Show X" content="1"/>
- <meta name="if:Show RSS" content="0"/>
- <meta name="if:Show Archive" content="0"/>
- <meta name="image:Background" content=""/>
- <meta name="text:Custom Link One" content="" />
- <meta name="text:Custom Link One Title" content="" />
- <meta name="text:Custom Link Two" content="" />
- <meta name="text:Custom Link Two Title" content="" />
- <meta name="text:Custom Link Three" content="" />
- <meta name="text:Custom Link Three Title" content="" />
- <style>
- body {
- margin: 0;
- padding: 0;
- background-color: {color:Background};
- background-image: url('{image:Background}');
- background-attachment: fixed;
- color: {color:Text};
- }
- #button {
- z-index: 42;
- font-family: "Futura";
- width: 50px;
- height: 50px;
- border-radius: 10px;
- background-color: rgba(0, 0, 0, 0.8);
- margin-top: 300px;
- position: fixed;;
- right: 10px;
- bottom: 10px;
- background-image: url(http://24.media.tumblr.com/5a651deb796934389269df7fd176c707/tumblr_mi6etnJifK1s3zdk4o1_100.png);
- background-size: 30px;
- background-repeat: no-repeat;
- background-position: center;
- opacity: 0.7;
- color: transparent;
- line-height: 48px;
- font-size: 10px;
- -webkit-transition: all 0.2s ease-out;
- -webkit-transition: all 0.2s ease-out;
- -moz-transition: all 0.2s ease-out;
- transition: all 0.2s ease-out;
- }
- #button:hover {
- width: 137px;
- background-position: 12px;
- border-radius: 10px;
- color: #FFF;
- padding-left: 53px;
- }
- #content {
- margin: 0 auto;
- width: 1000px;
- min-width: 750px;
- margin-top: 100px;
- {block:PermalinkPage}
- width: 500px;
- left: 50%;
- margin-left: -250px;
- position: relative;
- {/block:PermalinkPage}
- }
- #tumblr_controls {
- right: 0px !important;
- position: fixed!important;
- top: 0px !important;
- }
- #install_theme {
- width: 100px;
- height: 20px;
- z-index: 23;
- background: url(http://25.media.tumblr.com/94c2ee4906b30683009e123de5477378/tumblr_mfe2lirjrb1s0wyp8o1_100.png);
- top: 25px !important;
- position: fixed;
- right: 0px !important;
- display: none;
- opacity: 0.8;
- }
- .item iframe, img, embed, object, video {
- max-width: 100%;
- }
- blockquote {
- display: block;
- -webkit-margin-before: 5px !important;
- -webkit-margin-after: 5px !important;
- -webkit-margin-start: 8px !important;
- -webkit-margin-end: 8px !important;
- border-left: 3px solid rgb(230, 230, 230);
- padding-left: 2px;
- }
- a, a:link, a:hover, a:visited{
- color: rgb(30, 30, 30);
- text-decoration: none;
- }
- .body {
- margin: 0 auto;
- width: 1000px;
- padding-top: 20px;
- margin-top: -20px;
- padding-left: 50px;
- padding-right: 50px;
- background-color: #FFF;
- }
- .head {
- width: 1000px;
- margin: 0 auto;
- margin-top: 20px;
- }
- .head #avatar {
- width: 126px;
- height: 126px;
- float; left;
- position: relative;
- left: 50%;
- margin-top: 40px;
- margin-left: -64px;
- background-color: #FFF;
- background-image: url({PortraitURL-128});
- background-size: 126px;
- }
- .head #triangle {
- width: 126px;
- float; left;
- height: 126px;
- background-size: 126px;
- background-image: url(http://24.media.tumblr.com/430a292368811d944410d62244be936c/tumblr_mjnvh6hoFN1s3zdk4o1_250.png);
- background-size: 126px;
- display: none;
- {block:ifShowX}
- display: block;
- {/block:ifShowX}
- }
- .head #title {
- position: relative;
- width: 100%;
- top: 5px;
- text-align: center;
- font-size: 20px ;
- z-index: 2;
- font-family: Futura;
- letter-spacing: 4px;
- text-transform: uppercase;
- color: {color:Title} !important;
- }
- .head #title a{
- color: {color:Title} !important;
- }
- .head #description {
- position: relative;
- font-size: 10px;
- left: 50%;
- top: 13px;
- margin-left: -20%;
- width: 40%;
- text-align: center;
- font-family: {font:Description};
- color: {color:Description};
- }
- .head #links {
- position: relative;
- height: 13px;
- width: 100%;
- top: 20px;
- text-align: center;
- font-size: 10px;
- z-index: 1;
- font-family: {font:Description};
- color: {color:Description} !important;
- }
- .head #ask {
- margin-left: 5px;
- margin-right: 5px;
- color: {color:Description} !important;
- }
- .item {
- width: 480px;
- padding: 10px;
- margin-top: 0px;
- background-color: #FFF;
- font-family: {font:Text};
- color: {color:Text} !important;
- }
- {block:IndexPage}
- .item {
- width: 23%;
- padding: 0.5%;
- margin-top: 10px;
- margin-left: 0.4%;
- margin-right: 0.4%;
- text-align: justify;
- background-color: #FFF;
- word-wrap: break-word;
- font-family: {font:Text};
- min-width: 1px;
- }
- {/block:IndexPage}
- {block:IndexPage}
- {block:ifThreeRows}
- .item {
- width: 31%;
- padding: 0.5%;
- margin-top: 10px;
- margin-left: 0.5%;
- margin-right: 0.5%;
- text-align: justify;
- background-color: #FFF;
- word-wrap: break-word;
- font-family: {font:Text};
- min-width: 1px;
- color: {color:Text} !important;
- }
- {/block:ifThreeRows}
- {/block:IndexPage}
- .PremlinkPageContainer {
- width: 480px;
- padding: 10px;
- margin-top: 15px;
- float: left;
- font-weight: 100;
- font-size: 11px;
- background-color: #FFF;
- position: relative;
- color: #000 !important;
- font-family: {font:Text};
- color: {color:Text} !important;
- }
- .PremlinkPageContainer a{
- color: {color:Text} !important;
- border-bottom: 1px solid rgba(0, 0, 0, 0.2);
- text-decoration: none !important;
- }
- .PremlinkPageContainer #date {
- width: 480px;
- color: {color:Text} !important;
- text-align: center;
- font-size: 14px;
- }
- .PremlinkPageContainer #line {
- height: 1px;
- background-color: {color:Text} !important;
- border: none;
- }
- .PremlinkPageContainer ol {
- margin-bottom: 80px;
- }
- .PremlinkPageContainer li {
- margin-top: 8px;
- margin-left: -20px;
- list-style-type: none;
- }
- .PremlinkPageContainer li a{
- color: {color:Text} !important;
- }
- /* Reblog and Link Buttons */
- #controls{
- height: 30px;
- width: 100%;
- position: relative;
- }
- #controls #link{
- height: 25px;
- top: 0px;
- right: 10px;
- width: 25px;
- position: absolute;
- background-image: url(http://31.media.tumblr.com/181802de4d22c71ce77d91669668bfa4/tumblr_msdalj1trt1s3zdk4o1_500.png);
- background-size: 25px;
- opacity: 0.2;
- -webkit-transition: all 0.3s ease-out;
- -webkit-transition: all 0.3s ease-out;
- -moz-transition: all 0.3s ease-out;
- transition: all 0.3s ease-out;
- }
- #controls #link:hover{
- opacity: 0.4;
- }
- #controls #reblog{
- height: 26px;
- top: 0px;
- right: 42px;
- width: 26px;
- position: absolute;
- background-image: url(http://24.media.tumblr.com/5fe9fc79fb45b596bbcfcc48aaadb915/tumblr_msbbbjtW821s3zdk4o1_250.png);
- background-size: 26px;
- opacity: 0.2;
- -webkit-transition: all 0.3s ease-out;
- -webkit-transition: all 0.3s ease-out;
- -moz-transition: all 0.3s ease-out;
- transition: all 0.3s ease-out;
- }
- #controls #reblog:hover{
- opacity: 0.4;
- }
- /* Text */
- .text {
- font-size: 15px;
- text-align: left;
- padding-left: 5px;
- color: {color:Text} !important;
- }
- .text #head{
- font-size: 20px;
- text-align: center;
- font-weight: 100;
- color: {color:Text} !important;
- }
- .text #date{
- font-size: 10px;
- text-align: center;
- font-weight: 100;
- margin-top: -16px;
- margin-bottom: 20px;
- color: {color:Text} !important;
- }
- .text #line{
- height: 1px;
- width: 80%;
- background-color: rgba(30, 30, 30, 0.3);
- border: none;
- }
- /* Photo */
- .photo {
- font-size: 10px;
- text-align: left;
- padding-bottom: 0%;
- }
- .photo #index {
- width: auto;
- height: auto;
- }
- .photo .slidein{
- position: absolute;
- width: 97%;
- height: 100%;
- top: 0%;
- background: #FFF;
- overflow: hidden;
- font-size: 28px;
- opacity: 0;
- float: left;
- -webkit-transition: all 0.2s ease-out;
- -webkit-transition: all 0.2s ease-out;
- -moz-transition: all 0.2s ease-out;
- transition: all 0.2s ease-out;
- }
- .photo:hover .slidein{
- position: absolute;
- width: 97%;
- height: 100%;
- top: 0%;
- background: #FFF;
- overflow: hidden;
- font-size: 28px;
- opacity: 0.7;
- float: left;
- -webkit-transition: all 0.2s ease-out;
- -webkit-transition: all 0.2s ease-out;
- -moz-transition: all 0.2s ease-out;
- transition: all 0.2s ease-out;
- }
- .photo .slidein #buttons {
- margin-top: -20px;
- top: 50%;
- position: absolute;
- height: 23px;
- width: 140px;
- left: 50%;
- margin-left: -75px;
- }
- .photo .slidein #reblog{
- width: 35px;
- height: 30px;
- font-size: 22px;
- background-color: #000;
- background-image: url(http://25.media.tumblr.com/59f4d99b428bfd07afbbb2f994234ab2/tumblr_mf1qhtIhW71qjqqaio1_400.png);
- background-size: 17px;
- margin-left: 5px;
- background-repeat: no-repeat;
- background-position: center;
- border-radius: 5px;
- -moz-border-radius: 5px;
- float: left;
- -khtml-border-radius: 5px;
- }
- .my-like {
- width: 35px;
- height: 30px;
- font-size: 22px;
- background-color: #000;
- background-image: url(http://24.media.tumblr.com/8b3cdde3a456aca1fe21ec745f396252/tumblr_mh8ufc692s1s18kl7o1_400.png);
- background-size: 14px;
- background-repeat: no-repeat;
- background-position: center;
- border-radius: 5px;
- -moz-border-radius: 5px;
- float: left;
- -khtml-border-radius: 5px;
- }
- .my-liked, .my-like:hover {
- background-image: url(http://25.media.tumblr.com/064592531e007be4946ed3048960229b/tumblr_mh8vrc1KuI1s18kl7o1_400.png) !important;
- width: 35px;
- height: 30px;
- font-size: 22px;
- background-color: #000;
- background-size: 14px;
- background-repeat: no-repeat;
- background-position: center;
- border-radius: 5px;
- -moz-border-radius: 5px;
- float: left;
- -khtml-border-radius: 5px;
- display:inline-block;
- }
- {block:IndexPage}
- .photo .slidein #link{
- width: 55px;
- text-align: center;
- height: 30px;
- margin-left: 5px;
- line-height: 30px;
- font-size: 12px;
- color: #FFF;
- font-family: Futura;
- font-weight: 400;
- float: left;
- background-color: #000;
- border-radius: 5px;
- -moz-border-radius: 5px;
- -khtml-border-radius: 5px;
- }
- .photo .slidein #link a, a:hover, a:link, a:active, a:visited{
- color: #FFF !important;
- }
- {/block:IndexPage}
- /* Single Post Photo */
- .single {
- width: 480px;
- background-color: #FFF;
- padding: 10px 10px 10px 10px;
- position: relative;
- }
- /* Quote */
- .quote {
- font-size: 10px;
- text-align: left;
- padding-top: 3px;
- color: {color:Text} !important;
- }
- .quote a{
- color: {color:Text} !important;
- border-bottom: 1px solid rgba(0, 0, 0, 0.2);
- }
- .quote #quote{
- font-size: 24px;
- color: {color:Text} !important;
- }
- .quote #source {
- font-size: 11px;
- position: relative;
- text-align: right;
- margin-top: 0px;
- width: 95%;
- color: {color:Text} !important;
- margin-bottom: 10px;
- }
- /* Link */
- .link {
- font-size: 10px;
- text-align: left;
- padding-top: 3px;
- color: {color:Text} !important;
- }
- .link #link{
- font-size: 24px;
- text-align: center;
- color: {color:Text} !important;
- }
- .quote #description {
- font-size: 11px;
- position: absolute;
- right: 10px;
- bottom: 10px;
- text-align: left !important;
- }
- /* Photoset */
- .photosettheme {
- width: 100%;
- position: relative;
- padding-top: 30px;
- padding-bottom: 30px;
- border: 1px solid rgba(100, 100, 100, 0.1);
- background-color: rgba(180, 180, 180, 0.2);
- }
- .photosettheme .photoset{
- margin: 0 auto;
- }
- .photosettheme #reblog{
- color: rgb(150, 150, 150);
- text-decoration: none;
- text-align: center;
- position: relative;
- top: 20px;
- }
- /* Chat */
- .chat {
- font-size: 13px;
- text-align: left;
- padding-top: 0px;
- line-height: 24px;
- color: {color:Text} !important;
- }
- .chat #head{
- font-size: 20px;
- text-align: center;
- font-weight: 100;
- margin-top: -0px;
- }
- .chat li{
- font-size: 15px;
- margin-left: -14px;
- }
- .chat #line{
- height: 1px;
- width: 80%;
- margin-top: -10px;
- background-color: rgba(30, 30, 30, 0.3);
- border: none;
- }
- #infscr-loading {
- display: none;
- font-size: 0px;
- position: absolute;
- top: -300px;
- }
- .item a{
- color: {color:Link} !important;
- text-decoration: none;
- border-bottom: 1px solid rgba(100, 100, 100, 0.1);
- }
- </style>
- <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script><script>window.jQuery || document.write('<script src="http://code.jquery.com/jquery-2.0.3.min.js">\x3C/script>')</script>
- <meta name="if:AnonBeGone" content="0" />
- {block:IfAnonBeGone}
- <script type="text/javascript">
- $(document).ready(function() {
- var ask_box = $('iframe#ask_form');
- ask_box.attr('src', 'http://omgimalexis.github.io/AnonBeGone/');
- $('.item').width(510);
- });
- </script>
- {/block:IfAnonBeGone}
- </head>
- <body>
- <div class="body">
- <a alt="9eorgia" name="Kirra" title="Kirra" href="http://onlyeverjoking.tumblr.com/"><div id="button">My Baby <3</div></a>
- <div class="head">
- <!-- Yes it's called triangle but it's the X --><div id="avatar"><div id="triangle"></div></div>
- <div id="title"><a id="title" href="/">{Title}</a></div>
- {block:Description}
- <div id="description">{Description}</div>
- {/block:Description}
- <div id="links">
- {block:AskEnabled}<a id="ask" href="/ask">{AskLabel}</a> {/block:AskEnabled}
- {block:HasPages}
- {block:Pages}<a id="ask" href="{URL}">{Label}</a>{block:Pages}
- {/block:HasPages}
- {block:IfCustomLinkOneTitle}<a id="ask" href="{Text:Custom Link One}">{Text:Custom Link One Title}</a>{/block:IfCustomLinkOneTitle}
- {block:IfCustomLinkTwoTitle}<a id="ask" href="{Text:Custom Link Two}">{Text:Custom Link Two Title}</a>{/block:IfCustomLinkTwoTitle}
- {block:IfCustomLinkThreeTitle}<a id="ask" href="{Text:Custom Link Three}">{Text:Custom Link Three Title}</a>{block:IfCustomLinkThreeTitle}
- {block:ifShowArchive}<a id="ask" href="/archive">Archive</a>{/block:ifShowArchive}
- {block:ifShowRSS}<a id="ask" href="/rss">RSS</a>{/block:ifShowRSS}
- </div>
- </div>
- <div id="content">
- {block:Posts}
- {block:Text}
- <article class="item">
- <div class="text">
- {block:Title}
- <h3 id="head">{Title}</h3>
- {block:IndexPage} <div id="date"> {DayOfMonth}. {Month} {Year} </div > {/block:IndexPage}
- <hr id="line">
- {/block:Title}
- {Body}
- {block:IndexPage}
- <div id="controls">
- <a href="{Permalink}" title="Permalink Page" >
- <div id="link"></div>
- </a>
- <a target="_blank" href="{ReblogURL}" title="Reblog this">
- <div id="reblog"></div>
- </a>
- </div>
- {/block:IndexPage}
- </div>
- </article>
- {/block:Text}
- {block:Photo}
- {block:IndexPage}
- <article class="item">
- {/block:IndexPage}
- <div class="photo">
- {block:IndexPage}
- <a id="index" href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"/></a>
- <div class="slidein">
- <div id="center">
- <div id="buttons">
- <div class="my-like" data-reblog="{ReblogURL}" data-id="{PostID}" title="Like"></div>
- <a target="_blank" href="{ReblogURL}"><div id="reblog"></div></a>
- <div id="link"><a href="{Permalink}">{NoteCount}</a></div>
- </div>
- </div>
- </div>
- {/block:IndexPage}
- {block:PermalinkPage}
- <img class="single" src="{PhotoURL-500}" alt="{PhotoAlt}"/>
- <br />
- {/block:PermalinkPage}
- <!-- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption} -->
- </div>
- </article>
- {/block:Photo}
- {block:Photoset}
- <article class="item">
- <center>
- {block:IndexPage}
- {Photoset-250}
- {/block:IndexPage}
- {block:PermalinkPage}
- {Photoset-500}
- {/block:PermalinkPage}
- </center>
- {block:IndexPage}
- <div id="controls">
- <a href="{Permalink}" title="Permalink Page" >
- <div id="link"></div>
- </a>
- <a target="_blank" href="{ReblogURL}" title="Reblog this">
- <div id="reblog"></div>
- </a>
- </div>
- {/block:IndexPage}
- </article>
- {/block:Photoset}
- {block:Quote}
- <article class="item">
- <div class="quote">
- {block:IndexPage}
- {/block:IndexPage}
- <div id="quote">"{Quote}"</div>
- {block:IndexPage}
- {/block:IndexPage}
- <br />
- {block:Source}
- <br /> <div id="source">{Source}</div>
- {/block:Source}
- {block:IndexPage}
- <div id="controls">
- <a href="{Permalink}" title="Permalink Page" >
- <div id="link"></div>
- </a>
- <a target="_blank" href="{ReblogURL}" title="Reblog this">
- <div id="reblog"></div>
- </a>
- </div>
- {/block:IndexPage}
- </div>
- </article>
- {/block:Quote}
- {block:Link}
- <article class="item">
- <div class="link">
- <a href="{URL}" id="link" {Target}>{Name}</a>
- {block:Description}
- <div id="description">{Description}</div>
- {/block:Description}
- {block:IndexPage}
- <div id="controls">
- <a href="{Permalink}" title="Permalink Page" >
- <div id="link"></div>
- </a>
- <a target="_blank" href="{ReblogURL}" title="Reblog this">
- <div id="reblog"></div>
- </a>
- </div>
- {/block:IndexPage}
- </div>
- </article>
- {/block:Link}
- {block:Chat}
- <article class="item">
- <div class="chat">
- {block:Title}
- <h3 id="head"><a href="{Permalink}">{Title}</a></h3>
- <hr id="line">
- {/block:Title}
- <ul class="chat">
- {block:Lines}
- <li class="{Alt} user_{UserNumber}">
- {block:Label}
- <span class="label">{Label}</span>
- {/block:Label}
- {Line}
- </li>
- {/block:Lines}
- </ul>
- {block:IndexPage}
- <div id="controls">
- <a href="{Permalink}" title="Permalink Page" >
- <div id="link"></div>
- </a>
- <a target="_blank" href="{ReblogURL}" title="Reblog this">
- <div id="reblog"></div>
- </a>
- </div>
- {/block:IndexPage}
- </div>
- </article class="item">
- {/block:Chat}
- {block:Video}
- <article class="item">
- <center>
- {block:IndexPage}
- {Video-250}
- {/block:IndexPage}
- {block:PermalinkPage}
- {Video-500}
- {/block:PermalinkPage}
- </center>
- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {block:IndexPage}
- <div id="controls">
- <a href="{Permalink}" title="Permalink Page" >
- <div id="link"></div>
- </a>
- <a target="_blank" href="{ReblogURL}" title="Reblog this">
- <div id="reblog"></div>
- </a>
- </div>
- {/block:IndexPage}
- </article>
- {/block:Video}
- {block:Audio}
- <article class="item">
- <center> {AudioPlayerBlack} </center>
- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {block:IndexPage}
- <div id="controls">
- <a href="{Permalink}" title="Permalink Page" >
- <div id="link"></div>
- </a>
- <a target="_blank" href="{ReblogURL}" title="Reblog this">
- <div id="reblog"></div>
- </a>
- </div>
- {/block:IndexPage}
- </article>
- {/block:Audio}
- {block:PermalinkPage}
- <div class="PremlinkPageContainer">
- <div id="date">{DayOfWeek}, {DayOfMonth} - {MonthNumberWithZero} - {Year}</div>
- <hr id="line"/>
- {block:Caption}
- {Caption}
- {/block:Caption}
- <hr id="line"/>
- <center>{block:NoteCount}{notecountwithlabel}{/block:NoteCount}</center>
- {block:Posts}{PostNotes}{/block:Posts}
- </div>
- {/block:PermalinkPage}
- {/block:Posts}
- </div>
- <div id="hide"><div id="hide"><nav class="pagination">
- {block:NextPage}
- <next><a style="diyplay: none;" class="nextSelector" href="{NextPage}"></a></next>
- {/block:NextPage}
- </nav>
- <script>
- (function () {
- var $tumblelog = $('#content');
- $tumblelog.infinitescroll({
- navSelector: ".pagination",
- nextSelector: ".pagination a:last-child",
- itemSelector: "article",
- },
- function (newElements) {
- var $newElems = $(newElements).css({
- opacity: 0
- });
- $newElems.imagesLoaded(function () {
- $newElems.animate({
- opacity: 1
- });
- $tumblelog.masonry('appended', $newElems);
- });
- });
- $tumblelog.imagesLoaded(function () {
- $tumblelog.masonry({
- columnWidth: function (containerWidth) {
- return containerWidth / 100;
- }
- });
- });
- })();
- (function () {var $tumblelog = $('#content');
- })();
- var $tumblelog = $('#content');
- $tumblelog.infinitescroll({
- navSelector: ".pagination",
- nextSelector: ".pagination a:last-child",
- itemSelector: "article",
- },function (newElements) {
- var $newElems = $(newElements).css({
- opacity: 0
- });
- $newElems.imagesLoaded(function () {
- $newElems.animate({
- opacity: 1
- });
- $tumblelog.masonry('appended', $newElems);
- });
- });
- $tumblelog.imagesLoaded(function () {
- $tumblelog.masonry({
- columnWidth: function (containerWidth) {
- return containerWidth / 100;
- }
- });
- });
- </script>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement