Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <!--
- Theme 01 - "Casual Elegance 2.0" 2 Column/Grid by Elowen (theghostoflove.tumblr.com)
- Credit stays intact, please. If you get stuck, feel free to message me! Comments and suggestions are welcome.
- -->
- <head>
- <link href='https://fonts.googleapis.com/css?family=Pacifico|Cookie|Montez' rel='stylesheet' type='text/css'>
- <title>{title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <meta name="color:Ask and Link Bg" content="#e7cf9a">
- <meta name="color:Chat1" content="#fcf0d7">
- <meta name="color:Chat2" content="#f8e5bb">
- <meta name="color:Background" content="#fcf2dd">
- <meta name="color:Body" content="#b38b85">
- <meta name="color:Border" content="#c4adad">
- <meta name="color:Description" content="#aa8e6f">
- <meta name="color:Entries" content="#e0d8bf">
- <meta name="color:Imagebar" content="#e2d0c2">
- <meta name="color:Link" content="#e0a38e">
- <meta name="color:Link Hover" content="#d37c5e">
- <meta name="color:Navlinks Bg" content="#f0e5dd">
- <meta name="color:Navlinks Bg Hover"content="#f7dfcf">
- <meta name="color:Post" content="#f7e7c5">
- <meta name="color:Scroll" content="#fcf2dd">
- <meta name="color:Scroll Bg" content="#e0d8bf">
- <meta name="color:Sidebar" content="#e6d3c4">
- <meta name="color:Title" content="#d198a8">
- <meta name="if:Back to Top" content="0">
- <meta name="if:Imagebar" content="1">
- <meta name="if:Infinite Scroll" content="0">
- <meta name="if:Grid" content="0">
- <meta name="image:Background" content="">
- <meta name="image:Sidebar Background" content="">
- <meta name="image:Sidebar" content="https://static.tumblr.com/065279b37f59c3cfd2934f298a3d233d/ougxdjo/3Lzmuakey/tumblr_static_emma4_2.jpg">
- <meta name="image:Imagebar 1" content="https://static.tumblr.com/3e63d45b1abd4f0c7423d8b1acfd628b/ougxdjo/r4Tmuakg0/tumblr_static_emma1.jpg">
- <meta name="image:Imagebar 2"content="https://static.tumblr.com/b0fe631f3b6c2faf9daebe6a051a9a06/ougxdjo/R7vmuakg6/tumblr_static_emma2_2.jpg">
- <meta name="image:Imagebar 3"content="https://static.tumblr.com/908999adca97018d8efef1f49eb83159/ougxdjo/M17muakgi/tumblr_static_emma3.jpg">
- <meta name="image:Imagebar Bg"content="">
- <meta name="text:BackToTopImage" content="https://i1155.photobucket.com/albums/p559/scrolltotop/arrow64.png">
- <meta name="text:Link1" content="">
- <meta name="text:Link1URL" content="http://">
- <meta name="text:Link2" content="">
- <meta name="text:Link2URL" content="http://">
- <meta name="text:Link3" content="">
- <meta name="text:Link3URL" content="http://">
- <meta name="text:Link4" content="">
- <meta name="text:Link4URL" content="http://">
- <meta name="text:Link5" content="">
- <meta name="text:Link5URL" content="http://">
- <meta name="text:Link6" content="">
- <meta name="text:Link6URL" content="http://">
- <meta name="text:Link7" content="">
- <meta name="text:Link7URL" content="http://">
- <meta name="text:Link8" content="">
- <meta name="text:Link8URL" content="http://">
- <meta name="text:Link9" content="">
- <meta name="text:Link9URL" content="http://">
- <style type="text/css">
- body{
- text-align:justify;
- font-family:georgia;
- font-size:11px;
- color:{color:body};
- background:{color:background} url('{image:Background}') fixed repeat;
- }
- h4 {font-family: 'Cookie', cursive;font-size:24px;text-align:center;line-height:80%;letter-spacing:1px;padding:6px; font-weight:normal;margin:0px 0px 0px 0px}
- {block:ifNotGrid}blockquote {border-left:2px solid {color:border}; padding-left:5px; margin:0px 2px 0px 10px}{/block:ifNotGrid}
- {block:ifGrid}blockquote {border-left:2px solid {color:border}; padding-left:5px; margin:0px 2px 0px 2px}{/block:ifGrid}
- ::-webkit-scrollbar {width:10px;height:auto;background:{color:scroll bg};}
- ::-webkit-scrollbar-corner {background:{color:scroll};}
- ::-webkit-scrollbar-thumb:vertical {background:{color:scroll};}
- ::-webkit-scrollbar-thumb:horizontal {background:{color:scroll};}
- ::selection {color:{color:post};background-color: {color:body};}
- ::-moz-selection {color:{color:post};background-color: {color:body};}
- ::-webkit-selection {color:{color:post};background-color: {color:body};}
- a {color:{color:link};text-decoration:none;-moz-transition-duration:0.5s;-webkit-transition-duration:0.5s;-o-transition-duration:0.5s;}
- a:hover {color:{color:link hover};}
- #container2 {float:left;}
- {block:ifNotGrid}#content {width:860px;}{/block:ifNotGrid}
- {block:ifGrid}#content {width:830px;}{/block:ifGrid}
- #title {
- font-family: 'Cookie', cursive;
- font-weight: normal;
- text-align: center;
- font-size: 40px;
- margin-top: 25px;
- color: {color:Title};
- line-height: 85%;
- }
- #sidebar {
- text-align:left;
- top:0px;
- left:0px;
- position:fixed;
- width:250px;
- height:100%;
- background-color:{color:sidebar};
- background-image:url('{image:Sidebar Background}');
- background-attachment:fixed;
- background-position:bottom left;
- }
- #sidebar img {
- width: 200px; height: 170px;
- margin-top:20px;
- border:5px solid {color:border};
- }
- #description {
- text-align:justify;
- width:205px;
- margin-top:40px;
- margin-left:20px;
- color:{color:description};
- }
- #navigate {margin-top:15px; margin-left:15px;}
- #navigate a {
- height:10px;
- width:55px;
- line-height:10px;
- display:inline-block;
- margin:5px 0px 5px 5px;
- font-size:9px;
- text-transform:lowercase;
- letter-spacing:2px;
- text-align:center;
- padding:4px;
- border:solid 1px {color:border};
- background-color:{color:navlinks bg};
- }
- #navigate a:hover {
- font-style:italic;
- background-color:{color:navlinks bg hover};
- }
- .pagi {
- text-align:center;
- width:250px;
- display:inline-block;
- margin-top:0px;
- position:fixed;
- font-size:30px;
- }
- #entries {
- z-index:9;
- padding:10px;
- padding-left:15px;
- padding-right:{block:ifNotGrid}15px{/block:ifNotGrid}{block:ifGrid}0px{/block:ifGrid};
- float:left;
- margin-bottom:20px;
- margin-top:10px;
- margin-left:260px;width:860px;
- background-color:{color:Entries};
- }
- #post {
- overflow:hidden;
- float:left;
- position:relative;
- z-index:10;
- padding:10px;
- {block:PermalinkPage}margin-left:300px;{/block:PermalinkPage}
- margin-left:5px;
- margin-top:10px;
- margin-bottom:15px;
- padding-bottom:10px;
- background-color:{color:Post};
- {block:ifNotGrid}width:400px;{/block:ifNotGrid}
- {block:ifGrid}width:250px;{/block:ifGrid}
- {block:PermalinkPage}width:500px;{/block:PermalinkPage}
- }
- #textpost {
- {block:ifNotGrid}width:400px;{/block:ifNotGrid}
- {block:ifGrid}width:250px;{/block:ifGrid}
- }
- #quote {
- margin:5px 0px;
- font-family:Garamond;
- text-align:center;
- letter-spacing:1px;
- }
- #quote_short {font-size:20px; line-height:100%;}
- #quote_medium {font-size:18px; line-height:95%;}
- #quote_long {font-size:16px; line-height:90%;}
- #quotesource {
- font-family: 'Pacifico', cursive;
- font-size: 18px;
- text-align: right;
- line-height: 80%;
- letter-spacing: 1px;
- padding: 2px;
- font-weight: normal;
- }
- #question {
- font-weight:normal;
- font-size:12px;
- letter-spacing:1px;
- padding:10px;
- background-color:{color:Ask And Link BG};
- -moz-border-radius-topright: 10px; -moz-border-radius-bottomright: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-radius: 10px 10px 10px 10px; border-radius: 10px 10px 10px 10px;
- }
- #triangle {
- font-size:45px;
- margin-top:-25px;
- margin-left:18px;
- color:{color:Ask And Link BG}
- }
- #asker {
- text-align: left;
- font-size:13px;
- letter-spacing:1px;
- padding-bottom:10px;
- margin-top:-20px;
- }
- #asker img {
- vertical-align:left;
- float:left;
- margin-left:60px;
- margin-right:10px;
- margin-top:-10px;
- border:2px solid {color:Border};
- }
- #linkposts {
- padding-bottom:10px;
- padding-top:10px;
- font-family:book antiqua;
- font-size:16px;
- border:2px dotted {color:Border};
- background-color:{color:Ask And Link BG}
- }
- {block:IndexPage}{block:ifNotGrid}
- .album {position:absolute; margin-top:0px; width:100px; height:100px;}
- .album img {width:100px; height:100px;}
- .audio {display:block; position:absolute; width:100px; height:425px; margin-left:110px;}
- .audiobox {height:100px;z-index:-1; margin-left:90px;}
- .audiotext {text-align:center; padding-top:30px; max-width:200px;overflow:hidden;font-family:cambria;width:400px;}
- .pc {padding: 2px 13px;height: 13px;float: right;margin-left:315px;font-family:cambria;font-size: 12px;text-transform: lowercase;}
- {/block:ifNotGrid}
- {block:ifGrid}
- .album {position:absolute; margin-top:0px; width:50px; height:50px;}
- .album img {width:50px; height:50px;}
- .audio {display:block; position:absolute; width:140px; height:425px; margin-left:60px;overflow:hidden;}
- .audiobox {height:100px;z-index:-1; margin-left:0px;}
- .audiotext {text-align:center; padding-top:30px; max-width:200px;overflow:hidden;font-family:cambria;width:250px;}
- .pc {padding: 2px 13px;height: 13px;float: right;margin-left:315px;font-family:cambria;font-size: 12px;text-transform: lowercase;}
- {/block:ifGrid}{/block:IndexPage}
- {block:PermalinkPage}
- .album {position:absolute; margin-top:0px; width:100px; height:100px;}
- .album img {width:100px; height:100px;}
- .audio {display:block; position:absolute; width:100px; height:425px; margin-left:148px}
- .audiobox {height:100px;z-index:-1; margin-left:100px;}
- .audiotext {text-align:center; padding-top:50px; max-width:200px;overflow:hidden;font-family:cambria;width:500px;}
- .pc {padding: 8px 13px;height: 13px;float: right;font-family:cambria;font-size: 12px;text-transform: lowercase;z-index:-1}
- .pc a {text-decoration: none;}
- {/block:PermalinkPage}
- .chat {border-left: 5px solid {color:border};margin: 3px 3px 0 3px;font-size: 11px;font-family:georgia;{block:ifNotGrid}width:389px;{/block:ifNotGrid}{block:ifGrid}width:239px;{/block:ifGrid}{block:PermalinkPage}width:489px;{/block:PermalinkPage}}
- .chat .lines {margin-left: 1px;}
- .chat .lines .line {background-color: {color:chat1};margin-bottom: 1px;padding: 3px 5px;}
- .chat .lines .line.even {background-color: {color:chat2}; }
- #info {
- text-align:center;
- font-size: 10px;
- margin-top:15px;
- padding:3px;
- border-top:1px solid {color:border};
- border-bottom:1px solid {color:border};
- }
- #info a {
- text-align:left;
- font-size:10px;
- letter-spacing:0px;
- font-style:normal;
- }
- #info a:hover {
- color:{color:link hover};
- }
- #tags {
- font-size:10px;
- margin-top:5px;
- font-style:italic;
- text-align:center;
- }
- .note {text-transform:normal;font-style:normal;letter-spacing:0px;font-size: 10px;text-align:left;line-height:80%;margin-left:-40px; }
- .note li {list-style-type:none;text-align:left;padding:2px;margin:0px;-moz-transition-duration:0.5s;-webkit-transition-duration:0.5s;-o-transition-duration:0.5s;}
- #imagebar {
- position:fixed;
- width:160px;
- height:100%;
- right:0px;
- margin-top:-8px;
- background-color:{color:imagebar};
- background:url ('{image:Imagebar Bg}');
- background-attachment:fixed;
- }
- .imagebarpic1 {
- width:140px;
- height:140px;
- margin-left:10px;
- margin-top:50px;
- position:fixed;
- overflow:hidden;
- -webkit-border-radius:50%;
- -moz-border-radius:50%;
- border-radius:50%;
- }
- .imagebarpic2 {
- margin-left:10px;
- margin-top:230px;
- width:140px;
- height:140px;
- overflow:hidden;
- position:fixed;
- -webkit-border-radius:50%;
- -moz-border-radius:50%;
- border-radius:50%;
- }
- .imagebarpic3 {
- margin-left:10px;
- margin-top:410px;
- width:140px;
- height:140px;
- overflow:hidden;
- position:fixed;
- -webkit-border-radius:50%;
- -moz-border-radius:50%;
- border-radius:50%;
- }
- #container {position:relative; margin:10px 0px 0px 10px; {block:indexpage}width:870px;{/block:indexpage}{block:permalinkpage}width:470px;{/block:permalinkpage}}
- #E {
- z-index:99999999999;
- font-weight:bold; font-size:14px; font-family:'Montez';
- text-align:center;
- position:fixed;
- bottom:5px; right:5px;
- }
- #E a {
- display:inline-block;
- height:20px; width:20px;
- background-color:{color:post};
- color:{color:body};
- }
- #E a:hover {
- border-radius:50%;
- background-color:{color:body};
- color:{color:post};
- }
- #s-m-t-tooltip {
- padding:5px 10px 5px 10px;
- margin:20px 14px 7px 10px;
- border:1px solid {color:border};
- background-color:{color:Body};
- font:normal 9px/100% Georgia;
- letter-spacing:1px;
- color:{color:Post};
- z-index:99999999;
- }
- #over{
- {block:ifNotGrid}height:2000px!important;{/block:ifNotGrid}
- {block:ifGrid}height:0px!important;{/block:ifGrid}
- position:absolute;
- top:0px;
- left:0px;
- width: 100%;}
- .tumblrAutoPager_page_info, .tumblrAutoPager_page_separator {display:none;}
- #infscr-loading {display:none;}
- .navigation {display:none!important;}
- {CustomCSS}</style>
- {block:ifInfiniteScroll}<script src="https://static.tumblr.com/twte3d7/qNulm663d/infinite.js"></script>{/block:ifInfiniteScroll}
- <script type="text/javascript" src="https://static.tumblr.com/d0qlne1/DiAl6ekb7/jquery-1.4.2.min.js"></script>
- <script src="https://static.tumblr.com/twte3d7/H8Glm663z/masonry.js"></script>
- {block:ifNotInfiniteScroll}<script type="text/javascript">
- $(window).load(function () {
- $('#content').masonry({
- itemSelector : "#container2",
- },
- function() { $('#content').masonry({ appendedContent: $(this) }); }
- );
- });
- </script>{/block:ifNotInfiniteScroll}
- <script src="https://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:0,
- tip_fade_speed:0,
- attribute:"title"
- });
- });
- })(jQuery);
- </script>
- </head>
- <body>
- <div id="over"></div>
- <div id="sidebar">
- <a href="/"><div id="title">{Title}</div></a>
- <center>
- {block:ifSidebarImage}<img src="{image:sidebar}">{/block:ifSidebarImage}
- </center>
- <div id="navigate">
- <a href="/">home</a>
- <a href="/ask">ask</a>
- <a href="/archive">archive</a>
- {block:ifLink1}<a href="{text:Link1URL}">{text:Link1}</a>{/block:ifLink1}
- {block:ifLink2}<a href="{text:Link2URL}">{text:Link2}</a>{/block:ifLink2}
- {block:ifLink3}<a href="{text:Link3URL}">{text:Link3}</a>{/block:ifLink3}
- {block:ifLink4}<a href="{text:Link4URL}">{text:Link4}</a>{/block:ifLink4}
- {block:ifLink5}<a href="{text:Link5URL}">{text:Link5}</a>{/block:ifLink5}
- {block:ifLink6}<a href="{text:Link6URL}">{text:Link6}</a>{/block:ifLink6}
- {block:ifLink7}<a href="{text:Link7URL}">{text:Link7}</a>{/block:ifLink7}
- {block:ifLink8}<a href="{text:Link8URL}">{text:Link8}</a>{/block:ifLink8}
- {block:ifLink9}<a href="{text:Link9URL}">{text:Link9}</a>{/block:ifLink9}
- </div>
- {block:ifNotInfiniteScroll}{block:Pagination}
- <div class="pagi">
- {block:PreviousPage}
- <a href="{PreviousPage}">«</a>
- {/block:PreviousPage}
- {block:NextPage}
- <a href="{NextPage}">»</a>
- {/block:NextPage}
- </div>
- {/block:Pagination}{/block:ifNotInfiniteScroll}
- {block:ifInfiniteScroll}
- <div class="navigation">
- {block:Pagination}
- {block:NextPage}<p id="page_nav"><a style="float:right" href="{NextPage}" id="next">Older ?</a>{/block:NextPage}
- {block:PreviousPage}<a style="float:left" href="{PreviousPage}">? Newer</a></p>{/block:PreviousPage}
- {/block:Pagination}
- </div>
- {/block:ifInfiniteScroll}
- <div id="description">{description}</div>
- </div></div></div>
- <div id="entries">
- {block:TagPage}
- <h4>Posts tagged "{Tag}"</h4>
- {/block:TagPage}
- {block:ifInfiniteScroll}<div id="container">{/block:ifInfiniteScroll}
- {block:ifNotInfiniteScroll}<div id="content">{/block:ifNotInfiniteScroll}
- {block:Posts}
- <div id="post">
- {block:Text}<div id="textpost">{block:Title}<h4>{Title}</h4>{/block:Title}{Body}</div>{/block:Text}
- {block:Photo}<center>{LinkOpenTag}
- {block:IndexPage}{block:ifNotGrid}
- <img src="{PhotoURL-400}" alt="{PhotoAlt}"/>
- {/block:ifNotGrid}
- {block:ifGrid}
- <img src="{PhotoURL-250}" alt="{PhotoAlt}">
- {/block:ifGrid}{/block:IndexPage}
- {block:PermalinkPage}<img src="{PhotoURL-500}" alt="{PhotoAlt}">
- {/block:PermalinkPage}
- {LinkCloseTag}</center>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photo}
- {block:Photoset}<center>{block:IndexPage}{block:ifNotGrid}{Photoset-400}{/block:ifNotGrid}
- {block:ifGrid}{Photoset-250}{/block:ifGrid}{/block:IndexPage}
- {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
- </center>{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
- {block:Quote}
- <div id="quote">
- <div id="quote_{Length}">“{Quote}”</div>
- <div align="right">
- {block:Source}<div id="quotesource">-{Source}</div>{/block:Source}
- </div></div>
- {/block:Quote}
- {block:Video}{block:IndexPage}{block:ifNotGrid}{Video-400}{/block:IfNotGrid}{block:ifGrid}{Video-250}{/block:IfGrid}{/block:IndexPage}
- {block:PermalinkPage}{Video-500}{/block:PermalinkPage}{block:Caption}{Caption}{/block:Caption}{/block:Video}
- {block:Link}<div id="linkposts">
- <a href="{URL}" class="link" {Target}><center>{Name} →</center></a><BR>
- <center><small><small>{URL}</small></small></center></div>
- {block:Description}{Description}{/block:Description}
- {/block:Link}
- {block:Chat}
- {block:Title}<h4>{Title}</h4>{/block:Title}
- <div class="chat">
- <div class="lines">
- {block:Lines}
- <div class="line {Alt}">{block:Label}<strong>{Label}</strong>{/block:Label} {Line}</div>
- {/block:Lines}
- </div>
- </div>
- {/block:Chat}
- {block:Audio}
- {block:AlbumArt}
- <div class="album"><img src="{AlbumArtURL}"></div>
- {/block:AlbumArt}
- <div class="audio">{AudioPlayerWhite}
- </div><div class="pc">{block:PlayCount}{PlayCountWithLabel}{/block:PlayCount}</div><center>
- <div class="audiobox"><div class="audiotext">{block:TrackName}<i><big><big>"{TrackName}"</big></i>{/block:TrackName}{block:Artist}<br>by {Artist}{/block:Artist}</big></div></div></center>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Audio}
- {block:Answer}<div id="question">
- <big>{Question}</big></div>
- <div id="triangle">◥</div>
- <BR>
- <div id="asker"><img src="{AskerPortraitURL-30}">{Asker}</div><BR>
- {Answer}
- {/block:Answer}
- {block:Date}
- <div id="info">
- <a href="{Permalink}">{TimeAgo} </a>
- {block:NoteCount} || <a href="{Permalink}">{NoteCountWithLabel} </a>
- {/block:NoteCount}
- {block:RebloggedFrom} via
- <a{ href="{ReblogParentURL}">{ReblogParentName} </a>
- {block:Reblog} (©<a href="{ReblogRootURL}">{ReblogRootName}</a>)
- {/block:Reblog}{/block:RebloggedFrom}||<a href="{ReblogURL}" target="_blank"> reblog</a>
- </div>{/block:Date}
- <center>{block:HasTags} <div id="tags"> {block:Tags}<a href="{TagURL}">#{Tag} </a>{/block:Tags}</div> {/block:HasTags}</center>
- <div class="note"> {block:PostNotes}{PostNotes}{/block:PostNotes}
- </div>
- </div>
- {/block:Posts}
- {block:ifInfiniteScroll}<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
- <script type="text/javascript">//** Scroll to top script by Kyle Monk (kylemonk.tumblr.com)
- var scrolltotop={
- //startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
- //scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (0=top).
- setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
- controlHTML: '<img src="{text:BackToTopImage}" style="filter:alpha(opacity=60); -moz-opacity:0.6;" width="60"/>', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
- controlattrs: {offsetx:35, offsety:35}, //offset of control relative to right/ bottom of window corner
- anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links
- state: {isvisible:false, shouldvisible:false},
- scrollup:function(){
- if (!this.cssfixedsupport) //if control is positioned using JavaScript
- this.$control.css({opacity:0}) //hide control immediately after clicking it
- var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
- if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
- dest=jQuery('#'+dest).offset().top
- else
- dest=0
- this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
- },
- keepfixed:function(){
- var $window=jQuery(window)
- var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
- var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
- this.$control.css({left:controlx+'px', top:controly+'px'})
- },
- togglecontrol:function(){
- var scrolltop=jQuery(window).scrollTop()
- if (!this.cssfixedsupport)
- this.keepfixed()
- this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
- if (this.state.shouldvisible && !this.state.isvisible){
- this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
- this.state.isvisible=true
- }
- else if (this.state.shouldvisible==false && this.state.isvisible){
- this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
- this.state.isvisible=false
- }
- },
- init:function(){
- jQuery(document).ready(function($){
- var mainobj=scrolltotop
- var iebrws=document.all
- mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode
- mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')
- mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
- .css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
- .attr({title:'back to top'})
- .click(function(){mainobj.scrollup(); return false})
- .appendTo('body')
- if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text
- mainobj.$control.css({width:mainobj.$control.width()}) //IE6- seems to require an explicit width on a DIV containing text
- mainobj.togglecontrol()
- $('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
- mainobj.scrollup()
- return false
- })
- $(window).bind('scroll resize', function(e){
- mainobj.togglecontrol()
- })
- })
- }
- }
- scrolltotop.init()</script>{/block:ifInfiniteScroll}
- {block:ifInfiniteScroll}{block:IndexPage}<div class="column navigation" id="navigation">{block:Pagination}{block:PreviousPage}<a href="{PreviousPage}" class="navigate">{/block:PreviousPage}{block:PreviousPage}</a>{/block:PreviousPage}{block:NextPage}<a href="{NextPage}" class="navigate" id="nextPage">{/block:NextPage}{block:NextPage}</a>{/block:NextPage}{/block:Pagination}</div>{/block:IndexPage}
- {block:IndexPage}<script src="https://static.tumblr.com/twte3d7/0pellzh2t/infinitescroll.js"></script><script type="text/javascript" src="https://static.tumblr.com/8yo5xxv/YnTm5op3n/like.js"></script>
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script><script type="text/javascript" src="https://static.tumblr.com/me5sfsd/12Qlmj66n/script.js"></script><script type="text/javascript" src=""></script>
- <script type="text/javascript">
- $(window).load(function(){
- var $wall = $('#container');
- $wall.imagesLoaded(function(){
- $wall.masonry({
- itemSelector: '#post',
- isAnimated : true
- });
- });
- $wall.infinitescroll({
- navSelector : "div#navigation",
- nextSelector : "div#navigation a#nextPage",
- itemSelector : '#post',
- loadingImg : "https://static.tumblr.com/8yo5xxv/3Dem80mch/loading.gif",
- loadingText : " ",
- donetext : " ",
- extraScrollPx : 9000,
- bufferPx : 10000,
- debug : false,
- errorCallback: function() {
- $('#infscr-loading').animate({opacity: .8},2000).fadeOut('normal');
- }},
- function( newElements ) {
- var $newElems = $( newElements );
- $newElems.hide();
- $newElems.imagesLoaded(function(){
- $wall.masonry( 'appended', $newElems, {isAnimated: true, animationOptions: {duration: 250, easing: 'linear', queue: false}}, function(){$newElems.fadeIn('slow');} );
- });
- }); $('#container').show(500);
- });
- </script>{/block:IndexPage}{/block:ifInfiniteScroll}
- </div><!--entries--></div></div>
- {block:ifImagebar}
- <div id="imagebar">
- <div class="imagebarpic1"><img src="{image:imagebar 1}"></div>
- <div class="imagebarpic2"><img src="{image:imagebar 2}"></div>
- <div class="imagebarpic3"><img src="{image:imagebar 3}"></div>
- </div>{/block:ifImagebar}
- <div id="E"><a href="https://theghostoflove.tumblr.com/" title="Enchantingly" target="_blank">E</a></div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment