Hi Doug, I've tried to do: parent.visual.mylayer.setHTML(...), but nothing! I know that there's the api DynDocument to get an object that rappresents my frame: myframe = new DynDocument(parent.visual) the object myframe should contains an array children but it's empty! argghhhh :(
anyone know if i'm wrong in something? thanks antonio Il Wed, 20 Aug 2003 01:27:05 -0400 "Doug Melvin" <[EMAIL PROTECTED]> ha scritto: > The best I can tell you is that if I declare a variable as > this.myVariable i can then access it from other windows > or frames quite easily. I.E. > > Also you need to consider the object hirachy of the frames themselves. > Given: two frames both direct children of the main document (top) > or of the same frame(parent). > in frame1: > <html> > <head> > <script> > this.strValue = "I am frame one"; > this.alertName=function(){ > > } > </script> > </head> > <body> > </body> > </html> > ------- > and in frame2: > alert(parent.frame1.strValue); > parent.frame1.alertName(); > > Doug Melvin > [EMAIL PROTECTED] > (613) 355-3600 > ----- Original Message ----- > From: "Leif W" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, August 19, 2003 9:26 PM > Subject: Re: [Dynapi-Help] DynDocument ... > > > > ----- Original Message ----- > > From: <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, August 19, 2003 1:00 PM > > Subject: [Dynapi-Help] DynDocument ... > > > > > > > Hi all guys, > > > does anyone can tell me how can I setHtml in a layer from > > > another frame? > > > > > > <frameset rows="50,*" border=0> > > > <frame src="engine.php" name="engine" marginheight=0 > marginwidth=0 > > scrolling=no noresize></frame> > > > <frame src="visual.php" name="visual" marginheight=0 > marginwidth=0 > > scrolling=no noresize></frame> > > > </frameset> > > > > > > In a few words, I have mylayer in frame visual and I want to do: > > mylayer.setHtml(...) from the frame engine. > > > > I think you can access the "visual" frame from the "engine" frame by > > window.parent.visual, but I don't know how to access JavaScript variables > > from different frames, which is what you're trying. Anyone else out there > > know if this is possible, and if so, how? > > > > Leif > > > > > I know that I can use the DynDocument api, but it seems it doesn't > > works.... > > > > > > thanks for your help > > > antonio > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by Dice.com. > > > Did you know that Dice has over 25,000 tech jobs available today? From > > > careers in IT to Engineering to Tech Sales, Dice has tech jobs from the > > > best hiring companies. http://www.dice.com/index.epl?rel_code=104 > > > _______________________________________________ > > > Dynapi-Help mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by Dice.com. > > Did you know that Dice has over 25,000 tech jobs available today? From > > careers in IT to Engineering to Tech Sales, Dice has tech jobs from the > > best hiring companies. http://www.dice.com/index.epl?rel_code=104 > > _______________________________________________ > > Dynapi-Help mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by Dice.com. > Did you know that Dice has over 25,000 tech jobs available today? From > careers in IT to Engineering to Tech Sales, Dice has tech jobs from the > best hiring companies. http://www.dice.com/index.epl?rel_code=104 > _______________________________________________ > Dynapi-Help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dynapi-help > ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help