2013-06-02 23:12:25 +00:00
|
|
|
$(function(){
|
|
|
|
$.stellar();
|
2014-08-29 00:10:22 +00:00
|
|
|
|
|
|
|
window.onscroll = function() {
|
|
|
|
document.getElementById("scrollDown").style.opacity = Math.max(0, 200 - window.scrollY) / 200;
|
|
|
|
};
|
2013-06-02 23:12:25 +00:00
|
|
|
});
|
|
|
|
|
2014-10-07 02:03:18 +00:00
|
|
|
function toggleMovie() {
|
|
|
|
if ($("header").hasClass("play")) {
|
|
|
|
$("header").removeClass("play");
|
|
|
|
$("header video")[0].pause();
|
|
|
|
} else {
|
|
|
|
$("header").addClass("play");
|
|
|
|
$("header video")[0].play();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|