Problems with div vertical scrollbars on iPad

来源:互联网 发布:spss数据分析报告范文 编辑:程序博客网 时间:2024/06/11 14:09

http://stackoverflow.com/questions/3890400/problems-with-div-vertical-scrollbars-on-ipad

<div class="searchResult">    //Here I show the search result</div>div.searchResult{    height: 540px;    overflow: -moz-scrollbars-vertical;    overflow-y: scroll;}
http://uxebu.com/blog/2010/04/27/touchscroll-a-scrolling-layer-for-webkit-mobile/

1
<div class="scroller"/div>

1
2
var scrollNode = document.querySelector(".scroller"), options = {};
var scroller = new TouchScroll(scrollNode, options);
http://cubiq.org/scrolling-div-on-iphone-ipod-touch

<div id="wrapper">    <div id="scroller">        content        ...    </div></div>
#wrapper {position:relative;z-index:1;height:200px;        /* Desired element height */}
http://www.seabreezecomputers.com/tips/scroll-div.htm

  • touchscroll javascript
  • height: auto;
  • Scroll Buttonshttp://baijs.nl/tinyscrollbar/

    Tiny Scrollbar can be used for scrolling content. It was built using the javascript jQuery library. Tiny scrollbar was designed to be a dynamic lightweight utility that gives webdesigners a powerfull way of enhancing a websites user interface.




  • 原创粉丝点击