Re: update two frames at once?
| From: | Stephan Ahonen | Date: | Tue, 13 Mar 2001 01:14:04 +0000 |
| Subject: | Re: update two frames at once? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43589@lists.php.net to get a copy of this message | ||
In the index page (change cols amounts to suit your layout):
<html>
<frameset cols="50%,50%">
<frame src="menu.html" name="menu">
<frame src="section.html name="section">
</frameset>
</html>
Put the menu in menu.html (duh), but here come the fun part. In
section.html:
<html>
<frameset rows="50%,50%">
<frame src="sectiontitle.html" name="sectiontitle">
<frame src="sectioncontent.html" name="sectioncontent">
</frameset>
</html>
Then in the menu frame, to update the section frames: <a
href="sectionframeset.html" target="section">, and put a frameset pointing
to separate title and content pages in the sectionframeset.html
Clear as mud? Take a look at http://www.geocities.com/tfc_squad/, my attempt
at a web page for an ill-fated TFC clan.
Sig for a Day
Stephan Ahonen, ICQ 491101
"That's very funny Scotty, now beam down my clothes!"
Come back tomorrow for a different sig!
Backspace a single "s" to reply by email