Forum Moderators: open

Message Too Old, No Replies

Removing frames link.

Help me plz!

         

rarefate

5:39 am on Dec 13, 2003 (gmt 0)

10+ Year Member



I created a 4 frame system, I have a small column where the list of anchors are located. I placed the remove frames link.

the HTML code I devised:

<a href="javascript:top.location=self.location">Remove Frames</a>

It works, however in the wrong frame, I would like it set up. So it grabs the link from mainframe and parents mainframe. I lack html knowledge to complete this task.

Can someone help me out?

divaone

12:47 pm on Dec 13, 2003 (gmt 0)

10+ Year Member



not sure if i follow completely, but i'll assume you want the main frame to become the parent, and only, window when the link is clicked.

if so, use a 'normal' link.. a href="mainframe.html" target="top"..

hth

rarefate

10:15 am on Dec 14, 2003 (gmt 0)

10+ Year Member



divaone, thats invalid html coding... because if you use href="mainframe.html" the browser reading the code thinks that its a actual site, not the url that is in the mainframe.

thehittmann

8:07 am on Dec 15, 2003 (gmt 0)

10+ Year Member



ummm no thats valid he means the page in the mainframe not actually calling the mainframe. he used "mainframe" as say "index" just the page name not to call the mainframe, but the page called mainframe.html

Thats the way to do it just substitute the page you want without frames for mainframe.html