Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

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:
  #1  
Old October 11th, 2004, 09:22 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
live update

i'm trying to make a shoutbox,
But i would like it to be live.

When a user submits a message it will refresh on everyone's page?


don't have a clue where to start to think about that.
could any one help me with some info or hints where i could start gattering information thanke you..

Reply With Quote
  #2  
Old October 11th, 2004, 12:04 PM
Nicky's Avatar
Nicky Nicky is offline
Contributing User
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Neverland
Posts: 606 Nicky User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 3 m 26 sec
Reputation Power: 2
RE: live update

My immediate thoughts would be to use javascript.

and that's pretty much where my thoughts stop....

Reply With Quote
  #3  
Old October 16th, 2004, 06:32 PM
rehfeld_dot_us rehfeld_dot_us is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Posts: 825 rehfeld_dot_us User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: live update

thats not very easy to do, but it can be done.

you should look at the source code of some php based chat scripts, that should give you an idea of how they do it.

otherwise, you can use javascript to query your server every 5 seconds or so, and just keep updating the innerHtml. i bet thats how the php chat systems do it,

using the javascript xmlhttp object might make your job easier and more robust, but youll need to learn it, and theres differences in how IE and other browsers handle it.

good luck

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > live update


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 5 hosted by Hostway
Stay green...Green IT