[PHP] spawning scripts to different graphical targets

2002-07-18 Thread Alberto Serra

ðÒÉ×ÅÔ!

Is there a way I can decide where to target my output from server side?

suppose my page has two iframes

+---++---+
! A !! b !
+---++---+

while executing a script that is called by A can I spawn another script 
that will output to b? And no, I cant' use any Jscript, but I do know 
from server side what my target names are (A and b, that is).

Bear in mind that A and b might be even different windows, but I'd more 
than happy even if it worked with iframes on a single window.

ÐÏËÁ
áÌØÂÅÒÔÏ
ëÉÅ×

-_=}{=_-@-_=}{=_--_=}{=_-@-_=}{=_--_=}{=_-@-_=}{=_--_=}{=_-

LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
lOrD i'M sHiNiNg...
YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] spawning scripts to different graphical targets

2002-07-18 Thread Martin Clifford

I would assume you just do it as if you didn't have any scripts in it in the first 
place.

The link in frame A might be like below:

a href=content.php?show=TOC target=bClick here to see the content/a

Then, in frame b, content.php will show up and you can then use $show to decide what 
to do.  I might be totally off on this one, but I only went on what it sounded like 
you wanted.

The same applies to JavaScript.

// This can be used to get the height and width of the browser window for any 
server-side needs.

script language=javascript
!-- hide me

function getScreen() {
   var height = screen.height;
   var width = screen.width;

   document.location = index.php?height= + height + width= + width;
}

body onload=getScreen();

:babbles on and on and on...:

Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/


 Alberto Serra [EMAIL PROTECTED] 07/18/02 03:12PM 
??!

Is there a way I can decide where to target my output from server side?

suppose my page has two iframes

+---++---+
! A !! b !
+---++---+

while executing a script that is called by A can I spawn another script 
that will output to b? And no, I cant' use any Jscript, but I do know 
from server side what my target names are (A and b, that is).

Bear in mind that A and b might be even different windows, but I'd more 
than happy even if it worked with iframes on a single window.





@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@

LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
lOrD i'M sHiNiNg...
YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] spawning scripts to different graphical targets

2002-07-18 Thread Alberto Serra

ðÒÉ×ÅÔ!

Martin Clifford wrote:
 a href=content.php?show=TOC target=bClick here to see the content/a

Looks like I was not clear in my question :) This way you just redirect 
*all* the outoput to another target. I need to output at more targets at 
the same time with one link. That is, since links cannot accept multiple 
targets, having my script spawn out a second script that will output to 
the second (third, and so on) target.

 The same applies to JavaScript.

Can't use Jscript at all in this context. The onload event on frame A 
would do fine, but what if jscript is not there? Besides, having this 
based an an Onload chain makes it quite slow and the user has the 
impression that only A is changing until the A load process is not over. 
Since b is almost always some sort of menu, this makes pages look weird 
for some seconds on slow connections (that is, one page has the wrong 
menu) I need something that will clear and reload both iframes at the 
same time with one single click (and no Jscript).

ÐÏËÁ
áÌØÂÅÒÔÏ
ëÉÅ×

 
Alberto Serra [EMAIL PROTECTED] 07/18/02 03:12PM 

 ??!
 
 Is there a way I can decide where to target my output from server side?
 
 suppose my page has two iframes
 
 +---++---+
 ! A !! b !
 +---++---+
 
 while executing a script that is called by A can I spawn another script 
 that will output to b? And no, I cant' use any Jscript, but I do know 
 from server side what my target names are (A and b, that is).
 
 Bear in mind that A and b might be even different windows, but I'd more 
 than happy even if it worked with iframes on a single window.

@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@

LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
lOrD i'M sHiNiNg...
YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] spawning scripts to different graphical targets

2002-07-18 Thread Dennis Moore

I think you are SOL unless you use Javascript manage the display amongst the
frames/windows.

/dkm
- Original Message -
From: Alberto Serra [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, July 18, 2002 3:31 PM
Subject: Re: [PHP] spawning scripts to different graphical targets


 ?OE?AO!

 Martin Clifford wrote:
  a href=content.php?show=TOC target=bClick here to see the
content/a

 Looks like I was not clear in my question :) This way you just redirect
 *all* the outoput to another target. I need to output at more targets at
 the same time with one link. That is, since links cannot accept multiple
 targets, having my script spawn out a second script that will output to
 the second (third, and so on) target.

  The same applies to JavaScript.

 Can't use Jscript at all in this context. The onload event on frame A
 would do fine, but what if jscript is not there? Besides, having this
 based an an Onload chain makes it quite slow and the user has the
 impression that only A is changing until the A load process is not over.
 Since b is almost always some sort of menu, this makes pages look weird
 for some seconds on slow connections (that is, one page has the wrong
 menu) I need something that will clear and reload both iframes at the
 same time with one single click (and no Jscript).

 ?IEA
 aIOAAOOI
 eEA?

 
 Alberto Serra [EMAIL PROTECTED] 07/18/02 03:12PM 
 
  ??!
 
  Is there a way I can decide where to target my output from server side?
 
  suppose my page has two iframes
 
  +---++---+
  ! A !! b !
  +---++---+
 
  while executing a script that is called by A can I spawn another script
  that will output to b? And no, I cant' use any Jscript, but I do know
  from server side what my target names are (A and b, that is).
 
  Bear in mind that A and b might be even different windows, but I'd more
  than happy even if it worked with iframes on a single window.

 @-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@

 LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
 lOrD i'M sHiNiNg...
 YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE
 tHe TeSt, YeS iT iS
 ThE tEsT, yEs It Is
 tHe TeSt, YeS iT iS
 ThE tEsT, yEs It Is...


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php