It can be done with Java using an applet or LiveConnect.  I use an
applet and it is actually the basis for most of the features in the
afroapi.  To see what is possible and what problems exist, check out the
docs at: http://mpember.evolt.org/mpember/afroapix/

Also, the following is a cleaner method of using the XML download tool:

        XMLObject.open("GET", url, false);
        XMLObject.send(data);
        alert(new String(XMLObject.responseText).replace(/\r/,'');

It allows for some of the broblems that may have arisen during the
download.  It also means that when using the applet for NS4, the
response will be the same in both cases.  This way you can use somthing
similar to my parseHTML method to extract the <body>.

Raymond Irving wrote:
> 
> No, the timer thing is not what I looking for but I've
> found a way to do sync downloads with i.e. using xml:
> 
> xml=new ActiveXObject("Microsoft.XMLDOM")
> xml.load("myfile.html")
> var node=xml.selectSingleNode("/html")
> alert(node.text)
> 
> Does anyone knows how to get the above or similar
> working in netscape (cross browser)?
> 
> --
> Raymond
> 
> --- "Pickup, Jordan" <[EMAIL PROTECTED]> wrote:
> > Why don't you just use a setTimeout() to call a
> > function that checks if the
> > page is loaded every certain number of milliseconds.
> > That way your page can
> > continue to execute other javascript while waiting
> > and you still get
> > notified when (approximately) the other frame has
> > finished loading.
> >
> > Would that not work?
> >
> 

-- 
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010



_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to