The chat windows do indeed refresh when you load a new page, they maintain their viewstate however (open/close/chat history).
+1
A:
Tequila Jinx
2009-02-16 19:19:27
If you refresh the page the chat windows are reloaded, but if you browse the site by clicking links they are not.
Dawkins
2009-02-16 20:43:08
+1
A:
Check out this article on Facebook's AJAX chat functionality.
Chris Ballance
2009-02-16 19:26:11
+1
A:
It's an absolutely positioned div, positioned at the bottom of your browser window. It's not hard, I cloned the Facebook chat for ClockingIT from scratch in a weekend.
Fudge
2009-02-16 19:39:16
its easy to set the div fixed in the bottom of the page. What I am curious about is how they are able to let you browse different pages without reloading the chat divs.
Dawkins
2009-02-16 20:42:28
+1
A:
Probobly just an absolutely positioned div, containing a scrolling div for the content. Ajax would provide the content.
Sprintstar
2009-02-16 20:06:55
+7
A:
If you install FireBug and enable the net monitor for Facebook, you'll see that when you click most links inside the application, you're not doing a full page refresh, but rather an AJAX call which updates the page with the new content.
It looks like a new page, but in reality you're on the same page with just about everything but the chat-bar replaced.
Fudge
2009-02-22 08:02:02