InfoQ:你提到目前需要像Sencha Touch这样的框架以便实现固定位置的UI元素,为什么呢?
InfoQ: you mention that currently you need a framework like Sencha Touch in order to have fixed position UI elements. Why is that?
和创建多数Web应用程序一样,我需要在屏幕的固定位置创建一个界面部件。
As in many Web applications, I wished to create an interface widget in a fixed position on the screen.
Michael:Mobile WebKit并不支持固定位置的UI元素;支持该特性的CSS已经被浏览器关闭了。
Michael: Mobile WebKit doesn't support fixed-position UI elements; the CSS to support this has been turned off in the browser.
One of the reasons why you would want to segregate things into certain regions is that molecules have to move in order to accomplish these things; molecules have to move from one place to another.
将细胞功能定位于某个固定区域的,另一个原因是,生物大分子需要移动,以完成某些功能,分子从一个地方移动到另一个地方
To get any location in memory, to get to any value of the list, I simply have to say which element do I want to get, I know that these things are stored in a particular size multiply that index by 4, add it to start, and then it's in a constant amount of time I can go to that location and get out the cell.
取得列表中的任何一个值,简单说来,想要取得列表中的任何元素,我知道这些元素存在特定的大小中,把下标乘以4,加到start上,然后定位到内存单元,并取出值就是固定的时间了,好的,如果元素以固定大小存储。
应用推荐