Re: update two frames at once?
| From: | Paul | Date: | Tue, 13 Mar 2001 15:47:53 +0000 |
| Subject: | Re: update two frames at once? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43670@lists.php.net to get a copy of this message | ||
This may work, but it defeats the purpose of frames, which is to reduce
reloading time.
You would need to point to the frameset page, and have variables passed into
each frame:
<html>
<head>
<title>(your title)</title>
</head>
<frameset rows="45%,55%" frameborder="NO" border="0"
framespacing="0"
cols="*" >
<?echo '
<frame name="topFrame" scrolling="NO" name="top"
src="master_title.php?put_your parameters_here='.$blablabla.' ">
<!-- repeat as many times as you have frames -->
?>
</frameset>
</body>
</html>
> > Hello al!
> > >
> > > Is it possible to have two frames updated when cliking on one link? I
> > have
> > > a
> > > page that is broken into 4 parts:
> > > master title
> > > section title
> > > d section screen
> > > i
> > > r
> > > .
> > >
> > > what I want is that when a link is clicked on in the directory (the
left
> > > column), I'd like to update the section title *and* the section
screen...
> > >
> > > It seemed a cool layout at the time, but I'm thinking this isn't
easily
> > > possible and I might just have to incorporate a section title on the
> > section
> > > screen... But before I rewrite it, I thought I'd ask here.