Hi Kalle,

Thanks for your help.  Your first suggestion was an important part of
the key to working around
this problem.  Another seemingly necessary part was to create the
document elements
with code like

var rdiv = document.createElement("div");
rdiv.innerHTML += "<h2>Login Incorrect</h2>";
window.iui.insertPages(rdiv.childNodes);

I had to use the iUI "insertPages()"; document.body.appendChild() did
not work.

What this accomplished is sliding _past_ the "HTTP 404" message to the
"Login Incorrect"
message, which is OK for now.  The unwanted window is still there, but
it shuffles by quickly.
You can then hit the reload button to try logging in again.

I can also replace the <h2> by <ul> and slide into a list of items, so
I think I am on my way.
Thanks again!

--Albert


On Jul 20, 4:02 am, Kalle Alm <[EMAIL PROTECTED]> wrote:
> Albert wrote:
> >         <a id="submitButton" class="whiteButton" type="submit"
> > onclick="parseForm('loginform')">Submit</a>
>
> Either 1) give it a href to "#top" or something, and/or 2) change the
> onclick to e.g. "parseForm('loginform'); return false;". Or 3) make it a
> span with a link-ific CSS class. I think that should do it.
>
> -Kalle.


--~--~---------~--~----~------------~-------~--~----~
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