scroll - 如何滚动我的 Palm webOS 应用程序?

标签 scroll webos palm

这感觉像是一个愚蠢的新手问题。我正在尝试遵循 Palm's online tutorial用于开发 webOS 应用程序。我运行 palm-generate 并尝试更新生成的 index.html 文件,使其具有包含大量内容的正文(“HELLO”一词重复了 400 次)。

当我尝试在模拟器中加载该文档时,我发现无法滚动屏幕来阅读其余文本。我拖动屏幕,但没有任何反应。该页面在 Palm Web 浏览器中滚动得很好。

是否有设置允许用户拖动我的应用程序来滚动它?我看到了 Mojo.Widget.Scroller 的文档,但这对于带有一堆文本的简单网页来说似乎没有必要。

最佳答案

感谢arthurthornton :

You can take anything that would normally be inside the tags and put that inside the scene HTML file.

OR you could just make a basic scene with a webview widget inside it that has your site as the source.

关于scroll - 如何滚动我的 Palm webOS 应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3874551/

相关文章:

html - 提高 Google Chrome 中滚动捕捉的灵敏度

javascript - 如何将 Canvas 像素数组传递给 C++ 代码并将其保存为 jpeg?

webos - Mojo SDK - 设置计时器

c++ - 为 Palm OS 开发类似控制台的应用程序

javascript - JQgrid虚拟滚动不加载新行

scroll - jquery simplemodal插件: popup that scroll with the page

javascript - 如何在 Webos Palm js 中替换图像像素

webos - 在 webOS 中双击

sdk - 开始 Palm WebOS 开发的好教程吗?

html - 是否可以并排设置两个 div,而一个 div 在屏幕之外而不使用 display none 或 width zero?