Connecting Tech Pros Worldwide Forums | Help | Site Map

How to set the frame at bottom

Yue Zhang
Guest
 
Posts: n/a
#1: Jul 17 '05
I want to display input messages in a floating frame. I want to set
scroller to the bottom initially so that the newest messages are
displayed first. How to do that? Thanks

Randy Webb
Guest
 
Posts: n/a
#2: Jul 17 '05

re: How to set the frame at bottom


Yue Zhang wrote:
[color=blue]
> I want to display input messages in a floating frame. I want to set
> scroller to the bottom initially so that the newest messages are
> displayed first. How to do that? Thanks[/color]

Put an anchor at the end of the page in the floating frame, and then set
the src attribute of the IFrame tag to point to the anchor:

in IFrame.html:

//html code
<a name="endOfPage">

And then in the IFrame tag:

<iframe src="IFrame.html#endOfPage"></iframe>

--
Randy

Closed Thread