[Javascript] how to change the source properties of a frame i n a window from an other one

Laurent Muchacho LaurentM at london.virgin.net
Thu Sep 16 10:09:01 CDT 2004


Hi Alexis,

As Long as the page you are opening are on the same domain it will be fine.
But this syntaxes will be more appropriate window.opener.location.href
Follow the link below for the examples of what you want to do 
http://www.be-lovely.co.uk/examples/frames/

Laurent

ps: the examples stuff was made on the previous examples


-----Original Message-----
From: Alexis Doublier [mailto:alexis at 2000ecoles.net]
Sent: 16 September 2004 15:57
To: [JavaScript List]
Subject: Re: [Javascript] how to change the source propertie of a frame
in a window from an other one


My name is GWB
I can do what i want with window.open
window.open(URL,the target frame, ....)

i beg your pardon

Alexis

Le jeu 16/09/2004 à 16:47, Alexis Doublier a écrit :
> Hi,
> 
> I have an application using a master window with two frame: top and
> main.
> I open a popup from main frame of my master window. Now i want to "open"
> an new page in main frame from the popup when i click on a button. 
> 
> Can i change the source propertie of the main frame from my popup? if
> yes how?
> I think i must use something like that:
> window.main.source="mycode.html"
> 
> Do you have an idear ?
> 
> Thanks
> 
> Alexis
> 
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript


This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.  If you have received this E-mail in error please notify the system manager.  This message contains confidential information and is intended only for the individual named.  If you are not the named addressee you should not disseminate, distribute or copy this E-mail.



More information about the Javascript mailing list