SunQuest
           PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old August 15th, 2002, 12:36 AM
gobears20 gobears20 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 5 gobears20 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Wrote a Chat Room Using Sessions. Refresh/Scroll Question??

Is it possible to have a page refresh and scroll to the bottom automatically?

If so, please let me know how? I can get the chat room to refresh ok, but it will not scroll to the bottom of the page each time.

Reply With Quote
  #2  
Old August 15th, 2002, 12:44 AM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: Wrote a Chat Room Using Sessions. Refresh/Scroll Question??

this should be in the client-side topic.

put <a name="bottom"></a> at the bottom of your page, and make the refresh address - www.mypage.com/chat.php#bottom

Reply With Quote
  #3  
Old August 15th, 2002, 02:37 AM
gobears20 gobears20 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 5 gobears20 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Wrote a Chat Room Using Sessions. Refresh/Scroll Question??

Yeah, I did that and it did it once but then would not refresh and scroll to the bottom again. It would only refresh once and scroll to the bottom once. I could not get it to keep refreshing and keep scrolling to the bottom.

Do you know of any other ways?

Reply With Quote
  #4  
Old August 15th, 2002, 02:59 AM
gobears20 gobears20 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 5 gobears20 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Wrote a Chat Room Using Sessions. Refresh/Scroll Question??

It worked for me once and for some reason it would only refresh once. When it did refresh once it would scroll to the bottom. The problem is its only refreshing once.

Basically what I need is for this to keep refreshing and scrolling to the bottom each time.

See try this link...
http://www.baylorfans.com/test.html#bottom

See if it refreshes for you and scrolls down more than once?

Thanks

Reply With Quote
  #5  
Old August 15th, 2002, 05:40 AM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Wrote a Chat Room Using Sessions. Refresh/Scroll Question??

try using javascript like:

document.location.reload();
or
document.location.href='url/blah...';

Reply With Quote
  #6  
Old August 15th, 2002, 08:00 AM
siteworkspro.com siteworkspro.com is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Sydney, Australia
Posts: 92 siteworkspro.com User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to siteworkspro.com Send a message via AIM to siteworkspro.com
RE: Wrote a Chat Room Using Sessions. Refresh/Scroll Question??

TOP OF PAGE
<META HTTP-EQUIV=Refresh CONTENT="5; URL=chat.php">
<script language="javascript">
document.location.href='#bottom';
</script>

then down the bottom
<a name="bottom"></a>

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > Wrote a Chat Room Using Sessions. Refresh/Scroll Question??


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway