Jump to content

Archived

This topic is now archived and is closed to further replies.

SieRobin

iFrame

Recommended Posts

How exactly can I make it so it stays at the bottom of an iframe? I have a chat made with Ajax+PHP, but I can't make the iframe stay at the bottom of the page.

Share this post


Link to post
Share on other sites
????

what do you mean 'stay at the bottom' are you scrolling content above the iframe? perhaps if you posted a link to the page so we can see it in action and then maybe some screen shots of how you want it to behave we could help a little more.

Share this post


Link to post
Share on other sites
I just want to basically have the content in the iframe stay at the bottom, but I don't want to put an anchor at the bottom.

When you submit a message in my chat basically it shows at the bottom of the page, since the message field is AT the bottom lol.

Share this post


Link to post
Share on other sites
then u'll need to use javascript to scroll to the bottom of the iframe (why not use a div with fixed height instead?)

This will help..

[url=http://radio.javaranch.com/pascarello/2005/12/14/1134573598403.html]http://radio.javaranch.com/pascarello/2005/12/14/1134573598403.html[/url]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.