[PHP] Refresh Main frame

2001-08-28 Thread Rosen

Hi,
how can I tell to refresh the main frame ( index.php ) from some subframe
 I use frames ) ?

Thanks,
Rosen




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Refresh Main frame

2001-08-28 Thread * RzE:

Original message
From: Rosen [EMAIL PROTECTED]
Date: Tue, Aug 28, 2001 at 04:29:05PM +0300
Message-ID: [EMAIL PROTECTED]
Subject: [PHP] Refresh Main frame

 Hi,
 how can I tell to refresh the main frame ( index.php ) from some subframe
  I use frames ) ?
 
 Thanks,
 Rosen

/Original message

Reply

SCRIPT type=text/javascript
  window.parent.name-of-mainframe.reload(true);
/SCRIPT

That should be what you're looking for...

/Reply

-- 

* RzE:


-- 
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
--
-- Stationsplein 82
-- 2011 LM  HAARLEM
-- Netherlands
--
-- http://www.datalink.nl
-- 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Refresh Main frame

2001-08-28 Thread Rosen

Can I send params to main frame ?

Thanks,
Rosen

* RZe: [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Original message
 From: Rosen [EMAIL PROTECTED]
 Date: Tue, Aug 28, 2001 at 04:29:05PM +0300
 Message-ID: [EMAIL PROTECTED]
 Subject: [PHP] Refresh Main frame

  Hi,
  how can I tell to refresh the main frame ( index.php ) from some
subframe
   I use frames ) ?
 
  Thanks,
  Rosen

 /Original message

 Reply

 SCRIPT type=text/javascript
   window.parent.name-of-mainframe.reload(true);
 /SCRIPT

 That should be what you're looking for...

 /Reply

 --

 * RzE:


 -- 
 -- Renze Munnik
 -- DataLink BV
 --
 -- E: [EMAIL PROTECTED]
 -- W: +31 23 5326162
 -- F: +31 23 5322144
 -- M: +31 6 21811143
 --
 -- Stationsplein 82
 -- 2011 LM  HAARLEM
 -- Netherlands
 --
 -- http://www.datalink.nl
 -- 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Refresh Main frame

2001-08-28 Thread Jon Farmer

Yes but you would have to dynamically build the javascript statement up
using php with the query string you wanted and use

window.parent.name-of-frame.location.href=index.php??echo
$querystring?



--
Jon Farmer  Õ¿Õ¬
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]

-Original Message-
From: Rosen [mailto:[EMAIL PROTECTED]]
Sent: 28 August 2001 15:04
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Refresh Main frame


Can I send params to main frame ?

Thanks,
Rosen

* RZe: [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Original message
 From: Rosen [EMAIL PROTECTED]
 Date: Tue, Aug 28, 2001 at 04:29:05PM +0300
 Message-ID: [EMAIL PROTECTED]
 Subject: [PHP] Refresh Main frame

  Hi,
  how can I tell to refresh the main frame ( index.php ) from some
subframe
   I use frames ) ?
 
  Thanks,
  Rosen

 /Original message

 Reply

 SCRIPT type=text/javascript
   window.parent.name-of-mainframe.reload(true);
 /SCRIPT

 That should be what you're looking for...

 /Reply

 --

 * RzE:


 -- 
 -- Renze Munnik
 -- DataLink BV
 --
 -- E: [EMAIL PROTECTED]
 -- W: +31 23 5326162
 -- F: +31 23 5322144
 -- M: +31 6 21811143
 --
 -- Stationsplein 82
 -- 2011 LM  HAARLEM
 -- Netherlands
 --
 -- http://www.datalink.nl
 -- 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Refresh Main frame

2001-08-28 Thread * RzE:

Original message
From: Rosen [EMAIL PROTECTED]
Date: Tue, Aug 28, 2001 at 05:03:50PM +0300
Message-ID: [EMAIL PROTECTED]
Subject: Re: [PHP] Refresh Main frame

 Can I send params to main frame ?
 
 Thanks,
 Rosen

/Original message

Reply

Well... yes, you can. You'll have to use a different kind of
construction though:

SCRIPT type=text/javascript
  window.parent.name-of-mainframe.location.href = 
URL-of-mainpage?params-as-you-know;
/SCRIPT

Depending on the construction as you use it in your PHP, you can do
it in a better way. If you want to refresh the mainframe after eg
submitting a form in a subframe you can just use the reload-thing as
I sent earlier and then use sessions. Then you don't need to send
params over the URL.
But like I say... that totaly depends on the construction as you use
it.

/Reply

-- 

* RzE:


-- 
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
--
-- Stationsplein 82
-- 2011 LM  HAARLEM
-- Netherlands
--
-- http://www.datalink.nl
-- 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]