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!

IFrames & Anchors 1

Status
Not open for further replies.

dmears1

Technical User
Jun 18, 2003
208
US
I have an IFrame inside of a table cell. In this IFrame I have several anchors. The anchors work well, however, when I click on the link, the whole page scrolls. Is there a way to just get the IFrame to scroll to the anchor and not the whole page?
You can see what I'm talking about at: Then click on the "FAQ" button. Click on any of the FAQs and you will see what I'm talking about.
Thanks in advance for any help or suggestions.
 
well, it seems like a default behaviour of the browser, u may want to use javascript (refer to srcollTo() function)...

Known is handfull, Unknown is worldfull
 
Thanks for the suggestion...I'll look into the javascript.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top