SunQuest
           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:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old October 1st, 2003, 08:31 PM
mugane mugane is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Charlottesville, VA USA
Posts: 425 mugane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to mugane Send a message via Yahoo to mugane
Controlling the Progress bar/Status bar

I recently checked out phpmychat (http://www.phpheaven.net/projects/p.../rubrique4.html). They use a hidden frame that refreshes periodically, so you would expect that there would be periodic reloading of the progress bar in the status bar, right? No - they somehow managed to remove the progress bar, stop the mouse from showing the "thinking" icon, and prevented the status bar text from displaying the url to the page that is reloading. It's rather odd, and I am very curious as to how these goals can be achieved.

Any clues?

Much obliged,

Peter

Reply With Quote
  #2  
Old October 2nd, 2003, 12:09 AM
CodeKadiya CodeKadiya is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Colombo,Sri Lanka
Posts: 2,313 CodeKadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to CodeKadiya
RE: Controlling the Progress bar/Status bar

mugane,

Are they showing a pop-up window for chat or it's in the main page? Yep- looks quite unusual coding!

Reply With Quote
  #3  
Old October 2nd, 2003, 12:11 AM
CodeKadiya CodeKadiya is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Colombo,Sri Lanka
Posts: 2,313 CodeKadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to CodeKadiya
RE: Controlling the Progress bar/Status bar

You can hide the the status bar message, but not the hole bar.
http://www.hotscripts.com/cgi-bin/search.cgi?bool=AND&query=hide+status+bar&catid=all

Reply With Quote
  #4  
Old October 2nd, 2003, 11:48 AM
mugane mugane is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Charlottesville, VA USA
Posts: 425 mugane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to mugane Send a message via Yahoo to mugane
RE: Controlling the Progress bar/Status bar

After further testing I concluded that they don't do anything special at all, and simply refresh the message window after a default 10 seconds. At the time of refresh, the status bar does use a normal progress bar.

The reasoning behind this behavior is that it is not important to refresh the message window with messages (except messages sent by the visitor) more often than this. I grudgingly agree; it will probably take 10 seconds or so to read and reply to a message anyhow.

Reply With Quote
  #5  
Old October 2nd, 2003, 02:50 PM
CodeKadiya CodeKadiya is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Colombo,Sri Lanka
Posts: 2,313 CodeKadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to CodeKadiya
RE: Controlling the Progress bar/Status bar

mugane, Thanks for information. I was also curious about it...

Reply With Quote
  #6  
Old November 20th, 2003, 08:49 PM
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
RE: Controlling the Progress bar/Status bar

I think they are using a funny feature that is very easy with php, they just don't finish sending the page never so the connection between the browser and the server is never closed, meanwhile they continue pooling the database until a new message arrives. If i'm not wrong this feature usage is documented in www.php.net annotated documentation

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Controlling the Progress bar/Status bar


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