This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2004 > How do I Load a frameset from the Index page





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How do I Load a frameset from the Index page
Medion

2004-02-27, 5:28 pm

I have designed a home page with a logo in the centre.
I wish to click on the logo to enter the site which is based around a
frameset.
I have greated a link from the logo to the frameset but when I preview and
click on the logo nothing happens.
How do I get the framest to load when I click on the Logo?


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.596 / Virus Database: 379 - Release Date: 26/02/2004


Tripredacus-X

2004-02-27, 5:44 pm

quote:
Originally posted by Medion
How do I get the framest to load when I click on the Logo?


So you have (index.html) that has (image.jpg) that links to (frameset.html)

On the index, set the link target to "_parent" or "_self"

On the linked page, create the frameset within.
On Each frame needs to have a name. Call them Frame1 and Frame2 for example. Each frame needs to have another HTML file open inside of it. create those two pages. example code for you:

(index.htm)
<html>
<head>
</head>
<body>
<a href="frameset.html"><img src="images/index/logo.jpg" width="356" height="66" border="0" target="_parent"></a>
</body>
</html>

(frameset.html)
<html>
<head>
</head>
<frameset cols="40%, 60%">
<frame name="left" src="left.html">
<frame name="right" src="right.html">
</frameset>
</html>

Then create the left and right pages with whatever you want but you must also keep in mind that scrollbars will appear if you make the pages wider than the percentages you give the frameset to use.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews