Re: How to call a website in a frame?

Billy <florian-lindner-S0/[email protected]> Wed, 25 Apr 2007 22:36:01 +0000 (UTC)
Newsgroups gmane.comp.mozilla.jrex
Message-ID <[email protected]>
cr <c.rued@...> writes:

> 
> I've never tried to load a page inside of a frame, but two approaches 
> come to mind:
> 
>     1) Provide links and programatically trigger clicks on these links
>        (I don't think that these need to be visible, just reachable in
>         the DOM).
> 
>     2) You may be able to use the JSObject to cause the frame to load a
>        document (the call() method looks like a good candidate).  I've
>        never used JSObject for anything before, so I can't say for sure.
> 
> I think either of these should be workable solutions.  Let me know if 
> you get this to work.
> 
> --Chris
> 
> Billy wrote:
> > Great, that works fine. I can extract frame snow. Do you know how to call a
> > website inside of that frame?
> > 
> > Best regards
> > Billy
> 

Well I am not sure how to realise that. If I just find a link in the DOM of the
frame - how to trigger it inside of it? I just know the possibility of the
loadURI-call of the webnavigator that does the call at the main browser.
Forthermore I dont know much about JSObject either...
BR
Billy