JavaScriptのみを使用して(JQUERYなし)、ページの下部からdivを浮かせようとしています。
ここにフィドルがあります:http://jsfiddle.net/H7GSF/
一度上に移動しますが、「アニメーション」を作成するために反復しません。
HTML
<div id="block"></div>
CSS
#block { position: fixed; background: red; width: 100px; height: 20px; bottom: 0; }
JS
b = 0;
el = document.getElementById('block');
setInterval(function(){
b+=10;
el.setAttribute('style','bottom:'+(b)+'px;');
},20);