简体   繁体   English

除了iscroll4之外的android 2.3滚动条

[英]Scrollbar for android 2.3 apart from iscroll4

I tried iscroll4 plug-in for my android 2.3/cordova app development. 我为Android 2.3 / cordova应用程序开发尝试了iscroll4插件。 But since i am not able to get the scroller location(position) dynamically in javascript by using: 但是由于我无法使用以下方式在javascript中动态获取滚动条的位置(位置):

document.getElementById("home").scrollTop = scroll_val;

, its of no use to me. ,对我来说毫无用处。 If anybody can suggest any other plugin for scrolling in android 2.3 in which i can get/set scrollbar position through javascript/jquery. 如果有人可以建议在Android 2.3中滚动的任何其他插件,我可以通过javascript / jquery获取/设置滚动条位置。 Basically, i my app, i have a static header and footer and the content(div) in between is to be scrolled when available space exceeds. 基本上,在我的应用程序中,我有一个静态的页眉和页脚,并且当可用空间超出时,将滚动两者之间的content(div)。

Thanks in advance. 提前致谢。

I used Overthrow ( https://github.com/filamentgroup/Overthrow/ ) for a project in Phonegap and android 2.3. 我在Phonegap和android 2.3中的项目中使用了Overthrow( https://github.com/filamentgroup/Overthrow/ )。 The performance is not the best, but works... Hope this help someone. 性能不是最好的,但是可以工作。希望这对某人有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM