Browse Source

* h1

pull/10/head
RubaXa 11 years ago
parent
commit
2940c5da9a
  1. 5
      index.html

5
index.html

@ -185,7 +185,7 @@
<div class="container">
<div style="padding: 80px 150px 0; height: 160px;">
<a class="logo" href="https://github.com/RubaXa/Sortable"><img src="st/logo.png"/></a>
<h1 class="layer" data-force="40" data-force-y="2.5">The JavaScript library for modern browsers and touch devices. No&nbsp;jQuery.</h1>
<h1 data-force="40" data-force-y="2.5">The JavaScript library for modern browsers and touch devices. No&nbsp;jQuery.</h1>
</div>
</div>
@ -378,6 +378,7 @@ sort.destroy();
y = evt.clientY;
}, false);
document.addEventListener('mousemove', function (evt){
x = evt.clientX;
y = evt.clientY;
@ -385,6 +386,7 @@ sort.destroy();
(function _loop(){
if( x && y ){
var winWidth = window.innerWidth;
var winHeight = window.innerHeight;
var halfWidth = winWidth / 2;
@ -401,6 +403,7 @@ sort.destroy();
});
requestAnimationFrame(_loop);
}
})();
})();
</script>

Loading…
Cancel
Save