[FX.php List] Quick tip for iPhone programmers

Gjermund Gusland Thorsen ggt667 at gmail.com
Wed Jul 25 08:54:10 MDT 2007


Are you aware of these drop downs?

http://www.htmldog.com/articles/suckerfish/dropdowns/

ggt667

On 7/25/07, Dale Bengston <dbengston at preservationstudio.com> wrote:
> Neat trick! Thanks, Bob.
>
> Regarding the iPhone, Madison, Wisconsin, finally got its Apple Store
> two Saturdays ago. (Yeah, I know, small town. And no, it's not housed
> in an igloo!)
>
> One of my clients went to the Apple Store and used the display iPhone
> to access the sales web site I developed for them. Everything worked,
> including all the ajax, except for one hinky borrowed-code drop-down/
> type-ahead I never liked and need to replace anyway.
>
> This site was up and running for a year or two before there even was
> an iPhone. I'm very pleased, but I have to say it's absolutely a
> testament to the full-featured browser on the iPhone rather than
> anything I did.
>
> Would that all new platforms were so easy to support with de facto code.
>
> Dale
>
> On Jul 25, 2007, at 1:15 AM, Bob Patin wrote:
>
> > If you're planning to do an iPhone web app with FX.php, I've found
> > a great tip that will help to make your app look more like an
> > application and less like a web page.
> >
> > On the iPhone, you can easily hide the top toolbar (the address bar
> > on a standard browser) by applying a tiny bit of Javascript:
> >
> > Write a bit of JS that adjusts the window's scroll setting, and
> > call it on the window load:
> >
> >
> > <body onload="hideBar();">
> >
> > <script type="application/x-javascript">
> >       function hideBar(){
> >       window.scrollTo(0, 1);
> >       }
> > </script>
> >
> >
> > ...
> > </body>
> >
> >
> > Hope this helps someone,
> >
> > Bob Patin
> > Longterm Solutions
> > bob at longtermsolutions.com
> > 615-333-6858
> > http://www.longtermsolutions.com
> >
> >   CONTACT US VIA INSTANT MESSAGING:
> >      AIM or iChat: longterm1954
> >      Yahoo: longterm_solutions
> >      MSN: tech at longtermsolutions.com
> >      ICQ: 159333060
> >
> >
> >
> >
> > _______________________________________________
> > FX.php_List mailing list
> > FX.php_List at mail.iviking.org
> > http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list