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 03 Revamp - "Enchanted 2.0" by Elowen (theghostoflove.tumblr.com)
- Credit stays intact, please. If you get stuck, feel free to message me! Comments and suggestions are welcome.
- -->
- <head>
- <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="#fec3a2">
- <meta name="color:Background"content="#ffcaac">
- <meta name="color:Body"content="#b61c1c">
- <meta name="color:Border"content="#a70a0a">
- <meta name="color:Chat1" content="#ffc7a8">
- <meta name="color:Chat2" content="#ffb085">
- <meta name="color:Description" content="#a70a0a">
- <meta name="color:Entries"content="#b6131f">
- <meta name="color:Link"content="#a50b0b">
- <meta name="color:Link Hover"content="#f8cdcd">
- <meta name="color:Links Bg" content="#ffcaac">
- <meta name="color:Links Bg Hover"content="#e96d6d">
- <meta name="color:Mouse Trail" content="#fd0808">
- <meta name="color:Navigation Bg" content="#c21010">
- <meta name="color:Post"content="#fcb68f">
- <meta name="color:Scroll" content="#db6363">
- <meta name="color:Scroll BG" content="#a70a0a">
- <meta name="color:Sidebar"content="#ca5858">
- <meta name="color:Title"content="#a70a0a">
- <meta name="color:Text1" content="#b61c1c">
- <meta name="color:Text2" content="#a70a0a">
- <meta name="if:Cursive Fonts" content="1">
- <meta name="if:Energy Save" content="1">
- <meta name="if:Infinite Scroll" content="0">
- <meta name="if:Posts 400" content="0">
- <meta name="if:Repeat Background" content="1">
- <meta name="if:Show Tags" content="1">
- <meta name="if:Trailing Mouse" content="1">
- <meta name="image:Background"content="">
- <meta name="image:Sidebar Bg"content="https://static.tumblr.com/15bcd292b714a01cd69a752f31b01fd4/ougxdjo/9qtmr9khb/tumblr_static_pattern4.png">
- <meta name="image:Sidebar"content="">
- <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:Text1" content="it was">
- <meta name="text:Text2" content="enchanting">
- <meta name="text:Text3" content="to meet you">
- <meta name="text:Text1 size" content="15px">
- <meta name="text:Text2 size" content="30px">
- <meta name="text:Text3 size" content="15px">
- <meta name="text:Text bg width" content="230px">
- <style type="text/css">
- {block:PermalinkPage}
- iframe#tumblr_controls {
- text-align:center;
- height:200px;
- width:140px;
- top:0px;
- right:0px!important;
- position:fixed !important;
- }
- {/block:PermalinkPage}
- body {
- text-align:justify;
- font-family:georgia;
- font-size:11px;
- color:{color:body};
- background:{color:background} url('{image:Background}');
- background-attachment:fixed;
- background-repeat: {block:IfNotRepeatBackground}no-repeat{/block:IfNotRepeatBackground};
- overflow-x:hidden;
- }
- h1 /**FIRST LINE OF QUOTE**/ {font-family:Cambria;font-size:{text:text1 size};text-align:left;line-height:90%;letter-spacing:1px;padding:6px;color:{color:text1}}
- h2 /** SECOND LINE OF QUOTE **/ {margin:-5px 0px 0px 0px;font-family: 'Montez', cursive;font-size:{text:text2 size};text-align:center;letter-spacing:1px;padding:6px;font-style:italic; color:{color:text2}}
- h3 /** THIRD LINE **/ {font-family:Cambria;color:{color:text1};font-size:{text:text3 size}; text-align:right; letter-spacing:1px; margin-top:0px;}
- blockquote {border-left:2px solid {color:border}; padding-left:5px; margin:2px 2px 0px 10px}
- ::-webkit-scrollbar {width:8px; 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};}
- #sidebar {
- top:0px;
- left:0px;
- position:fixed;
- width:300px;
- height:100%;
- background-color:{color:sidebar};
- background-image:url('{image:Sidebar Bg}');
- background-attachment:fixed;
- background-position:bottom left;
- background-repeat: {block:IfNotRepeatBackground}no-repeat{/block:IfNotRepeatBackground};
- }
- #sidebar img {
- margin:20px 0px 0px 0px;
- width:250px;
- }
- #title {
- margin:30px 0px 0px 0px;
- font-family: 'Montez';
- font-weight:normal;
- text-align:center;
- font-size:40px;
- color:{color:Title};
- line-height:95%;
- }
- #title a {color:{color:Title}}
- #description {
- color:{color:description};
- font-size:11px;
- text-align:justify;
- width:240px;
- margin:10px 0px 0px 30px;
- }
- .pagi {
- display:block;
- text-align:center;
- width:240px;
- font-size:30px;
- }
- #entries {
- margin-left:350px;
- border-left:10px solid {color:entries};
- border-right:10px solid {color:entries};
- border-top:0px solid {color:entries};
- border-bottom:0px solid {color:entries};
- padding:5px;
- position:absolute;
- background-color:{color:entries};
- {block:ifPosts400}width:420px;{/block:ifPosts400}
- {block:ifNotPosts400}width:520px;{/block:ifNotPosts400}
- }
- #post{
- margin:20px 0px;
- padding:10px;
- background-color:{color:post};
- {block:ifNotPosts400}width:500px;{/block:ifNotPosts400}
- {block:ifPosts400}width:400px;{/block:ifPosts400}
- }
- #tagpage {
- font-family: 'Garamond';
- font-size:20px;
- text-align:center;
- line-height:95%;
- letter-spacing:1px;
- font-weight:bold;
- margin:10px;
- padding:10px;
- float:left;
- background-color:{color:post};
- {block:ifNotPosts400}width:500px;{/block:ifNotPosts400}
- {block:ifPosts400}width:400px;{/block:ifPosts400}
- }
- #info {
- text-align:center;
- font-size:10px;
- margin-top:15px;
- padding:3px;
- border-top:1px solid {color:border};
- border-bottom:1px solid {color:border};
- outline-offset:4px;
- {block:ifNotPosts400}width:500px;{/block:ifNotPosts400}
- {block:ifPosts400}width:400px;{/block:ifPosts400}
- }
- #tags {
- text-align:center;
- font-size:10px;
- padding:3px;
- outline-offset:4px;
- {block:ifNotPosts400}width:500px;{/block:ifNotPosts400}
- {block:ifPosts400}width:400px;{/block:ifPosts400}
- }
- .note {
- text-transform:normal;
- font-style:normal;
- letter-spacing:0px;
- font-size: 10px;
- text-align:left;
- line-height:10%;
- margin-left:-40px;
- }
- .note li {
- list-style-type:none;
- padding:10px 25px 10px 25px;
- text-align:left;
- margin:0px;
- -moz-transition-duration:0.5s;
- -webkit-transition-duration:0.5s;
- -o-transition-duration:0.5s;
- }
- #navigation {
- top:0px;
- {block:ifNotPosts400}left:940px;{/block:ifNotPosts400}
- {block:ifPosts400}left:840px;{/block:ifPosts400}
- width:142px;
- position:fixed;
- background-color:{color:Navigation Bg};
- z-index:3;
- }
- #navtitle {
- background-color:{color:navigation bg};
- height:20px;
- width:120px;
- font-size:9px;
- color:{color:link hover};
- font-family:georgia;
- text-align:center;
- letter-spacing:3px;
- padding:11px;
- line-height:20px;
- position:fixed;
- z-index:3;
- }
- #navigation:hover #links {z-index:5; opacity:1; padding-top:300px;}
- #links {
- opacity:0;
- margin-top:-260px;
- -webkit-transition: all 1.3s ease-in-out;
- -moz-transition: all 1.3s ease-in-out;
- -o-transition: all 1.3s ease-in-out;
- -ms-transition: all 1.3s ease-in-out;
- transition: all 1.3s ease-in-out;
- }
- #links a {
- display:block;
- width:100px;
- height:25px;
- font-family:georgia;
- font-size:9px;
- text-align:center;
- letter-spacing:1px;
- border:1px solid {color:border};
- text-transform:lowercase;
- background-color:{color:links bg};
- margin-left:20px;
- line-height:25px;
- -webkit-transition: all 0.6s ease-in-out; -moz-transition: all 0.6s ease-in-out; -o-transition: all 0.6s ease-in-out;-ms-transition: all 0.6s ease-in-out; transition: all 0.6s ease-in-out;
- z-index:5;
- }
- #links a:hover {
- font-style:italic;
- border:1px solid {color:border};
- background-color:{color:links bg hover};
- }
- #block {
- margin-top:180px;
- {block:ifNotPosts400}margin-left:1060px;{/block:ifNotPosts400}
- {block:ifPosts400}margin-left:960px;{/block:ifPosts400}
- width:{text:text bg width};
- height:100px;
- position:fixed;
- background-color:transparent;
- }
- /**POST TYPES**/
- #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:-20px;
- 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 {
- margin-bottom:5px;
- 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}
- }
- .album {position:absolute; margin-top:0px; {block:ifnotposts400}width:100px; height:100px;{/block:ifnotposts400} {block:ifposts400}width:75px; height:75px; {/block:ifposts400}}
- .album img {{block:ifnotposts400}width:100px; height:100px;{/block:ifnotposts400} {block:ifposts400}width:75px; height:75px; {/block:ifposts400}}
- .audio {display:block; position:absolute; width:100px; height:425px; {block:ifnotposts400}margin-left:148px;{/block:ifnotposts400} {block:ifposts400}margin-left:85px;{/block:ifposts400}}
- .audiobox {height:100px;z-index:-1; margin-left:100px;}
- .audiotext {text-align:center; padding-top:50px; max-width:200px;overflow:hidden;font-family:cambria;{block:ifPosts400}width:400px;{/block:ifPosts400} {block:ifnotPosts400}width:500px;{/block:ifnotPosts400} }
- .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;}
- .chat {border-left: 5px solid {color:border};margin: 3px 3px 0 3px;font-size: 11px;font-family:georgia;}
- .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}; }
- #texttitle {
- {block:ifCursiveFonts}font-family: 'Cookie';
- font-size:24px;
- text-align:center;
- padding:6px;{/block:ifCursiveFonts}
- {block:ifNotCursiveFonts}font-family: 'Garamond';
- font-size:18px;
- text-align:center;
- line-height:95%;
- padding:4px;
- font-weight:bold;
- margin:0px{/block:ifNotCursiveFonts}
- }
- #quotesource {
- {block:ifCursiveFonts}font-family: 'Pacifico';
- font-size:14px;
- text-align:right;
- line-height:95%;
- padding:6px;
- font-weight:normal;{/block:ifCursiveFonts}
- {block:ifNotCursiveFonts}font-family: 'Garamond';
- font-size:16px;
- text-align:right;
- line-height:95%;
- padding:4px;
- font-weight:bold;
- margin:0px{/block:ifNotCursiveFonts}
- }
- #quote {
- margin:5px 0px;
- font-family:Garamond;
- font-size:18px;
- text-align:center;
- line-height:90%;
- letter-spacing:1px;
- }
- #s-m-t-tooltip {
- padding:5px 10px 5px 10px;
- margin:20px 14px 7px 10px;
- border:1px solid {color:border};
- background-color:{color:Body};
- font-family:georgia;
- font-style: normal;
- font-size:9px;
- letter-spacing:1px;
- color:{color:Post};
- z-index:99999999;
- }
- #credit {
- z-index:99999999999;
- font-weight:bold;
- 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 {
- background-color:{color:body};
- color:{color:Post};
- }
- {CustomCSS}</style>
- <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=Montez|Cookie|Pacifico' rel='stylesheet' type='text/css'>
- {block:ifInfiniteScroll}<script type="text/javascript" src="https://codysherman.tumblr.com/tools/infinite-scrolling/code"></script>{/block:ifInfiniteScroll}
- {block:ifEnergySave}<script language="javascript" type="text/javascript" src="https://www.onlineleaf.com/savetheenvironment.js?time=120"></script>{/block:ifEnergySave}
- </head>
- <body>
- <div id="sidebar">
- <div id="title"><a href="/">{Title}</a></div>
- <center>{block:ifSidebarImage}
- <img src="{image:sidebar}">{/block:ifSidebarImage}</center>
- <div id="description">
- {block:Pagination}<div class="pagi">{block:PreviousPage}<a href="{PreviousPage}">«</a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}">»</a>{/block:NextPage}</div>{/block:Pagination}
- <br>
- {Description}
- </div>
- </div>
- <div id="entries">
- {block:TagPage}<div id="tagpage">
- Posts tagged "{Tag}"</div>
- {/block:TagPage}
- {block:ifInfiniteScroll}<div class = "autopagerize_page_element" >{/block:ifInfiniteScroll}
- {block:Posts}
- <div id="post">
- {block:Text}
- {block:Title}
- <div id="texttitle">{Title}</div>
- {/block:Title}
- {Body}
- {/block:Text}
- {block:ifNotPosts400}
- {block:Photo}<center>{LinkOpenTag}
- <img src="{PhotoURL-500}" alt="{PhotoAlt}">
- {LinkCloseTag}</center>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photo}
- {/block:ifNotPosts400}
- {block:ifPosts400}
- {block:Photo}<center>{LinkOpenTag}
- <img src="{PhotoURL-400}" alt="{PhotoAlt}">
- {LinkCloseTag}</center>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photo}
- {/block:ifPosts400}
- {block:ifNotPosts400}
- {block:Photoset}<center>{Photoset-500}</center>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photoset}
- {/block:ifNotPosts400}
- {block:ifPosts400}
- {block:Photoset}<center>{Photoset-400}</center>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photoset}
- {/block:ifPosts400}
- {block:Quote}
- <div id="quote">“{Quote}”</div>
- {block:Source}<div id="quotesource">-{Source}</div>{/block:Source}
- {/block:Quote}
- {block:ifNotPosts400}
- {block:Video}{Video-500}
- {block:Caption}{Caption}{/block:Caption}{/block:Video}
- {/block:ifNotPosts400}
- {block:ifPosts400}
- {block:Video}{Video-400}
- {block:Caption}{Caption}{/block:Caption}{/block:Video}
- {/block:ifPosts400}
- {block:Link}<div id="linkposts">
- <a href="{URL}" class="link" {Target}>
- <center>{Name} →</center></a><BR>
- <center><small><small>{URL}</small></small></center>
- </div> <!--linkposts-->
- {block:Description}{Description}{/block:Description}
- {/block:Link}
- {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}
- {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}<a href="{ReblogParentURL}">
- · via {ReblogParentName}</a>
- {/block:RebloggedFrom}
- {block:Reblog}<a href="{ReblogRootURL}">
- (©{ReblogRootName}</a>)
- {/block:Reblog}
- · <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>
- <div class="note"> {block:PostNotes}{PostNotes}{/block:PostNotes}
- </div></div>
- {/block:Posts}</div> {block:ifInfiniteScroll}</div>{/block:ifInfiniteScroll}
- <div id="navigation">
- <div id="navtitle">navigation</div>
- <div id="links">
- <a href="/">home</a>
- <a href="/ask">ask</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}
- <a href="/archive">archive</a><BR>
- </div></div>
- <div id="block"><h1>{text:text1}</h1>
- <h2>{text:text2}</h2>
- <h3>{text:text3}</h3></div>
- <div id="credit"><a href="https://theghostoflove.tumblr.com">E</a></div>
- </body>
- <!---START OF SPARKLING MOUSE TRAIL--->
- {block:ifTrailingMouse}<script type="text/javascript">
- // <![CDATA[
- var colour="{color:mouse trail}";
- var sparkles=120;
- /****************************
- * Tinkerbell Magic Sparkle *
- * (c) 2005 mf2fm web-design *
- * https://www.mf2fm.com/rv *
- * DON'T EDIT BELOW THIS BOX *
- ****************************/
- var x=ox=400;
- var y=oy=300;
- var swide=800;
- var shigh=600;
- var sleft=sdown=0;
- var tiny=new Array();
- var star=new Array();
- var starv=new Array();
- var starx=new Array();
- var stary=new Array();
- var tinyx=new Array();
- var tinyy=new Array();
- var tinyv=new Array();
- window.onload=function() { if (document.getElementById) {
- var i, rats, rlef, rdow;
- for (var i=0; i<sparkles; i++) {
- var rats=createDiv(3, 3);
- rats.style.visibility="hidden";
- document.body.appendChild(tiny[i]=rats);
- starv[i]=0;
- tinyv[i]=0;
- var rats=createDiv(5, 5);
- rats.style.backgroundColor="transparent";
- rats.style.visibility="hidden";
- var rlef=createDiv(1, 5);
- var rdow=createDiv(5, 1);
- rats.appendChild(rlef);
- rats.appendChild(rdow);
- rlef.style.top="2px";
- rlef.style.left="0px";
- rdow.style.top="0px";
- rdow.style.left="2px";
- document.body.appendChild(star[i]=rats);
- }
- set_width();
- sparkle();
- }}
- function sparkle() {
- var c;
- if (x!=ox || y!=oy) {
- ox=x;
- oy=y;
- for (c=0; c<sparkles; c++) if (!starv[c]) {
- star[c].style.left=(starx[c]=x)+"px";
- star[c].style.top=(stary[c]=y)+"px";
- star[c].style.clip="rect(0px, 5px, 5px, 0px)";
- star[c].style.visibility="visible";
- starv[c]=50;
- break;
- }
- }
- for (c=0; c<sparkles; c++) {
- if (starv[c]) update_star(c);
- if (tinyv[c]) update_tiny(c);
- }
- setTimeout("sparkle()", 40);
- }
- function update_star(i) {
- if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
- if (starv[i]) {
- stary[i]+=1+Math.random()*3;
- if (stary[i]<shigh+sdown) {
- star[i].style.top=stary[i]+"px";
- starx[i]+=(i%5-2)/5;
- star[i].style.left=starx[i]+"px";
- }
- else {
- star[i].style.visibility="hidden";
- starv[i]=0;
- return;
- }
- }
- else {
- tinyv[i]=50;
- tiny[i].style.top=(tinyy[i]=stary[i])+"px";
- tiny[i].style.left=(tinyx[i]=starx[i])+"px";
- tiny[i].style.width="2px";
- tiny[i].style.height="2px";
- star[i].style.visibility="hidden";
- tiny[i].style.visibility="visible"
- }
- }
- function update_tiny(i) {
- if (--tinyv[i]==25) {
- tiny[i].style.width="1px";
- tiny[i].style.height="1px";
- }
- if (tinyv[i]) {
- tinyy[i]+=1+Math.random()*3;
- if (tinyy[i]<shigh+sdown) {
- tiny[i].style.top=tinyy[i]+"px";
- tinyx[i]+=(i%5-2)/5;
- tiny[i].style.left=tinyx[i]+"px";
- }
- else {
- tiny[i].style.visibility="hidden";
- tinyv[i]=0;
- return;
- }
- }
- else tiny[i].style.visibility="hidden";
- }
- document.onmousemove=mouse;
- function mouse(e) {
- set_scroll();
- y=(e)?e.pageY:event.y+sdown;
- x=(e)?e.pageX:event.x+sleft;
- }
- function set_scroll() {
- if (typeof(self.pageYOffset)=="number") {
- sdown=self.pageYOffset;
- sleft=self.pageXOffset;
- }
- else if (document.body.scrollTop || document.body.scrollLeft) {
- sdown=document.body.scrollTop;
- sleft=document.body.scrollLeft;
- }
- else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
- sleft=document.documentElement.scrollLeft;
- sdown=document.documentElement.scrollTop;
- }
- else {
- sdown=0;
- sleft=0;
- }
- }
- window.onresize=set_width;
- function set_width() {
- if (typeof(self.innerWidth)=="number") {
- swide=self.innerWidth;
- shigh=self.innerHeight;
- }
- else if (document.documentElement && document.documentElement.clientWidth) {
- swide=document.documentElement.clientWidth;
- shigh=document.documentElement.clientHeight;
- }
- else if (document.body.clientWidth) {
- swide=document.body.clientWidth;
- shigh=document.body.clientHeight;
- }
- }
- function createDiv(height, width) {
- var div=document.createElement("div");
- div.style.position="absolute";
- div.style.height=height+"px";
- div.style.width=width+"px";
- div.style.overflow="hidden";
- div.style.backgroundColor=colour;
- return (div);
- }
- // ]]>
- </script>{/block:ifTrailingMouse}
- <!---END OF SPARKLING MOUSE TRAIL--->
- </html>
Advertisement
Add Comment
Please, Sign In to add comment