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 08 (Revamp) - "Beige Beauty" by Elowen (theghostoflove.tumblr.com)
- Credit stays intact, please. If you get stuck, feel free to message me! Comments and suggestions are welcome.
- -->
- <head>
- <script src="https://static.tumblr.com/ougxdjo/7cPmrvjid/lora.js" type="text/javascript"></script>
- <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:Background"content="#f8f5fa">
- <meta name="color:Body"content="#464544">
- <meta name="color:Border"content="#3d3c3c">
- <meta name="color:Chat1"content="#f1e1b6">
- <meta name="color:Chat2"content="#e9d49e">
- <meta name="color:Description"content="#464544">
- <meta name="color:Info" content="#f3e6c4">
- <meta name="color:Link"content="#292828">
- <meta name="color:Link Hover"content="#696767">
- <meta name="color:Links Bg"content="#faf1d9">
- <meta name="color:Links Hover Bg"content="#ebdaae">
- <meta name="color:Post"content="#f3e6c4">
- <meta name="color:Scroll" content="#f3e6c4">
- <meta name="color:Scrollbg" content="#464544">
- <meta name="color:Sidebar"content="#f3e6c4">
- <meta name="color:Title"content="#444343">
- <meta name="if:Back to Top" content="1">
- <meta name="if:Hover Tags and Info" content="1">
- <meta name="if:Infinite Scroll" content="0">
- <meta name="if:Posts 500" content="1">
- <meta name="if:Repeat Background" content="1">
- <meta name="if:Search" content="1">
- <meta name="if:Show Tags" content="1">
- <meta name="font:Body" content="'Lora', serif">
- <meta name="font:Quote" content="Garamond">
- <meta name="font:Title" content="'Dancing Script', cursive">
- <meta name="font:Text Title" content="'Cambria'">
- <meta name="image:Background"content="">
- <meta name="image:Sidebar"content="">
- <meta name="image:Sidebar Background"content="">
- <meta name="text:BackToTopImage" content="https://i1155.photobucket.com/albums/p559/scrolltotop/arrow64.png">
- <meta name="text:Body Font Size" content="12px">
- <meta name="text:Title Font Size" content="30px">
- <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://">
- <style type="text/css">
- blockquote {border-left:2px solid {color:border}; padding-left:5px; margin:2px 2px 0px 10px}
- ::-webkit-scrollbar {width: 8px; height:auto; background:{color:scrollbg};}
- ::-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};}
- /**MAIN**/
- body {
- font: {text:body font size} {font:body};
- color: {color:body};
- background: {color:background} url('{image:background}');
- background-repeat: {block:IfNotRepeatBackground}no-repeat{/block:IfNotRepeatBackground} {block:IfRepeatBackground}repeat{/block:IfRepeatBackground};
- background-attachment:fixed;
- }
- #sidebar {
- top: 0px; left: 0px;
- position: fixed;
- width: 300px; height: 100%;
- background-color: {color:sidebar};
- background-image:url('{image:Sidebar Background}');
- background-attachment: fixed;
- background-position: top left;
- background-repeat: {block:IfNotRepeatBackground}no-repeat{/block:IfNotRepeatBackground} {block:IfRepeatBackground}repeat{/block:IfRepeatBackground};
- background-size: 300px;
- z-index: 1;
- }
- #sidebar img {
- width: 250px; height: auto;
- border: 2px solid {color:border};
- margin-top: 0px;
- }
- #title {
- font: {text:title font size} {font:title};
- font-weight: normal;
- text-align: center;
- color: {color:Title};
- line-height: 90%;
- margin:30px 0px 20px;
- }
- #description {
- margin-top: 20px;
- color: {color:description};
- padding: 15px;
- width:230px;
- text-align:justify;
- font-size: 11px;
- }
- #links {
- position: fixed;
- width: 260px;
- margin: 100px 0px 0px 280px;
- padding: 2px;
- }
- #links a {
- border-right: 10px solid {color:link};
- padding: 4px 4px 4px 10px;
- width: 100px;
- display: block;
- color:{color:Link};
- background-color:{color:links bg};
- margin: 4px 2px 4px 7px;
- letter-spacing: 1px;
- transition: all 0.5s ease-out;
- -o-transition-transition: all 0.5s ease-out;
- -webkit-transition: all 0.5s ease-out;
- -moz-transition: all 0.5s ease-out;
- }
- #links a:hover {
- border-right: 10px solid {color:link hover};
- width: 80px;
- color: {color:link hover};
- background-color: {color:links hover bg};
- }
- #pagination {
- padding: 4px 0px;
- border-right: 10px solid {color:link};
- letter-spacing: 1px; word-spacing: 1px;
- text-align: center;
- font-size: 11px;
- width: 114px;
- margin: 65px 0px 0px 290px;
- position: fixed;
- background-color: {color:links hover bg};
- }
- #entries {
- padding: 10px;
- width: 500px;
- margin: 0px 0px 30px 490px;
- }
- #post {
- {block:ifPosts500}width: 500px;{/block:ifPosts500}
- {block:ifnotPosts500}width: 400px;{/block:ifnotPosts500}
- padding: 10px;
- float: left;
- margin: 15px 0px;
- border: 5px solid {color:border};
- background-color: {color:post};
- }
- /**POST INFO**/
- {block:ifHoverTagsAndInfo}
- #post:hover #info {opacity:1; display:block}
- #info {
- opacity: 0;
- margin-top: -15px;
- margin-left: {block:ifPosts500} 520px; {/block:ifPosts500};
- {block:ifNotPosts500}420px;{/block:ifNotPosts500};
- text-align: center;
- font: 9px {font:body};
- min-width: 70px;
- padding: 3px;
- border: 3px solid {color:border};
- position: absolute;
- background-color: {color:info};
- -webkit-transition: all .6s ease-in-out;
- -moz-transition: all .6s ease-in-out;
- -o-transition: all .6s ease-in-out;
- -ms-transition: all .6s ease-in-out; transition: all .6s ease-in-out;
- }
- #post:hover #tags {opacity:1; display:block;}
- #tags {
- opacity: 0;
- position: absolute;
- min-width: 70px; max-width: 200px;
- margin-left: {block:ifPosts500}520px;{/block:ifPosts500}
- {block:ifNotPosts500}420px; {/block:ifNotPosts500}
- margin-top: 55px;
- padding: 2px;
- font-size: 10px;
- font-style: italic;
- text-align: center;
- background-color: {color:info};
- border: 3px solid {color:border};
- -webkit-transition: all .6s ease-in-out;
- -moz-transition: all .6s ease-in-out;
- -o-transition: all .6s ease-in-out;
- -ms-transition: all .6s ease-in-out;
- transition: all .6s ease-in-out;
- }
- {/block:ifHoverTagsAndInfo}
- {block:ifNotHoverTagsAndInfo}
- #info {
- opacity: 1;
- margin-top: -15px;
- margin-left: {block:ifPosts500} 520px; {/block:ifPosts500} {block:ifNotPosts500}420px;{/block:ifNotPosts500};
- text-align: center;
- font: 11px {font:body};
- min-width: 70px;
- padding: 3px;
- border: 1px solid {color:border};
- position: absolute;
- background-color: {color:info};
- }
- #tags {
- opacity: 1;
- position: absolute;
- min-width: 70px; max-width: 200px;
- margin-left: {block:ifPosts500}520px;{/block:ifPosts500} {block:ifNotPosts500}420px; {/block:ifNotPosts500}
- padding: 2px;
- margin-top: 55px;
- font-size: 10px;
- font-style: italic;
- text-align: center;
- background-color: {color:info};
- border: 1px solid {color:border};
- }
- {/block:ifNotHoverTagsAndInfo}
- .note {
- text-transform: normal;
- font-style: normal;
- 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;
- }
- /**POST TYPES**/
- #texttitle {
- font: normal 20px/100% {font:Text Title};
- text-align: center;
- margin: 5px 2px 2px 2px;
- }
- #quote {
- margin: 5px 0px;
- font-family: {font:Quote};
- text-align: center;
- letter-spacing: 1px;
- }
- #quote_short {font: italic 20px/100% {font:quote}}
- #quote_medium {font: italic 18px/95% {font:quote}}
- #quote_long {font: italic 16px/90% {font:quote}}
- #quotesource {
- margin: 10px 0px -10px 0px;
- font: normal 14px Georgia;
- text-align: right;
- padding: 6px;
- }
- #linkposts {
- height: 80px;
- padding-bottom: 10px;
- padding-top: 10px;
- font-family: book antiqua;
- font-size: 16px;
- border: 2px dotted {color:Border};
- margin-bottom: 5px;
- background-color: {color:Link Posts Bg};
- width: {block:ifPosts500}500px;{/block:ifPosts500}{block:ifNotPosts500}400px;{/block:ifNotPosts500}
- }
- #linkfav img {
- width: 100px; height: 100px;
- margin-top: -107px;
- position: absolute;
- margin-left:{block:ifPosts500}402px;{/block:ifPosts500}{block:ifNotPosts500}302px;{/block:ifNotPosts500}
- }
- .album {position:absolute; {block:ifposts500}width:100px; height:100px;{/block:ifposts500} {block:ifnotposts500}width:75px; height:75px; {/block:ifnotposts500} margin-top:0px;}
- .album img {{block:ifposts500}width:100px; height:100px;{/block:ifposts500} {block:ifnotposts500}width:75px; height:75px; {/block:ifnotposts500}}
- .audio {display:block; position:absolute; width:30px; height:30px; {block:ifposts500}margin-left:115px{/block:ifposts500}; {block:ifnotposts500}margin-left:85px;{/block:ifnotposts500}}
- .audiobox {height:100px;}
- .audiotext {text-align:center; padding-top:50px; {block:ifNotPosts500}width:400px;{/block:ifNotPosts500} {block:ifPosts500}width:500px;{/block:ifPosts500} }
- .pc {padding: 8px 13px;height: 13px;float: right;font-family: {font:body};font-size: 11px;text-transform: lowercase;}
- .pc a {text-decoration: none;}
- .chat {border-left: 5px solid {color:border};margin: 3px 3px 0 3px;font-size: 12px;font-family:lora, serif;}
- .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}; }
- #question {font-size:12px; letter-spacing:1px; padding:3px;}
- #asker{text-align: right; margin-top:-10px; margin-left:0px; font-size:13px;}
- #asker img{float:right; margin-left: 26px; margin-right: 25px; border:3px solid {color:border};}
- #credit {
- z-index: 99999999999;
- text-align: center;
- font-size: 14px; font-family:'Montez';
- position: fixed;
- bottom: 5px; right: 5px;
- }
- #credit a {
- display: inline-block;
- height: 20px; width: 20px;
- background-color: {color:Post};
- color: {color:body};
- }
- #credit 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% {font:body};
- letter-spacing:1px;
- color:{color:Post};
- z-index:99999999;
- }
- {CustomCSS}</style>
- <script type="text/javascript" src="https://codysherman.tumblr.com/tools/infinite-scrolling/code"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
- <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>
- <link href='https://fonts.googleapis.com/css?family=Dancing+Script' rel='stylesheet' type='text/css'>
- <link href='https://fonts.googleapis.com/css?family=Montez' rel='stylesheet' type='text/css'>
- <script type="text/javascript">
- <!--
- function handleThis(formElm)
- {
- window.location="/tagged/"+formElm.number.value+"";
- return false;
- }
- // -->
- </script>
- </head>
- <body>
- <div id="sidebar">
- <a href="/"><div id="title">{Title}</div></a>
- <center>
- {block:ifSidebarImage}<img src="{image:sidebar}">{/block:ifSidebarImage}
- <div id="description">{description}
- <br>
- {block:ifSearch}
- <center><br><form onsubmit="return handleThis(this)">
- <input type="text" name="number" onfocus="if (this.value == 'Search tags') {this.value=''}" style="border:1px solid {color:border}; color:{color:body}; font-family:lora, serif; width:160px" onblur="if (this.value == '') {this.value='Search tags'}" />
- <input type="submit" value="Search" style="background-color:{color:links bg}; color:{color:body}; font-family:lora, serif;" />
- </form></center>
- {/block:ifSearch}
- </div><!--description-->
- </center></div><!--sidebar-->
- <div id="links">
- <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:HasPages}{block:Pages}<a href="{URL}" class="page">{Label}</a>
- {/block:Pages}{/block:HasPages}
- </div>
- {block:Pagination}<div id="pagination"><center>
- {block:PreviousPage}<a href="{PreviousPage}">«</a> {/block:PreviousPage}
- {CurrentPage} / {TotalPages}
- {block:NextPage} <a href="{NextPage}">»</a>{/block:NextPage}</center></div>{/block:Pagination}
- </div></div>
- <div id="entries">
- {block:ifInfiniteScroll}<div class="autopagerize_page_element">{/block:ifInfiniteScroll}
- {block:Posts}
- <div id="post">
- {block:Date}<div id="info"><a href="{Permalink}">{TimeAgo}</a>
- {block:NoteCount}<br>
- <a href="{Permalink}">{NoteCountWithLabel}</a><br>{/block:NoteCount}
- {block:RebloggedFrom}
- <a href="{ReblogParentURL}" title="{ReblogParentName}">via </a>
- {/block:RebloggedFrom}
- {block:Reblog}/ <a href="{ReblogRootURL}" title="{ReblogRootName}">©</a>
- {/block:Reblog}<br>
- <a href="{ReblogURL}" target="_blank"> reblog</a></div>
- {/block:Date}
- <center>{block:ifShowTags}{block:HasTags}
- <div id="tags"> {block:Tags}<a href="{TagURL}">#{Tag} </a>{/block:Tags}
- </div> {/block:HasTags}{/block:IfShowTags}</center>
- <!--Text Posts-->
- {block:Text}{block:Title}
- <div id="texttitle">{Title}</div>{/block:Title}{Body}{/block:Text}
- <!--Photo Posts-->
- {block:ifPosts500}{block:Photo}<center>{OpenTag}
- <img src="{PhotoURL-500}" alt="{PhotoAlt}">{LinkCloseTag}</center>
- {block:Caption}{Caption}{/block:Caption}{/block:Photo}{/block:ifPosts500}
- {block:ifNotPosts500}{block:Photo}<center>{LinkOpenTag}
- <img src="{PhotoURL-400}" alt="{PhotoAlt}">{LinkCloseTag}</center>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photo}{/block:ifNotPosts500}
- <!--Photoset Posts-->
- {block:ifPosts500}{block:Photoset}<center>{Photoset-500}</center>
- {block:Caption}{Caption}{/block:Caption}{/block:Photoset}
- {/block:ifPosts500}
- {block:ifNotPosts500}{block:Photoset}<center>{Photoset-400}</center>
- {block:Caption}{Caption}{/block:Caption}{/block:Photoset}
- {/block:ifNotPosts500}
- <!--Panorama-->
- {block:Panorama}
- {LinkOpenTag}<img src="{PhotoURL-Panorama}" alt="{PhotoAlt}" />
- {LinkCloseTag}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Panorama}
- <!--Quote-->
- {block:Quote}<div id="quote">
- <div id="quote_{Length}">“{Quote}”</div>
- {block:Source}
- <div id="quotesource">
- - {Source}</div>
- {/block:Source}
- </div>{/block:Quote}
- <!--Video Posts-->
- {block:ifPosts500}{block:Video}{Video-500}
- {block:Caption}{Caption}{/block:Caption}{/block:Video}{/block:ifPosts500}
- {block:ifNotPosts500}{block:Video}{Video-400}{block:Caption}
- {Caption}{/block:Caption}{/block:Video}{/block:ifNotPosts500}
- <!--Link Posts-->
- {block:Link}<div id="link">
- <div id="linkposts">
- <a href="{URL}" class="link">
- <center>{Name} →</center></a><BR>
- <center><small><small>{Host}</small></small></center>
- </div> <!--linkposts-->
- {block:Thumbnail}
- <div id="linkfav"><img src="{Thumbnail}"></div>
- {/block:Thumbnail}
- {block:Description}{Description}{/block:Description}
- </div>{/block:Link}
- <!--Chat-->
- {block:Chat}
- {block:Title}<div id="texttitle">{Title}</div>{/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}
- <!--Audio-->
- {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>
- <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>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Audio}
- <!--Ask Posts-->
- {block:Answer}<div id="question"><b>{Question}</b></div><BR>
- <div id="asker"><img src="{AskerPortraitURL-30}">{Asker}</div><BR>
- <div style="border-top:1px dotted {color:border}">{Answer}</div>
- {/block:Answer}
- <!--Post info-->
- <div class="note">{block:PostNotes}{PostNotes}{/block:PostNotes}</div>
- </div>{/block:Posts}</div>
- <div id="credit"><a href="https://theghostoflove.tumblr.com/" target="_blank" title="enchantingly">E</a></div>
- </div>
- </body>
- {block:ifBackToTop}<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
- <script type="text/javascript">//** 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=1); -moz-opacity:1;" width="90"/>', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
- controlattrs: {offsetx:25, offsety:25}, //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:ifBacktoTop}
- </html>
Advertisement
Add Comment
Please, Sign In to add comment