You can integrate iWebkit into Web2py fairly easily. I did this a
while back. I am not certain, but some of the icons in iWebkit looked
a bit too good, almost, um, proprietary. I am not sure about the rest
of the code, but it works just fine when integrated into Web2py.

In the iWebkit demo folder move a copy of the thumbs, css and
javascript directories into the static directory. Then you can modify
layout.html point to the new locations and place the appropriate info
from demo/index.html into views/default/index.html.

FYI, The trunk now includes the following css for handhelds which
could be customized as well, right now it contains the following:

1_88_2/static/css/handheld.css

* {
  float: none;       /* Screens are not big enough to account for
floats */
  font-size: 80%;    /* Slightly reducing font size to reduce need to
scroll */
  background: #fff;  /*  As much contrast as possible */
  color: #000;
}



On Nov 20, 3:20 am, David Mitchell <monch1...@gmail.com> wrote:
> Hello all,
>
> Is there a suggested web2py layout for rendering on an iPhone or iPad?
>
> Obviously the screen size is a significant constraint on the iPhone; is
> there a layout that renders along the lines of the iWebkit 
> (http://iwebkit.net) framework, which is optimised for the iPhone?
>
> Thanks in advance
>
> Dave M.

Reply via email to