Posted By

rogerluiz on 11/30/11


Tagged

scroll js touch


Versions (?)

Miniscroll


 / Published in: JavaScript
 

URL: http://miniscroll.rogerluizm.com.br/

miniscroll javascript framework

  1. <pre class="brush: javascript; gutter: true">&lt;script type="text/javascript" src="js/miniscroll.js"&gt;&lt;/script&gt;
  2. &lt;script type="text/javascript"&gt;
  3. window.onload = function(e){
  4. miniscroll.init('scroller', {color:"#2992ce", scroll:"y"});
  5. };
  6. &lt;/script&gt;
  7.  
  8. &lt;div id="content"&gt;
  9. // this div css id not contains position relative or absolute
  10. &lt;div id="scroller"&gt;&lt;/div&gt;
  11. &lt;/div&gt;</pre>

Report this snippet  

You need to login to post a comment.