Hello,
I'm looking for a sleep() function that I can use to
wait for a page to download from a frame.
LoadPanel loads the asynchronously but I'll need to
have the page loaded synchronously.
example:
function openURL(url){
// code to load page goes here
// this could be a LoadPanel with events, etc...
while (!pageloaded && !timeout) {
sleep() // or something like a doevents()
}
}
var html=openURL('test.html')
In others words I just need a function that would
yield time to the engine so other events and timers
can be triggered while I a loop.
Any suggestions will be appreciated.
-- Raymond
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger.
http://im.yahoo.com
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help