Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <!--------------------------------------------
- SCOTTISBAE THEMES # 172
- THEME BY: http://scottisbae.tumblr.com/ (PREV BRITISHROBERT)
- RULES, IMPORTANT: DON'T REMOVE THE CREDIT // DON'T CLAIM AS YOUR OWN // DON'T USE AS A BASE
- --------------------------------------------->
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="altertnate" type="application/rss+xml" href="{RSS}">
- <meta name="description" content="" />
- <meta http-equiv="x-dns-prefetch-control" content="off"/>
- <meta name="color:Background" content="#FFFFFF">
- <meta name="color:Link" content="#ACB2B6">
- <meta name="color:Bold" content="#ACB2B6">
- <meta name="color:Description Border" content="#F3F3F3">
- <meta name="color:Link Hover" content="#CECECE">
- <meta name="color:Text" content="#393939">
- <meta name="color:Scrollbar" content="#CBD0D4">
- <meta name="color:Info Border" content="#F3F3F3">
- <meta name="color:Posts BG" content="#FFFFFF">
- <meta name="text:Body Font Size" content="9px"/>
- <meta name="text:Body Font" content="'Hind', arial"/>
- <meta name="image:Icon" content=""/>
- <meta name="image:Icon2" content=""/>
- <meta name="image:Background" content="" />
- <meta name="if:Show Posts Black and White" content="0" />
- <meta name="if:Show Icon 1" content="1" />
- <meta name="if:Show Icon 2" content="1" />
- <meta name="text:link1 url" content="/">
- <meta name="text:link2 url" content="/">
- <meta name="text:link3 url" content="/">
- <meta name="text:link1 hover" content="link1">
- <meta name="text:link2 hover" content="link2">
- <meta name="text:link3 hover" content="link3">
- <link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
- <link href='https://fonts.googleapis.com/css?family=Hind:400,500,700' rel='stylesheet' type='text/css'>
- <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
- <link href='http://fonts.googleapis.com/css?family=Maven+Pro:400,500,700,900' rel='stylesheet' type='text/css'>
- <link href="https://fonts.googleapis.com/css?family=Fredericka+the+Great" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Mrs+Saint+Delafield" rel="stylesheet">
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
- <script src="http://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:90,
- tip_fade_speed:600,
- attribute:"title"
- });
- });
- })(jQuery);
- </script>
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <script>
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: 'corners',
- gutter: '1px',
- borderRadius: '3px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- });
- </script>
- <style type="text/css">
- body{cursor:url(“https://i.imgur.com/blDVv74.png”),default;}
- ::-webkit-scrollbar {background-color:{color:Background}; height:4px; width:4px;}
- ::-webkit-scrollbar-thumb:vertical {background-color:{color:Scrollbar}; height:50px}
- ::-webkit-scrollbar-thumb:horizontal {background-color:{color:Scrollbar}; height:8px!important}
- #s-m-t-tooltip {
- max-width:300px;
- margin-top:-25px;
- margin-left:-25px;
- font-size: 8px;
- font-family: calibri;
- padding:2px;
- color:{color:text};
- font-weight:;
- letter-spacing:1px;
- text-align:center;
- text-transform:uppercase;
- background-color:{color:Background};
- z-index:999999999999999999999999999999999999;
- }
- img {
- -webkit-filter: grayscale(0%);
- {block:ifShowPostsBlackandWhite}
- -webkit-filter: grayscale(100%);
- {/block:ifShowPostsBlackandWhite}
- z-index: -9999999999999999999999999px;
- -webkit-transition: all 0.9s ease-in-out;
- -moz-transition: all 0.9s ease-in-out;
- -o-transition: all 0.9s ease-in-out;
- -ms-transition: all 0.9s ease-in-out;
- transition: all 0.9s ease-in-out;
- }
- img:hover {
- -webkit-filter: grayscale(0%);
- z-index: -9999999999999999999999999px;
- -webkit-transition: all 0.9s ease-in-out;
- -moz-transition: all 0.9s ease-in-out;
- -o-transition: all 0.9s ease-in-out;
- -ms-transition: all 0.9s ease-in-out;
- transition: all 0.9s ease-in-out;
- }
- h1 {
- font-weight:normal;
- font-size: {text:Body Font Size};
- font-family: 9px;
- text-align:right;
- font-style:italic;
- letter-spacing:0px;
- text-transform:none;
- color:{color:Bold};
- }
- h2 {
- margin-bottom:12px;
- padding-bottom:10px;
- font-size: 10px;
- font-family: {text:Body Font};
- font-style:none;
- text-align:center;
- letter-spacing:0;
- font-weight:bold;
- line-height:100%;
- text-transform:none;
- color:{color:Bold};
- margin: 0px;
- border-bottom:px solid {color:Info Border};
- }
- pre {
- width:400px;
- text-align: left;
- word-wrap: break-word;
- color:{color:Text};
- }
- blockquote {
- border-left:1px solid {color:Info Border};
- padding-left:6px;
- padding-top:0px;
- padding-bottom:0px;
- margin:10px;
- margin-top:10px;
- margin-bottom:5px;
- margin-left:8px;
- }
- blockquote img {
- max-width:400px;
- }
- body {
- color: {color:Text};
- background-color:{color:Background};
- background-image:url('{image:background}');
- background-attachment: fixed;
- background-repeat: repeat;
- word-spacing:1px;
- }
- b, strong {
- color: {color:bold};
- }
- small, sup, sub {
- font-size: {text:Body Font Size};
- }
- a {
- color: {color:Link};
- text-decoration: none;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- a:hover {
- color: {color:Link Hover};
- text-decoration: none;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- .sidebar {
- width:120px;
- height:471px;
- color:{color:Text};
- position: fixed;
- margin-top:50px;
- margin-left:128px;
- padding:10px;
- background-color:{color:Posts BG};
- border:px solid {color:Info Border};
- }
- .sidebarimage {
- margin-top:0px;
- margin-bottom:0px;
- margin-left:px;
- width:70px;
- padding:13px;
- -webkit-filter: grayscale(0%); filter: grayscale(0%);
- border:1px solid {color:Info Border};
- }
- .title {
- width:494px;
- height:10px;
- padding:13px;
- padding-bottom:5px;
- margin-top:44px;
- margin-left:303px;
- font-family:hind;
- font-size:10px;
- position:fixed;
- line-height:0%;
- letter-spacing:1px;
- font-style:none;
- font-weight:bold;
- text-transform:uppercase;
- color:{color:title};
- background-color:{color:Posts};
- }
- .title a {
- color:{color:title};
- text-decoration:none;
- }
- .sidebarlinks {
- width:476px;
- height:10px;
- padding:13px;
- padding-bottom:5px;
- margin-top:50px;
- margin-left:269px;
- font-family:hind;
- font-size:11px;
- position:fixed;
- line-height:0%;
- letter-spacing:px;
- font-style:none;
- font-weight:;
- text-transform:lowercase;
- color:{color:Links};
- background-color:{color:Posts BG};
- }
- .sidebarlinks a {
- color:{color:Links};
- padding:10px;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- .sidebarlinks a:hover {
- color:{color:Link Hover};
- text-decoration:none;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- .description {
- text-transform:;
- width:110px;
- padding-top:px;
- margin-top:10px;
- margin-bottom:10px;
- float:left;
- padding:5px;
- text-align:justify;
- line-height:180%;
- text-transform:lowercase;
- font-size:9px;
- font-family:hind;
- color:{color:Text};
- background-color:{color:Posts BG};
- letter-spacing:px;
- border:1px solid {color:Description Border};
- border:px solid {color:Info Border};
- {block:ifNotShowIcon1}
- margin-top:19px;
- {/block:ifNotShowIcon1}
- }
- .description a:hover {
- color:{color:Link Hover};
- }
- .border {
- margin-left:px;
- border-bottom: 1px solid {color:Info Border};
- width:100px;
- }
- .border2 {
- margin-left:0px;
- border-bottom: 1px solid {color:info border};
- width:90px;
- }
- .pagination {
- font-family:calibri;
- text-transform:uppercase;
- letter-spacing:3px;
- text-align:center;
- font-size:15px;
- font-weight:bold;
- text-align:center;
- margin-top:20px;
- margin-bottom:30px;
- padding:0px;
- position:justify;
- margin-left:auto;
- margin-right:auto
- background-color:{color:Background};
- }
- .pagination a {
- color:{color:Bold};
- padding:3px;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- .pagination a:hover {
- color:{color:Link Hover};
- text-decoration:none;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- .container {
- width:900px;
- margin: auto;
- margin-top:-8px;
- }
- .postscontainer {
- width:500px;
- height:460px;
- margin: auto;
- position:fixed;
- margin-top:80px;
- margin-bottom:50px;
- margin-left:270px;
- background-color:{color:Posts BG};
- outline:1px solid {color:info border};
- border-right:px solid {color:Bottom Border};
- overflow-y:scroll;
- overflow-x:hidden;
- }
- .posts {
- width:400px;
- font-size: {text:Body Font Size};
- font-family: {text:Body Font};
- margin-bottom:-23px;
- margin-top:6px;
- margin-left:30px;
- padding:20px;
- line-height:160%;
- letter-spacing:0.5px;
- text-align:justify;
- }
- .info {
- width:400px;
- margin-top:35px;
- padding-bottom:0px;
- padding:5px;
- margin-left:px;
- text-align:center;
- font-family:hind;
- text-transform:lowercase;
- letter-spacing:0.5px;
- font-size:8.5px;
- border-top:1px solid {color:Info Border};
- }
- .info a {
- color:{color:Text};
- }
- .info a:hover {
- text-decoration:none;
- color:{color:Link Hover};
- }
- .tags {
- width:400px;
- margin-top:px;
- text-transform:none;
- position:static;
- font-family:hind;
- letter-spacing:0px;
- font-weight:;
- text-align:center;
- float:initial;
- font-size:9px;
- text-align:;
- letter-spacing:px;
- border-top:0px solid {color:infobg};
- -moz-transition-duration:0.5s;
- -webkit-transition-duration:0.5s;
- -o-transition-duration:0.5s;
- }
- .tags a {
- padding:5px;
- background-color:none;
- color:{color:Text};
- }
- .tags a:hover {
- text-decoration:none;
- color:{color:Link Hover};
- }
- ul li {
- color:#444; /* set color of list item to a dark gray */
- list-style:none; /* if you’re not already using a reset */
- }
- ul li:before {
- color:{color:Bold}; /* set color to red */
- content:"\25E6"; /* /2022 is the numerical unicode for • */
- font-size:2em; /* set the font-size of the bullet if necessary. Make sure to use em or %*/
- padding-right:.25em; /* give the bullet some padding from the text Make sure to use em*/
- position:relative;
- top:.1em; /* set the vertical position of the bullet if necessary. Make sure to use em or % */
- }
- .postnote {
- width:400px;
- text-transform:lowercase;
- font-size: {text:Body Font Size};
- font-family: {text:Body Font};
- text-align:left;
- margin-top:60px;
- }
- .postnote li {
- list-style-type:none;
- padding:10px 0px 0px 0px;
- text-align:left;
- -moz-transition-duration:0.5s;
- -webkit-transition-duration:0.5s;
- -o-transition-duration:0.5s;
- }
- .postnote img {
- width:0px;
- }
- .music {
- width:400px;
- {block:ifShow400pxposts}
- width:400px;
- {/block:ifShow400pxposts}
- padding-bottom:10px;
- }
- .albumart {
- float:left;
- width:45px;
- padding: 3px;
- margin:2px 7px -3px 6px;
- border-radius:10%;
- }
- .playercontainer {
- text-align:left;
- padding-top:15px;
- width:450px;
- {block:ifShow400pxposts}
- width:350px;
- {/block:ifShow400pxposts}
- }
- .musicinfo {
- padding:10px;
- margin-top:20px;
- text-transform:uppercase;
- font-size: {text:Body Font Size};
- font-family: {text:Body Font};
- color:{color:Text};
- }
- .quote {
- font-size: {text:Body Font Size};
- font-family: {text:Body Font};
- letter-spacing:0.1px;
- text-transform:uppercase;
- line-height:100%;
- text-align:center;
- }
- .source {
- font-family:calibri;
- font-size:10px;
- font-style:normal;
- text-align:center;
- line-height:17px;
- }
- .chat {
- margin-top:5px;
- font-size: {text:Body Font Size};
- font-family: {text:Body Font};
- }
- .chat .lines {
- margin-left:0;
- }
- .chat .lines span {
- font-weight: bold;
- color:{color:bold};
- }
- .ask {
- width:400px;
- font-size: {text:Body Font Size};
- font-family: {text:Body Font};
- text-transform:capitalize;
- text-align:left;
- font-weight:;
- padding-top:4px;
- padding-left:7px;
- padding-bottom:10px;
- font-size: {text:Body Font Size};
- font-family: {text:Body Font};
- border-bottom: 1px solid {color:Info Border};
- }
- .ask a {
- color:{color:bold};
- }
- .ask a:hover {
- text-decoration:none;
- color:{color:Link Hover};
- }
- .answer {
- width:400px;
- letter-spacing:0px;
- text-align:left;
- padding-top:px;
- margin-bottom:1px;
- font-size: {text:Body Font Size};
- font-family: {text:Body Font};
- }
- .credit {
- position:fixed;
- font-family:calibri;
- font-size:8px;
- line-height:150%;
- letter-spacing:0px;
- right:5px;
- bottom:20px;
- text-transform:uppercase;
- text-align:center;
- border: 1px solid {color:Info Border};
- background-color: #FFFFFF;
- color: #393939;
- }
- .credit a {
- color:{color:text};
- font-style:normal;
- padding:3px;
- -moz-transition-duration:0.5s;
- -webkit-transition-duration:0.5s;
- -o-transition-duration:0.5s;
- }
- *, body, a, a:hover {cursor: url(https://i.imgur.com/blDVv74.png), auto;}
- </style>
- </head>
- <body>
- <div class="container">
- <div class="sidebarlinks">
- <a href="/" title="refresh"><i class="fa fa-circle-o" aria-hidden="true"></i></a>
- <a href="/ask" title="questions"><i class="fa fa-circle-o" aria-hidden="true"></i></a>
- <a href="{text:link1 url}" title="{text:link1 hover}"><i class="fa fa-circle-o" aria-hidden="true"></i></a>
- <a href="{text:link2 url}" title="{text:link2 hover}"><i class="fa fa-circle-o" aria-hidden="true"></i></a>
- <a href="{text:link3 url}" title="{text:link3 hover}"><i class="fa fa-circle-o" aria-hidden="true"></i></a>
- {block:Pagination}
- <span style="float:right;">
- {block:PreviousPage}
- <a title="back" href="{PreviousPage}"> <i class="fa fa-angle-double-left" aria-hidden="true"></i></a>
- {/block:PreviousPage}
- {block:NextPage}
- <a title="next" href="{NextPage}"> <i class="fa fa-angle-double-right" aria-hidden="true"></i></a>
- {/block:NextPage}
- </span>
- {/block:Pagination}
- </div>
- <div class="sidebar">
- {block:ifShowIcon1}
- <center>
- <img src="{image:icon}" class="sidebarimage">
- </center>
- {/block:ifShowIcon1}
- <div class="description">
- {Description}
- </div>
- {block:ifShowIcon2}
- <center>
- <img src="{image:icon2}" class="sidebarimage">
- </center>
- {/block:ifShowIcon2}
- </div>
- <div class="credit"><a href="http://scottisbae.tumblr.com/">scottisbae</a></div>
- <div class="postscontainer">
- {block:Posts}
- <div class="posts">
- {block:Text}
- {block:Title}<h2>{Title}</h2>{/block:Title}
- {Body}
- {/block:Text}
- {block:Quote}<div class="quote">“{Quote}”</div><center><div class="source">— {block:Source}{Source}{/block:Source}</div></center><br>{/block:Quote}
- {/block:Quote}
- {block:Link}
- <h2><a href="{URL}">{Name}</a></h2>
- {block:Description}{Description}{/block:Description}
- {/block:Link}
- {block:Chat}
- {block:Title}<h2>{Title}</h2>{/block:Title}
- {block:lines}
- <div class="chat">
- <div class="lines">{block:label}
- <span><span style="text-transform:uppercase;font-family:arial;font-size:7px;letter-spacing:0.5px;">{label}</span></span>
- {/block:label}
- <br>{line}</br></div></div>
- {/block:lines}
- {/block:Chat}
- {block:Answer}<div class="ask"><p><span style="font-weight:bold;text-transform:lowercase;color:{color:bold};">{Asker} </span><span style="font-size:9px;color:{color:bold};"><i class="fa fa-question"></i></span></p> <span style="text-transform:none;"> {Question} </span></div><div class="caption"><div class="answer">{Answer}</div></div>{/block:answer}
- {block:Photo}
- {LinkOpenTag}<img src="{PhotoURL-400}" alt="{PhotoAlt}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}
- {/block:Photo}
- {block:Photoset}<div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">{block:Photos}<div class="photo-data"><div class="pxu-photo"><img src="{PhotoURL-400}" width="{PhotoWidth-400}" height="{PhotoHeight-400}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}"></div><a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a></div>{/block:Photos}</div> {block:Caption}{Caption}{/block:Caption} {/block:Photoset}
- {block:Audio}<div class="music">{block:AlbumArt}<img src="{AlbumArtURL}" class="albumart">{/block:AlbumArt}
- <div class="playercontainer">{AudioPlayerWhite}</div>
- <div class="musicinfo">{block:TrackName} {TrackName} {/block:TrackName} {block:Artist}by <b>{Artist}</b> {/block:Artist}</div>
- {block:Caption}{Caption}{/block:Caption}<br></div>{/block:Audio}
- {block:Video}{Video-400}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Video}
- {block:Date}<div class="info"><span style="color:{color:Bold};font-size:10px";><i class="fa fa-sort" aria-hidden="true"></i></span> <a href="{Permalink}">{TimeAgo}</a>{block:NoteCount} <span style="color:{color:Bold};font-size:7px";><i class="fa fa-heart-o" aria-hidden="true"></i></span> {NoteCountwithlabel}{/block:NoteCount} {block:PermalinkPage} {block:RebloggedFrom} <a href="{ReblogParentURL}">{ReblogParentName}</a>{block:ContentSource} <span style="color:{color:linkinfo}"><a href="{SourceURL}"></a><a href="{ReblogRootURL}"><span style="color:{color:linkinfo}">©</a></span>{/block:ContentSource}{/block:RebloggedFrom} {/block:PermalinkPage}<span style=";"><a title="reblog" href="{ReblogURL}" target="_blank" class="details"><span style="color:{color:Bold};font-size:7px";><i class="fa fa-share" aria-hidden="true"></i></span></a></span></div>
- {/block:Date}
- {block:HasTags}
- <div class="tags">
- {block:Tags}<span style="color:{color:Bold}"><i class="fa fa-tag" aria-hidden="true"></i></span><a href="{TagURL}">{Tag}</a> {/block:Tags}
- </div>
- {/block:HasTags}
- <div class="postnote">
- {block:PostNotes}{PostNotes}{/block:PostNotes}</div>
- </div>
- {/block:Posts}
- <script type="text/javascript">
- // <![CDATA[
- var colour="#f7ffff"; // what colour are the blobs
- var speed=40; // speed of animation, lower is faster
- var blobs=10; // how many blobs are in the jar
- var charc=String.fromCharCode(9679); // a blob - can be changed to charc='hello' or charc='*' for a different effect
- /***************************\
- * Blobs in a Jar Effect *
- * (c)2012 mf2fm web-design *
- * http://www.mf2fm.com/rv *
- * DON'T EDIT BELOW THIS BOX *
- \***************************/
- window.onload=fill_the_jar;
- var div;
- var xpos=new Array();
- var ypos=new Array();
- var zpos=new Array();
- var dx=new Array();
- var dy=new Array();
- var dz=new Array();
- var blob=new Array();
- var swide=800;
- var shigh=600;
- function fill_the_jar() {
- var i, dvs;
- div=document.createElement('div');
- dvs=div.style;
- dvs.position='fixed';
- dvs.left='0px';
- dvs.top='0px';
- dvs.width='1px';
- dvs.height='1px';
- document.body.appendChild(div);
- set_width();
- for (i=0; i<blobs; i++) {
- add_blob(i);
- jamjar(i);
- }
- }
- function add_blob(ref) {
- var dv, sy;
- dv=document.createElement('div');
- dv.appendChild(document.createTextNode(charc));
- sy=dv.style;
- sy.position='absolute';
- sy.textAlign="center";
- if (navigator.appName=="Microsoft Internet Explorer") {
- sy.fontSize="10px";
- sy.width="100px";
- sy.height="100px";
- sy.paddingTop="40px";
- sy.color=colour;
- }
- else sy.color='rgba(0,0,0,0)';
- ypos[ref]=Math.floor(shigh*Math.random());
- dy[ref]=(0.5+Math.random())*(Math.random()>.5?2:-2);
- xpos[ref]=Math.floor(swide*Math.random());
- dx[ref]=(0.5+Math.random())*(Math.random()>.5?2:-2);
- zpos[ref]=Math.random()*20;
- dz[ref]=(0.5+Math.random())*(Math.random()>.5?.5:-.5);
- blob[ref]=dv;
- div.appendChild(blob[ref]);
- set_blob(ref);
- }
- function rejig(ref, xy) {
- if (xy=='y') {
- dx[ref]=(0.5+Math.random())*sign(dx[ref]);
- dy[ref]=(0.5+Math.random())*-sign(dy[ref]);
- }
- else {
- dx[ref]=(0.5+Math.random())*-sign(dx[ref]);
- dy[ref]=(0.5+Math.random())*sign(dy[ref]);
- }
- }
- function sign(a) {
- if (a<0) return (-2);
- else if (a>0) return (2);
- else return (0);
- }
- function set_blob(ref) {
- var sy;
- sy=blob[ref].style;
- sy.top=ypos[ref]+'px';
- sy.left=xpos[ref]+'px';
- if (navigator.appName=="Microsoft Internet Explorer") {
- sy.filter="glow(color="+colour+",strength="+zpos[ref]+")";
- sy.fontSize=30-zpos[ref]+"px";
- }
- else {
- sy.textShadow=colour+' 0px 0px '+zpos[ref]+'px';
- sy.fontSize=40+zpos[ref]+'px';
- }
- }
- function jamjar(ref) {
- if (ypos[ref]+dy[ref]<-50 || ypos[ref]+dy[ref]>shigh) rejig(ref, 'y');
- ypos[ref]+=dy[ref];
- if (xpos[ref]+dx[ref]<-50 || xpos[ref]+dx[ref]>swide) rejig(ref, 'x');
- xpos[ref]+=dx[ref];
- if (zpos[ref]+dz[ref]<0 || zpos[ref]+dz[ref]>20) dz[ref]=-dz[ref];
- zpos[ref]+=dz[ref];
- set_blob(ref);
- setTimeout("jamjar("+ref+")", speed);
- }
- window.onresize=set_width;
- function set_width() {
- var sw_min=999999;
- var sh_min=999999;
- if (document.documentElement && document.documentElement.clientWidth) {
- if (document.documentElement.clientWidth>0) sw_min=document.documentElement.clientWidth;
- if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight;
- }
- if (typeof(self.innerWidth)!="undefined" && self.innerWidth) {
- if (self.innerWidth>0 && self.innerWidth<sw_min) sw_min=self.innerWidth;
- if (self.innerHeight>0 && self.innerHeight<sh_min) sh_min=self.innerHeight;
- }
- if (document.body.clientWidth) {
- if (document.body.clientWidth>0 && document.body.clientWidth<sw_min) sw_min=document.body.clientWidth;
- if (document.body.clientHeight>0 && document.body.clientHeight<sh_min) sh_min=document.body.clientHeight;
- }
- if (sw_min==999999 || sh_min==999999) {
- sw_min=800;
- sh_min=600;
- }
- swide=sw_min;
- shigh=sh_min;
- }
- // ]]>
- </script>
- </div>
- </div>
- </div>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement