<back> to the top of an inline frame

A

Anne

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
 
T

Thomas A. Rowe

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.
==============================================
 
A

Anne

Thank you for your quick reply. Can you clarify what "you can add back to
Top link on the page" please.
 
T

Thomas A. Rowe

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.
==============================================
 
R

Ronx

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top