<back> to the top of an inline frame

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I return to the last page the viewer was on (<a
href="JavaScript:history.back()">Back</a>) if I am at the bottom of an inline
frame (scroll bar on the right) the back button returns to the correct page
however not to the TOP of the page. How can I return to the top of the
inline frame without scrolling on the right? Thanks
 
Not possible, as the page that is loaded in the inline frame is completely independent of the page
that the IFrame is in. If the page that is being loaded in the IFrame is under your control, then
you can add back to Top link on the page.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Thank you for your quick reply. Can you clarify what "you can add back to
Top link on the page" please.
 
Add the following to the page that loads in the IFrame:

<a href="#Top">Top of Page</a>

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Change the link to:

<a href="#Top"><img src="images/topofpage.jpg" width="30" height="20"
alt="Top of page"></a>

where images/topofpage.jpg is the path to the jpeg image you wish to
use. Also change the width and height to suit the image.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 
Back
Top