Sure. Where in the docs / examples tree should this go? It's more basic
javascript than DynAPI specific. Not sure where to put it.
Leif
----- Original Message -----
From: "Raymond Irving" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 22, 2003 11:59 AM
Subject: Re: [Dynapi-Help] DynDocument ...
> Hi Leif,
>
> Could you add this to the CVS docs and examples
> section?
>
> --
> Raymond Irving
>
> --- Leif W <[EMAIL PROTECTED]> wrote:
> > I've created a simple example page showing how to do
> > this, based on Doug's
> > enlightening suggestion to put the dynlayers in the
> > "window" namespace by
> > using this.dynlayer_name = new DynLayer instead of
> > var dynlayer_name = new
> > DynLayer.
> >
> > * Declare a dynlayer "this.lyr" in frame2.
> > * Now you access a dynlayer in frame2 from frame1
> > using
> > this.parent.frame2.lyr
> >
> > Leif
> >
> > ----- Original Message -----
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, August 21, 2003 4:55 AM
> > Subject: Re: [Dynapi-Help] DynDocument ...
> >
> >
> > > 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
> >
> === message truncated ===
>
> > ATTACHMENT part 2 application/x-zip-compressed
> name=cross_frame_access.zip
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
> at the same time. Free trial click
here:http://www.vmware.com/wl/offer/358/0
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dynapi-help
>
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help