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

another INLINE frame Question 1

Status
Not open for further replies.

XofCDe3rd

Technical User
Nov 9, 2003
120
Is it possible to access a particular part of a page within an inline frame by using a link on the same page as the inline frame.

like using somthing like:
<a href=whateverthepage.htm#particularSpot>jump</a>
 
Let me see if I get this right:

1. You have a page with an iframe
2. You want to have a link on the page that has the iframe
3. The link will open another page inside the iframe and scroll down to an anchor.

If this is what you want, it is pretty straightforward:
Code:
<a href="whateverthepage.htm#particularSpot" target="myiframe">iframe fun</a>

<iframe src="someotherpage.htm" width="250" height="200" frameborder="0" name="myiframe"></iframe>

and the whateverthepage.htm will have to have an anchor defined as particularSpot:

<a name="particularSpot"></a>

Hope it helps.
 
Sweet...........spot on mate......thanks u deserve this [2thumbsup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top