new navigation
This commit is contained in:
parent
12dcd72ab6
commit
3be4c302ef
50 changed files with 203 additions and 467 deletions
49
index.html
49
index.html
|
|
@ -5,49 +5,14 @@ image:
|
|||
video_path:
|
||||
layout: default
|
||||
---
|
||||
<div id="hero">
|
||||
<div id="hero" style="background-color: rgb(0, 255, 255);margin:0;padding:0;">
|
||||
<h1>GREETINGS<br />ROBOT!</h1>
|
||||
<div>
|
||||
<p><b>Sakrecoer Uncorporated</b> Stands for independent fun-loving Activism, Art<br />&
|
||||
<b>Music.</b><br /><br />I push sounds, images, thoughts and passion for <b>cool robots like you.</b><br /><br />I
|
||||
am funky and I deliver because<br /><b>I was born tomorrow.</b></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p><b>Sakrecoer Uncorporated</b> Stands for independent fun-loving Activism, Art<br />&
|
||||
<b>Music.</b><br /><br />I push sounds, images, thoughts and passion for <b>cool robots like you.</b><br /><br />I
|
||||
am funky and I deliver because<br /><b>I was born tomorrow.</b></p>
|
||||
</div>
|
||||
|
||||
{% for post in site.categories.blog offset: 0 limit: 1 %}
|
||||
<div>
|
||||
{{ post.content }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div>asdasd</div>
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var vid = document.getElementsByTagName("video")[0]; vid.playbackRate = 0.1;
|
||||
var pauseButton = document.getElementById("video_pause");
|
||||
|
||||
function vidFade() {
|
||||
vid.classList.add("stopfade");
|
||||
}
|
||||
|
||||
vid.addEventListener('ended', function () {
|
||||
// only functional if "loop" is removed
|
||||
vid.pause();
|
||||
// to capture IE10
|
||||
vidFade();
|
||||
});
|
||||
|
||||
pauseButton.addEventListener("click", function () {
|
||||
vid.classList.toggle("stopfade");
|
||||
if (vid.paused) {
|
||||
vid.play();
|
||||
pauseButton.innerHTML = "Pause Video";
|
||||
}
|
||||
else {
|
||||
vid.pause();
|
||||
pauseButton.innerHTML = "Resume Video";
|
||||
}
|
||||
});
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue