Karim,

Thanks for the information.  I have done some poking around and have
discovered that the problem occurs somewhere in the iui.js file, but
since I don't know javascript and don't have a javascript debugger I
can't do much about it.  The php does not use post anymore and I have
even tried to separate the html and the php function into different
files but it still is a problem.

If I remove the iui.js file then I don't get the multiple repaints of
the toolbar.  Of course removing the iui.js I also lose the sliding
function and the removal of the url bar.  In some cases that is good
if my directory is very large, it takes a bit of time to display and
side the page in.

I have added code to the php to only draw the toolbar once so now it
works.

I am wondering how I can remove the url bar manually because I don't
want to use the iui.js file.   All that extra eye candy is make it
very slow to display a directory with lots of entries.

On Dec 17, 10:35 am, Karim-Pierre Maalej <[EMAIL PROTECTED]> wrote:
> Hi Thang,
>
>         I think the problem is there:
>
> >     <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"
> > name="path"></form>
>
>         When the form is submitted, the iPhone will retrieve the content and
> display it inside the page. Since the response from the server includes
> the whole html instead of just what has changed, you get a duplicate
> header.
>
>         Try to separate in two files the main page and the action page.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to