Subj : Re: About JS_SuspendRequest To : netscape.public.mozilla.jseng From : Jun Kim Date : Wed Dec 08 2004 01:50 am "Digital Man" wrote in news:41B579B6.4277.usenet_jseng@vert.synchro.net: > To: Jun Kim > Re: About JS_SuspendRequest > By: Jun Kim to netscape.public.mozilla.jseng on Tue Dec 07 2004 > 07:47 am > > > hi. ama-grammer(amatuer programmer, 'cuz I sure am not a PRO) again. > > :) > > > > I'm trying to implement alert() function. > > But the platform does not provide modal dialog. (in mobile platform) > > So I can't simply create a dialog and do "doModal()". > > since it's modaless, it returns right after creating and opening a > > dialog, so I can't seem to hold the script running. > > I need someway to halt the script, and continue later on from where > > it stopped. > > Your alert() function can just poll the message box until it's closed. Like I said, there's no Modal dialog(message box). Which means, it returns right after the message box window has been opened. So if i open up a message box, it returns right away and go on with the rest of the script. That's the problem that I have. .