PDA

View Full Version : frame page question


chelvis
08-05-2003, 10:00 PM
I have a framed page like this:

<frameset rows="*,40" framespacing="0" frameborder="0" border="0">
<frame src="home_test.html" name="home" scrolling="yes" noresize>
<frame src="footer1.html" name="footer" scrolling="no" noresize>
</frameset>

The top frame consist all the content pages. Bottom frame is just to show some links and copyright information. In the topframe page I have a log of links. When a user click on the link I am opening the new page only in the top part of the frame. Is this a right way of doing?

<a href="some.html" target=" _self">about company</a>

I tried _top didnt work. So tried accidentaly _self and it works.
Is this right?

But then in the footer.html I have a link to the home page. So if the user click on the "Home" link the page should load on the top frame. It is not working for me.

<href="home_test.html" target="_top">Home</a>

when I do this I get only the top part of the frame. The bottom portion vanishes.

MotherNatrsSon
08-05-2003, 10:37 PM
Originally posted by chelvis
I have a framed page like this:

<frameset rows="*,40" framespacing="0" frameborder="0" border="0">
<frame src="home_test.html" name="home" scrolling="yes" noresize>
<frame src="footer1.html" name="footer" scrolling="no" noresize>
</frameset>

The top frame consist all the content pages. Bottom frame is just to show some links and copyright information. In the topframe page I have a log of links. When a user click on the link I am opening the new page only in the top part of the frame. Is this a right way of doing?

<a href="some.html" target=" _self">about company</a>

I tried _top didnt work. So tried accidentaly _self and it works.
Is this right?

But then in the footer.html I have a link to the home page. So if the user click on the "Home" link the page should load on the top frame. It is not working for me.

<href="home_test.html" target="_top">Home</a>

when I do this I get only the top part of the frame. The bottom portion vanishes.

Try this:

<href="home_test.html" target="home">Home</a>

MNS

fredmv
08-05-2003, 10:54 PM
Or try this...:D


<a href="home_test.html" target="home">Home</a>

MotherNatrsSon
08-05-2003, 11:10 PM
Originally posted by fredmv
Or try this...:D


<a href="home_test.html" target="home">Home</a>


Ooops....:rolleyes:

MNS