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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My tottering neurons have lost trac

Status
Not open for further replies.

Izzo

Technical User
Feb 22, 2001
38
US
My tottering neurons have lost track of how you can call a frameset with a
specified frame loaded. Can anyone help me, please?

As an example, I want to load framesetA.html but with newinnerframe.html
loaded in rightFrame instead of oldinnerframe.html as specified in the
frameset.

...Izzo...
 
Izzo, in the link (<a> anchor tag) you have to specify TARGET attribute, which defines where the file will be displayed.

E.g. if you have a framesest document like this

<frameset cols=&quot;100,*&quot;>
<frame src=&quot;left.htm&quot; name=&quot;leftFrame&quot;>
<frame src=&quot;right.htm&quot; name=&quot;rightFrame&quot;>
</frameset>

then to load in the left frame you have to use

<A href=&quot;newFile.htm&quot; target=&quot;leftFrame&quot;>

and to load in the right frame, you have to write

<A href=&quot;anotherFile.htm&quot; target=&quot;rightFrame&quot;>

I hope this helped.

---
---
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top