Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Chat App
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Chat App

 Post Reply Post Reply
Author
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Topic: Chat App
    Posted: 13 June 2003 at 9:48am

     Hi I'm making a chat app for my site, like most in asp it has a frame thats refreshed. When it refreshes the window automatically goes straight to the top.

     Does anyone have a javascript to set the scroll bar right to the bottom on page load.

Thanks a lot Mart. 

Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2003 at 10:28am
Simple solution is to make new messages appear at the top
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2003 at 2:52pm
I want it to be yahoo style chatroom so that isnt an option...
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2003 at 3:44pm

couldnt you have it refresh to like

"page.asp#bottom"

then put

<a name="bottom"></a>

at the bottom of the page?

Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2003 at 3:21am

Ive tried that but for some reason meta refreshs dont work using that method does anyone have a delayed refresh method that will work?

Is it possible to keep the server connected some how byy processing lots of info in a asp script the use response.redirect("main.asp") at the bottom?

Thanks, Mart.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.