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="b">Click 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