Skip to content

Commit

Permalink
first stage changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AshishJumbo committed Apr 30, 2019
1 parent b15e913 commit ba839e6
Show file tree
Hide file tree
Showing 762 changed files with 48,759 additions and 0 deletions.
155 changes: 155 additions & 0 deletions Package-Web/anchor.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
<!DOCTYPE html>
<html>
<head>
<link href="./img/favicon.png" rel="shortcut icon"/>
<meta charset="utf-8"/>
<meta content="width=1024, maximum-scale=1.0" name="viewport"/>
<link href="./css/anchor.css" rel="stylesheet" type="text/css"/>
<link href="./css/css-ag.css" rel="stylesheet" type="text/css"/>
<link href="./css/animate.css" rel="stylesheet" type="text/css"/>

<meta content="Launchpad by Anima" name="author">
</meta>
</head>
<body style="margin: 0;
background: rgba(255, 255, 255, 1.0);">
<input id="anPageName" name="page" type="hidden" value="anchor"/>
<div class="anchor">
<div style="width: 1024px; height: 100%; position:relative; margin:auto;">
<div class="group">
<div class="rectangle">
</div>
<img anima-src="./img/confirm-anchor-bitmap.png" class="bitmap" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
<div class="rectangle1">
</div>
<div class="anchorthescenewit">
Anchor the scene within arms’ reach
</div>
<div class="rectangle2">
<div class="rectangle4">
</div>
<img anima-src="./img/anchor-rectangle.png" class="rectangle11" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
<img anima-src="./img/anchor-rectangle-1.png" class="rectangle21" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
<img anima-src="./img/anchor-rectangle-2.png" class="rectangle31" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
<div class="playable">
Playable
</div>
<div class="bad">
Bad
</div>
<div class="ideal">
Ideal
</div>
</div>
<img anima-src="./img/anchor-rectangle-3.png" class="rectangle3" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
<a href="confirmanchor.html">
<div class="scaleeffecta">
<img anima-src="./img/[email protected]" class="triangle" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
<img anima-src="./img/[email protected]" class="triangle1" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
<img anima-src="./img/[email protected]" class="triangle2" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
<img anima-src="./img/[email protected]" class="triangle3" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
<img anima-src="./img/[email protected]" class="triangle4" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
<img anima-src="./img/[email protected]" class="triangle5" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
<img anima-src="./img/[email protected]" class="triangle6" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
<img anima-src="./img/[email protected]" class="triangle7" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
</div>
</a>
<a href="landing.html">
<div class="systemsecondback" style="overflow: visible!important;">
<div class="background">
</div>
<div class="oval button-ag-dark">
<img anima-src="./img/[email protected]" class="oval1" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
<img anima-src="./img/[email protected]" class="rectangle4" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>
</div>
</div>
</a>
</div>
<a href="confirmanchor.html">
<div class="hotspot container-3d-ag">
<div class="effect-3d-ag">
<div class="bottomface-ag"></div>
</div>
</div>
</a>
</div>
</div>
<!-- Scripts -->
<script>
anima_isHidden = function(e) {
if (!(e instanceof HTMLElement)) return !1;
if (getComputedStyle(e).display == "none") return !0; else if (e.parentNode && anima_isHidden(e.parentNode)) return !0;
return !1;
};
anima_loadAsyncSrcForTag = function(tag) {
var elements = document.getElementsByTagName(tag);
var toLoad = [];
for (var i = 0; i < elements.length; i++) {
var e = elements[i];
var src = e.getAttribute("src");
var loaded = (src != undefined && src.length > 0 && src != 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
if (loaded) continue;
var asyncSrc = e.getAttribute("anima-src");
if (asyncSrc == undefined || asyncSrc.length == 0) continue;
if (anima_isHidden(e)) continue;
toLoad.push(e);
}
toLoad.sort(function(a, b) {
return anima_getTop(a) - anima_getTop(b);
});
for (var i = 0; i < toLoad.length; i++) {
var e = toLoad[i];
var asyncSrc = e.getAttribute("anima-src");
e.setAttribute("src", asyncSrc);
}
};
anima_pauseHiddenVideos = function(tag) {
var elements = document.getElementsByTagName("video");
for (var i = 0; i < elements.length; i++) {
var e = elements[i];
var isPlaying = !!(e.currentTime > 0 && !e.paused && !e.ended && e.readyState > 2);
var isHidden = anima_isHidden(e);
if (!isPlaying && !isHidden && e.getAttribute("autoplay") == "autoplay") {
e.play();
} else if (isPlaying && isHidden) {
e.pause();
}
}
};
anima_loadAsyncSrc = function(tag) {
anima_loadAsyncSrcForTag("img");
anima_loadAsyncSrcForTag("iframe");
anima_loadAsyncSrcForTag("video");
anima_pauseHiddenVideos();
};
var anima_getTop = function(e) {
var top = 0;
do {
top += e.offsetTop || 0;
e = e.offsetParent;
} while (e);
return top;
};
anima_loadAsyncSrc();
anima_old_onResize = window.onresize;
anima_new_onResize = undefined;
anima_updateOnResize = function() {
if (anima_new_onResize == undefined || window.onresize != anima_new_onResize) {
anima_new_onResize = function(x) {
if (anima_old_onResize != undefined) anima_old_onResize(x);
anima_loadAsyncSrc();
};
window.onresize = anima_new_onResize;
setTimeout(function() {
anima_updateOnResize();
}, 3000);
}
};
anima_updateOnResize();
setTimeout(function() {
anima_loadAsyncSrc();
}, 200);
</script>
<!-- End of Scripts -->
</body>
</html>
Loading

0 comments on commit ba839e6

Please sign in to comment.