J
Jofio
In my frame based page, I have a hyperlink in the top frame called
"header" which, when I click, should make two different pages to be
loaded and displayed into two different frames, namely "thumbnails"
frame and "main" frame simultaneously.
My framed page is defined as follows:
<frameset rows="15%,*,15%">
<frame src="headerWelcome.html" name="header" />
frameset cols="20%,*,20%">
<frameset rows="45%,55%">
<frame src="leftTopBanner.html" name="banner" />
<frame src="defaultThumbnails.html" name="thumbnails" />
</frameset>
<frame src="defaultMain.html" name="main">
<frame src="siteIntroduction.html" name="intro">
</frameset>
<frame src="footerCopyright.html" name="footer" />
</frameset>
My "headerWelcome.html" file looks like this:
<body>
<img src="Welcome.gif /><br>
<a href ="">Brisbane</a> | <a href ="">Sidney</a> | <a href
="">Port Moresby</a> | <a href ="">Lae</a> | <a href ="">Buka</a>
</body>
I know that can be acomplished via a Javascript function placed in
"headerWelcome.html" file and have anchor tag's href attribute set to
the function name as follows"
<a href="JavaScript: loadPages()">Brisbane</a> supposing loadPages() is
such function in the "headerWelcome.html" file.
My problem is I have difficulty specifying the names of the frames into
which the pages must load.
Please, help me achieve that.
Thousand thanks.
Jofio
"header" which, when I click, should make two different pages to be
loaded and displayed into two different frames, namely "thumbnails"
frame and "main" frame simultaneously.
My framed page is defined as follows:
<frameset rows="15%,*,15%">
<frame src="headerWelcome.html" name="header" />
frameset cols="20%,*,20%">
<frameset rows="45%,55%">
<frame src="leftTopBanner.html" name="banner" />
<frame src="defaultThumbnails.html" name="thumbnails" />
</frameset>
<frame src="defaultMain.html" name="main">
<frame src="siteIntroduction.html" name="intro">
</frameset>
<frame src="footerCopyright.html" name="footer" />
</frameset>
My "headerWelcome.html" file looks like this:
<body>
<img src="Welcome.gif /><br>
<a href ="">Brisbane</a> | <a href ="">Sidney</a> | <a href
="">Port Moresby</a> | <a href ="">Lae</a> | <a href ="">Buka</a>
</body>
I know that can be acomplished via a Javascript function placed in
"headerWelcome.html" file and have anchor tag's href attribute set to
the function name as follows"
<a href="JavaScript: loadPages()">Brisbane</a> supposing loadPages() is
such function in the "headerWelcome.html" file.
My problem is I have difficulty specifying the names of the frames into
which the pages must load.
Please, help me achieve that.
Thousand thanks.
Jofio