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!

opening page at a certain line in iframe 3

Status
Not open for further replies.

peacecodotnet

Programmer
May 17, 2004
123
US
i am using an iframe to display a page, but i want the iframe to display the page starting at line 10. there are no anchors in the page that the iframe contains, so i can't just set the src to
any help would be greatly appreciated.

Peace out,
Peace Co.
 
Maybe somebody else knows but I don't see how you can do it without a label anchor.

There's always a better way. The fun is trying to find it!
 
Try this site, it should tell you everything you need to know about scrolling frames:


-kaht

banghead.gif
 

You should be able to use the "scrollBy()" method on the iframe... Something like this:

Code:
iframeName.scrollBy(0, 50);

Hope this helps,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top