You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
811 lines
18 KiB
HTML
811 lines
18 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<title> @@@ilinχ </title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=0.5">
|
|
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
|
|
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
|
<!-- <link rel="stylesheet" type="text/css" href="style.css"> -->
|
|
<style type="text/css">
|
|
body{
|
|
overflow-y: hidden;
|
|
font-family: mono;
|
|
background-color: black !important;
|
|
background: radial-gradient(15px 5px at 25% 0, transparent 0%, transparent 80%, rgba(255, 255, 255, 0.06) 80%, rgba(255, 255, 255, 0.06) 99%, transparent 99%, transparent 100%),
|
|
radial-gradient(15px 5px at 75% 100%, transparent 0%, transparent 80%, rgba(255, 255, 255, 0.06) 80%, rgba(255, 255, 255, 0.06) 99%, transparent 99%, transparent 100%),
|
|
radial-gradient(10px 3px at 25% 0, transparent 0%, transparent 70%, rgba(255, 255, 255, 0.05) 70%, rgba(255, 255, 255, 0.05) 99%, transparent 99%, transparent 100%),
|
|
radial-gradient(10px 3px at 75% 100%, transparent 0%, transparent 70%, rgba(255, 255, 255, 0.05) 70%, rgba(255, 255, 255, 0.05) 99%, transparent 99%, transparent 100%),
|
|
radial-gradient(30px 8px at 25% 0, transparent 0%, transparent 55%, rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.02) 99%, transparent 99%, transparent 100%),
|
|
radial-gradient(30px 8px at 75% 100%, transparent 0%, transparent 55%, rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.02) 99%, transparent 99%, transparent 100%), #c4cbc3;
|
|
background-size: 60px 40px, 60px 40px, 40px 24px, 40px 24px, 120px 64px, 120px 64px;
|
|
/*background-position: 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%;*/
|
|
-webkit-animation: wave 5s linear infinite;
|
|
animation: wave 5s linear infinite;
|
|
}
|
|
|
|
@-webkit-keyframes wave {
|
|
0% {
|
|
background-position: 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%;
|
|
}
|
|
}
|
|
|
|
@keyframes wave {
|
|
0% {
|
|
background-position: 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%;
|
|
}
|
|
}
|
|
|
|
*,:after,:before{box-sizing:border-box}
|
|
.pull-left{float:left}
|
|
.pull-right{float:right}
|
|
.clearfix:after,.clearfix:before{content:'';display:table}
|
|
.clearfix:after{clear:both;display:block}
|
|
|
|
.boat{
|
|
transform: scale(-0.3, 0.3);
|
|
top:50%;
|
|
left:50%;
|
|
margin-top:-150px;
|
|
position:absolute;
|
|
margin-left:-1000px;
|
|
}
|
|
|
|
.boat .wrap{
|
|
|
|
margin:auto;
|
|
width:860px;
|
|
height:150px;
|
|
overflow:hidden;
|
|
position:relative;
|
|
padding:50px 0 0 500px;
|
|
left: -180px;
|
|
}
|
|
.boat .main{
|
|
bottom:-3px;
|
|
position:relative;
|
|
-webkit-animation:boat-start 1s infinite;
|
|
animation:boat-start 1s infinite;
|
|
}
|
|
.boat .boat-top-layer .top:before,
|
|
.boat .boat-top-layer .top:after,
|
|
.boat .boat-top-layer .top .pole:before,
|
|
.boat .boat-top-layer .top .pole:after,
|
|
.boat .boat-top-layer .top .help:before,
|
|
.boat .boat-top-layer .top .help:after,
|
|
.boat .boat-top-layer .top .help span:before,
|
|
.boat .boat-top-layer .top .help span:after,
|
|
.boat .boat-top-layer .bottom:before,
|
|
.boat .boat-top-layer .bottom:after,
|
|
.boat .boat-mid-layer .top:before,
|
|
.boat .boat-mid-layer .top:after,
|
|
.boat .boat-mid-layer .bottom:before,
|
|
.boat .boat-mid-layer .bottom:after,
|
|
.boat .boat-bot-layer .top:before,
|
|
.boat .boat-bot-layer .top:after,
|
|
.boat .boat-bot-layer .bottom:before,
|
|
.boat .boat-bot-layer .bottom:after,
|
|
.boat .water .drop:before,
|
|
.boat .water .drop:after{
|
|
content:'';
|
|
position:absolute;
|
|
}
|
|
|
|
/* top - top */
|
|
.boat .boat-top-layer .top{
|
|
left:70px;
|
|
width:55px;
|
|
height:30px;
|
|
position:relative;
|
|
border:2px solid #fff;
|
|
}
|
|
.boat .boat-top-layer .top:before,
|
|
.boat .boat-top-layer .top:after{
|
|
background:#fff;
|
|
}
|
|
.boat .boat-top-layer .top:before{
|
|
top:50%;
|
|
left:-2px;
|
|
height:2px;
|
|
width:inherit;
|
|
margin-top:-1px;
|
|
}
|
|
.boat .boat-top-layer .top:after{
|
|
top:-30px;
|
|
width:2px;
|
|
right:-2px;
|
|
height:35px;
|
|
}
|
|
.boat .boat-top-layer .top .pole{
|
|
width:2px;
|
|
left:-2px;
|
|
z-index:1;
|
|
height:50px;
|
|
bottom:-8px;
|
|
background:#fff;
|
|
position:absolute;
|
|
}
|
|
.boat .boat-top-layer .top .pole:before,
|
|
.boat .boat-top-layer .top .pole:after{
|
|
position:absolute;
|
|
background:inherit
|
|
}
|
|
.boat .boat-top-layer .top .pole:before{
|
|
top:-5px;
|
|
left:50%;
|
|
width:15px;
|
|
height:8px;
|
|
border-radius:4px;
|
|
margin-left:-7.5px;
|
|
}
|
|
.boat .boat-top-layer .top .pole:after{
|
|
bottom:0;
|
|
left:30px;
|
|
width:2px;
|
|
height:35px;
|
|
}
|
|
.boat .boat-top-layer .top .help{
|
|
z-index:1;
|
|
width:30px;
|
|
height:30px;
|
|
margin-top:-2px;
|
|
margin-left:-1px;
|
|
position:relative;
|
|
border-radius:50%;
|
|
border:8px solid #f04850;
|
|
}
|
|
.boat .boat-top-layer .top .help:before,
|
|
.boat .boat-top-layer .top .help:after{
|
|
top:50%;
|
|
left:50%;
|
|
position:absolute;
|
|
background:rgba(0,0,0,.3);
|
|
}
|
|
.boat .boat-top-layer .top .help:before{
|
|
height:2px;
|
|
width:inherit;
|
|
margin-top:-1px;
|
|
margin-left:-15px;
|
|
}
|
|
.boat .boat-top-layer .top .help:after{
|
|
width:2px;
|
|
height:inherit;
|
|
margin-top:-15px;
|
|
margin-left:-1px;
|
|
}
|
|
.boat .boat-top-layer .top .help span{
|
|
top:-2px;
|
|
width:14px;
|
|
height:14px;
|
|
overflow:hidden;
|
|
border-radius:50%;
|
|
position:relative;
|
|
display:inline-block;
|
|
}
|
|
.boat .boat-top-layer .top .help span:before,
|
|
.boat .boat-top-layer .top .help span:after{
|
|
top:50%;
|
|
left:50%;
|
|
z-index:1;
|
|
background:#fff;
|
|
position:absolute;
|
|
}
|
|
.boat .boat-top-layer .top .help span:before{
|
|
width:2px;
|
|
height:inherit;
|
|
margin-top:-7px;
|
|
margin-left:-1px;
|
|
}
|
|
.boat .boat-top-layer .top .help span:after{
|
|
height:2px;
|
|
width:inherit;
|
|
margin-top:-1px;
|
|
margin-left:-7px;
|
|
}
|
|
|
|
/* top - bottom */
|
|
.boat .boat-top-layer .bottom{
|
|
left:55px;
|
|
height:5px;
|
|
width:75px;
|
|
position:relative;
|
|
background:#688b77;
|
|
border-radius:5px 3px 0 0;
|
|
}
|
|
.boat .boat-top-layer .bottom:before,
|
|
.boat .boat-top-layer .bottom:after{
|
|
background:#fff;
|
|
}
|
|
.boat .boat-top-layer .bottom:before{
|
|
left:8px;
|
|
top:-30px;
|
|
width:5px;
|
|
height:35px;
|
|
-webkit-transform:skewX(-25deg);
|
|
transform:skewX(-25deg);
|
|
}
|
|
.boat .boat-top-layer .bottom:after{
|
|
bottom:0;
|
|
left:30px;
|
|
width:2px;
|
|
height:85px;
|
|
}
|
|
|
|
/* middle - top */
|
|
.boat .boat-mid-layer .top{
|
|
left:60px;
|
|
width:70px;
|
|
height:20px;
|
|
position:relative;
|
|
background:#222e28;
|
|
border-top:5px solid #fff;
|
|
border-right:5px solid #fff;
|
|
}
|
|
.boat .boat-mid-layer .top:before{
|
|
top:-5px;
|
|
left:-10px;
|
|
width:18px;
|
|
height:inherit;
|
|
background:inherit;
|
|
border-top:inherit;
|
|
border-right:inherit;
|
|
border-left:5px solid #fff;
|
|
-webkit-transform:skewX(-25deg);
|
|
transform:skewX(-25deg);
|
|
}
|
|
.boat .boat-mid-layer .top:after{
|
|
top:-5px;
|
|
width:5px;
|
|
height:5px;
|
|
right:-10px;
|
|
background:#fff;
|
|
border-radius:0 3px 3px 0;
|
|
}
|
|
/* middle - bottom */
|
|
.boat .boat-mid-layer .bottom{
|
|
left:25px;
|
|
width:105px;
|
|
height:12px;
|
|
background:#fff;
|
|
position:relative;
|
|
}
|
|
.boat .boat-mid-layer .bottom:before{
|
|
left:-5px;
|
|
width:10px;
|
|
height:inherit;
|
|
background:inherit;
|
|
border-radius:3px 0 0 0;
|
|
-webkit-transform:skewX(-25deg);
|
|
transform:skewX(-25deg);
|
|
}
|
|
.boat .boat-mid-layer .bottom:after{
|
|
top:3px;
|
|
right:5px;
|
|
height:5px;
|
|
width:20px;
|
|
background:#d0e2d7;
|
|
}
|
|
|
|
|
|
/* bottom - top */
|
|
.boat .boat-bot-layer .top{
|
|
left:-10px;
|
|
height:5px;
|
|
width:180px;
|
|
position:relative;
|
|
background:#688b77;
|
|
border-radius:5px 5px 0 0;
|
|
}
|
|
.boat .boat-bot-layer .top:before,
|
|
.boat .boat-bot-layer .top:after{
|
|
width:5px;
|
|
height:5px;
|
|
bottom:100%;
|
|
background:#222e28;
|
|
border-radius:2px 2px 0 0;
|
|
}
|
|
.boat .boat-bot-layer .top:before{
|
|
left:10px;
|
|
}
|
|
.boat .boat-bot-layer .top:after{
|
|
right:25px;
|
|
}
|
|
/* bottom - bottom */
|
|
.boat .boat-bot-layer .bottom{
|
|
width:180px;
|
|
height:25px;
|
|
position:relative;
|
|
border-radius:2px;
|
|
background:#222e28;
|
|
}
|
|
.boat .boat-bot-layer .bottom:before{
|
|
left:-15px;
|
|
width:25px;
|
|
height:25px;
|
|
background:inherit;
|
|
border-radius:inherit;
|
|
-webkit-transform:skewX(25deg);
|
|
transform:skewX(25deg);
|
|
}
|
|
.boat .boat-bot-layer .bottom:after{
|
|
top:-13px;
|
|
left:28px;
|
|
width:5px;
|
|
height:5px;
|
|
border-radius:50%;
|
|
background:inherit;
|
|
}
|
|
|
|
.boat .water{
|
|
bottom:0;
|
|
left:150px;
|
|
position:absolute;
|
|
left: 450px;
|
|
}
|
|
.boat .water .drops{
|
|
width:300px;
|
|
height:22px;
|
|
position:relative;
|
|
}
|
|
.boat .water .drop{
|
|
left:0;
|
|
bottom:0;
|
|
background:#fff;
|
|
position:absolute;
|
|
}
|
|
.boat .water .drop:before,
|
|
.boat .water .drop:after{
|
|
background:inherit;
|
|
border-radius:inherit;
|
|
}
|
|
.boat .water .drop.drop-a,
|
|
.boat .water .drop.drop-b,
|
|
.boat .water .drop.drop-e,
|
|
.boat .water .drop.drop-f,
|
|
.boat .water .drop.drop-g{
|
|
height:5px;
|
|
border-radius:3px 3px 0 0;
|
|
}
|
|
.boat .water .drop.drop-a{
|
|
width:10px;
|
|
}
|
|
.boat .water .drop.drop-b,
|
|
.boat .water .drop.drop-e,
|
|
.boat .water .drop.drop-f,
|
|
.boat .water .drop.drop-g{
|
|
left:15px;
|
|
width:22px;
|
|
}
|
|
.boat .water .drop.drop-c{
|
|
left:37px;
|
|
width:32px;
|
|
height:7px;
|
|
border-radius:6px 6px 0 0;
|
|
}
|
|
.boat .water .drop.drop-c:before,
|
|
.boat .water .drop.drop-c:after,
|
|
.boat .water .drop.drop-d:before,
|
|
.boat .water .drop.drop-d:after,
|
|
.boat .water .drop.drop-g:before{
|
|
width:2px;
|
|
height:2px;
|
|
border-radius:50%;
|
|
}
|
|
.boat .water .drop.drop-c:before{
|
|
left:0;
|
|
top:-5px;
|
|
}
|
|
.boat .water .drop.drop-c:after{
|
|
top:-8px;
|
|
right:5px;
|
|
width:4px;
|
|
height:4px;
|
|
}
|
|
.boat .water .drop.drop-d{
|
|
left:68px;
|
|
width:25px;
|
|
height:10px;
|
|
border-radius:10px 10px 0 0;
|
|
}
|
|
.boat .water .drop.drop-d:before{
|
|
top:-8px;
|
|
left:8px;
|
|
}
|
|
.boat .water .drop.drop-d:after{
|
|
top:-2px;
|
|
right:-8px;
|
|
}
|
|
|
|
.boat .water .drop.drop-e{
|
|
left:93px;
|
|
}
|
|
.boat .water .drop.drop-f{
|
|
width:50px;
|
|
left:115px;
|
|
height:4px;
|
|
}
|
|
.boat .water .drop.drop-g{
|
|
left:auto;
|
|
right:75px;
|
|
width:40px;
|
|
height:2.5px;
|
|
}
|
|
.boat .water .drop.drop-g:before{
|
|
top:-5px;
|
|
left:-5px;
|
|
}
|
|
.boat .water .drop.drop-g:after{
|
|
left:100%;
|
|
width:12px;
|
|
height:inherit;
|
|
}
|
|
.boat .water .drop.drop-h{
|
|
left:auto;
|
|
right:25px;
|
|
height:2px;
|
|
width:25px;
|
|
}
|
|
.boat .water .drop.drop-h:before,
|
|
.boat .water .drop.drop-h:after{
|
|
height:inherit;
|
|
}
|
|
.boat .water .drop.drop-h:before{
|
|
left:30px;
|
|
width:10px;
|
|
}
|
|
.boat .water .drop.drop-h:after{
|
|
left:45px;
|
|
width:4px;
|
|
}
|
|
|
|
.boat .water .drops-2{
|
|
bottom:0;
|
|
left:30px;
|
|
position:absolute;
|
|
}
|
|
.boat .water .drops-2 .drop.drop-a{
|
|
width:15px;
|
|
border-radius:5px 5px 0 0;
|
|
}
|
|
.boat .water .drops-2 .drop.drop-b{
|
|
height:10px;
|
|
border-radius:10px 10px 0 0;
|
|
}
|
|
.boat .water .drops-2 .drop.drop-c:before{
|
|
left:10px;
|
|
top:-10px;
|
|
}
|
|
.boat .water .drops-2 .drop.drop-c:after{
|
|
top:-12px;
|
|
right:-25px;
|
|
}
|
|
.boat .water .drops-2 .drop.drop-d{
|
|
height:8px;
|
|
}
|
|
.boat .water .drops-2 .drop.drop-d:before{
|
|
top:-15px;
|
|
left:35px;
|
|
}
|
|
.boat .water .drops-2 .drop.drop-d:after{
|
|
top:-8px;
|
|
right:-55px;
|
|
}
|
|
.boat .water .drops-2 .drop.drop-g:before{
|
|
right:0;
|
|
top:-10px;
|
|
left:auto;
|
|
}
|
|
.boat .water .drops-2 .drop.drop-h{
|
|
bottom:0;
|
|
width:10px;
|
|
left:auto;
|
|
height:5px;
|
|
right:45px;
|
|
border-radius:5px 5px 0 0;
|
|
}
|
|
.boat .water .drops-2 .drop.drop-h:before,
|
|
.boat .water .drops-2 .drop.drop-h:after{
|
|
display:none;
|
|
}
|
|
|
|
.drops-1{
|
|
-webkit-animation:blink .8s linear infinite;
|
|
animation:blink .8s linear infinite;
|
|
}
|
|
.drops-2{
|
|
-webkit-animation:blink 1.6s linear infinite;
|
|
animation:blink 1.6s linear infinite;
|
|
}
|
|
|
|
@-webkit-keyframes boat-start{
|
|
0%{
|
|
-webkit-transform:none;
|
|
transform:none;
|
|
}
|
|
50%{
|
|
-webkit-transform:translateY(4px);
|
|
transform:translateY(4px);
|
|
}
|
|
100%{
|
|
-webkit-transform:none;
|
|
transform:none;
|
|
}
|
|
}
|
|
@keyframes boat-start{
|
|
0%{
|
|
transform:none;
|
|
}
|
|
50%{
|
|
transform:translateY(4px);
|
|
}
|
|
100%{
|
|
transform:none;
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes blink{
|
|
25%{
|
|
visibility:hidden;
|
|
}
|
|
50%{
|
|
visibility:hidden;
|
|
}
|
|
100%{
|
|
visibility:visible;
|
|
}
|
|
}
|
|
@keyframes blink{
|
|
25%{
|
|
visibility:hidden;
|
|
}
|
|
50%{
|
|
visibility:hidden;
|
|
}
|
|
100%{
|
|
visibility:visible;
|
|
}
|
|
}
|
|
|
|
#sea {position: relative; width: 100%, height:100vh;}
|
|
|
|
/* The alert message box */
|
|
.alert {
|
|
left: 335px;
|
|
top: -20px;
|
|
position: absolute;
|
|
width: 236px;
|
|
padding: 20px 30px 80px 20px;
|
|
background-color: #01b8ff24;
|
|
color: white;
|
|
margin-bottom: 15px;
|
|
transform: scale(-4,4);
|
|
}
|
|
|
|
/* The close button */
|
|
.closebtn {
|
|
margin-left: 15px;
|
|
color: white;
|
|
font-weight: bold;
|
|
float: right;
|
|
font-size: 22px;
|
|
line-height: 20px;
|
|
cursor: pointer;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
/* When moving the mouse over the close button */
|
|
.closebtn:hover {
|
|
color: black;
|
|
}
|
|
|
|
#col1{
|
|
width: 150px;
|
|
position: absolute;
|
|
right: 308px;
|
|
top: 163px;
|
|
z-index: -101;
|
|
}
|
|
|
|
#col2 {
|
|
width: 150px;
|
|
position: absolute;
|
|
right: 223px;
|
|
top: 348px;
|
|
z-index: 101;
|
|
}
|
|
|
|
#black_hole{
|
|
left: 3403.5px;
|
|
top: 269.5px;
|
|
transform: scale(5,5) !important;
|
|
display: none;
|
|
z-index: -1;}
|
|
|
|
.black_hole {
|
|
border-color: #00fc33 !important;
|
|
background-color: black;
|
|
}
|
|
#bh1{animation-delay: 0.33s;}
|
|
#bh2{animation-delay: 0.66s;}
|
|
|
|
.pulse{ width: 30px;
|
|
height: 30px;
|
|
position: absolute;
|
|
left: 678px;
|
|
top: 717px;}
|
|
|
|
.pulsate {
|
|
position: absolute;
|
|
animation: pulsate 2s ease-out;
|
|
animation-iteration-count: infinite;
|
|
opacity: 0.0;
|
|
|
|
/* you dont need the stuff below, but its what I used to create the loading circle */
|
|
border: 1px solid red;
|
|
border-radius: 30px;
|
|
height: 18px;
|
|
width: 18px;
|
|
display: inline-block;
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
#pulse1{animation-delay: 0.0s;}
|
|
#pulse2{animation-delay: 0.66s;}
|
|
#pulse3{animation-delay: 1.33s;}
|
|
@-webkit-keyframes pulsate {
|
|
0% {-webkit-transform: scale(0.1, 0.1); opacity: 0.0;}
|
|
50% {opacity: 1.0;}
|
|
100% {-webkit-transform: scale(3, 3); opacity: 0.0;}
|
|
}
|
|
|
|
.btn{ display: none;
|
|
position: absolute;
|
|
left: 3140px;
|
|
top: 220px;
|
|
width: 500px;
|
|
padding: 100px;
|
|
text-align: center;
|
|
color: white;}
|
|
|
|
</style>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="sea"></div>
|
|
<div id="mBoat" class="boat">
|
|
<div class="alert">
|
|
<span class="closebtn" onclick="this.parentElement.style.display='none';">×</span>
|
|
Arrows to move
|
|
</div>
|
|
<div class="wrap">
|
|
<div class="main">
|
|
<div class="boat-top-layer">
|
|
<div class="top">
|
|
<div class="pole"></div>
|
|
<div class="help"><span></span></div>
|
|
</div>
|
|
<div class="bottom"></div>
|
|
</div>
|
|
<div class="boat-mid-layer">
|
|
<div class="top"></div>
|
|
<div class="bottom"></div>
|
|
</div>
|
|
<div class="boat-bot-layer">
|
|
<div class="top"></div>
|
|
<div class="bottom"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="water">
|
|
<div class="drops clearfix drops-1">
|
|
<span class="drop drop-a"></span>
|
|
<span class="drop drop-b"></span>
|
|
<span class="drop drop-c"></span>
|
|
<span class="drop drop-d"></span>
|
|
<span class="drop drop-e"></span>
|
|
<span class="drop drop-f"></span>
|
|
<span class="drop drop-g"></span>
|
|
<span class="drop drop-h"></span>
|
|
</div>
|
|
<div class="drops clearfix drops-2">
|
|
<span class="drop drop-a"></span>
|
|
<span class="drop drop-b"></span>
|
|
<span class="drop drop-c"></span>
|
|
<span class="drop drop-d"></span>
|
|
<span class="drop drop-e"></span>
|
|
<span class="drop drop-f"></span>
|
|
<span class="drop drop-g"></span>
|
|
<span class="drop drop-h"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="col">
|
|
<img id="col1" src="../img/column3.gif" class="draggable">
|
|
<img id="col2" src="../img/column3.gif" class="draggable">
|
|
</div>
|
|
<div id="black_hole" class="pulse">
|
|
<div id="pulse1" class="pulsate black_hole"></div>
|
|
<div id="bh1" class="pulsate black_hole"></div>
|
|
<div id="bh2" class="pulsate black_hole"></div>
|
|
</div>
|
|
<div class="btn">Some day the piecing together of dissociated knowledge will open up a <a href="shore.html" onclick="next()" target="_parent">new reality</a> </div>
|
|
<script type="text/javascript">
|
|
var pane = $('#sea'),
|
|
box = $('#mBoat'),
|
|
col = $('#col'),
|
|
w = pane.width() - box.width()+2980,
|
|
d = {},
|
|
x = 10;
|
|
|
|
function newv(v,a,b) {
|
|
var n = parseInt(v, 10) - (d[a] ? x : 0) + (d[b] ? x : 0);
|
|
return n < 0 ? 0 : n > w ? w : n;
|
|
}
|
|
|
|
$(window).keydown(function(e) { d[e.which] = true; });
|
|
$(window).keyup(function(e) { d[e.which] = false; });
|
|
|
|
setInterval(function() {
|
|
box.css({
|
|
left: function(i,v) { return newv(v, 37, 39); },
|
|
top: function(i,v) { return newv(v, 38, 40); }
|
|
});
|
|
}, 20);
|
|
|
|
setInterval(function() {
|
|
box.css({
|
|
left: function(i,v) { return newv(v, 65, 68); },
|
|
top: function(i,v) { return newv(v, 87, 83); }
|
|
});
|
|
}, 20);
|
|
|
|
|
|
function scrollWin() {
|
|
window.scrollBy(15, 0);
|
|
}
|
|
|
|
function flipl(){
|
|
$('.boat').css('transform', 'scale(0.3, 0.3)');
|
|
}
|
|
function flipr(){
|
|
$('.boat').css('transform', 'scale(-0.3, 0.3)');
|
|
}
|
|
|
|
$(document).keydown(
|
|
|
|
function(e){
|
|
if (e.keyCode == 37) {
|
|
e.preventDefault();
|
|
flipl();
|
|
}
|
|
if (e.keyCode == 39) {
|
|
// e.preventDefault();
|
|
// scrollWin();
|
|
flipr();
|
|
}
|
|
if (e.keyCode == 83) {
|
|
e.preventDefault();
|
|
}
|
|
if (e.keyCode == 40) {
|
|
e.preventDefault();
|
|
}
|
|
if (e.keyCode == 68) {
|
|
scrollWin();
|
|
}
|
|
});
|
|
|
|
// var l = box.css('left');
|
|
// if (l > 3000){
|
|
// $('#black_hole').css('display','inline');
|
|
// }
|
|
|
|
setInterval(function() {
|
|
$('.btn, #black_hole').css('display', 'inline');
|
|
}, 15000);
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html> |