Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frames - open new frame set in same window 1

Status
Not open for further replies.

shetlandbob

Programmer
Mar 9, 2004
528
GB
Hi,

I have a set of frames which is loaded with the following:
Code:
<Frameset FRAMEBORDER=0 BORDER=0 BORDERCOLOR="000066" FRAMESPACING=0 cols="21%,*">
  <Frame name="left" src="left.html">
  <Frameset FRAMEBORDER=0 BORDER=0 BORDERCOLOR="000066" FRAMESPACING=0 rows="60,*" >
    <Frame name="top" src="top.html" scrolling="no" noresize>
    <Frame name="right" src="intro.html">
  </Frameset>
  </Frameset>
</Frameset>
This is fine for the main pages I have. However I have one link which I'd like to open another set of frames, i.e. the above code is in index.html. I'd like to open for example index2.html which has its own frameset, left, right, top etc.... in the same window?

Any idea how I could do this?

Thanks in advance.

Robert Cumming
 
Create your frameset as index2.html and link to it like this:
Code:
<a href="index2.html" target="_blank">Click here</a>
This will open up index2.html in a blank window, and your frameset should load.

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]
 
Vragabond's suggestion is better. I didn't quite understand what you were after, and after reading his post I totally recommend using _top over _blank.

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top