sarmenhb
sarmenhb

Reputation:

facebook status bar

Anyone know a good tutorial of how to make the status bar found in the new facebook? the one on the bottom. looks really cool

i was thinking it was written in either ajax or jquery. but not sure.

Upvotes: 2

Views: 4765

Answers (7)

mylesmg
mylesmg

Reputation: 532

I looked through the jQuery plugins, and Googled the topic for you. All I could find was this which isn't exactly what you want, but it is a good place to start. With some style changes, and a little tweaking it could easily look exactly like the Facebook bar.

Not sure that this is the type of answer you were looking for, but i've been looking for the same thing and this code seems to at least show how it's done.

Upvotes: 0

Sean O
Sean O

Reputation: 2619

Soh Tanaka just put out a great step-by-step tutorial on how to re-create the Facebook Status Bar:

Upvotes: 1

Brent Baisley
Brent Baisley

Reputation: 962

Why not just download the Facebook source code and take a look at how they do it? They open sourced a lot of the stuff they use/created/enhanced.

Upvotes: 1

Peter Örneholm
Peter Örneholm

Reputation: 2858

Here are some useful links/plugins that might help you:

Positioning the footer

Enable drag/drop of things (like applications)

Tooltip (when hover)

And for the interaction with the server (for new events etc.) you might use the AJAX functionality in jQuery:

Upvotes: 6

Jason
Jason

Reputation: 15365

Here's another good starting point: http://www.ben-griffiths.com/project/jquery-position-footer/. If I remember correctly it works in FF & IE & Safari

Upvotes: 0

Alekc
Alekc

Reputation: 4770

It's not clear what your are looking for: bar's design or it's functionality. If your are speaking about design you should look into css positioning (absolute). If it's about functionality i suppose that there is some kind of ajax javascript which checks every x seconds if there is change of state, and if there is go deeper and find out what to load.

Upvotes: 1

user58670
user58670

Reputation: 1448

In order to have it always be in the bottom, that is more of CSS than javascript. I think you would get better answers if you were more specific. For example, I would want the answer to revolve around as to how the chatroom works on facebook. Is the javascript request being sent every second to check for new messages? or is there another protocol being used in order to have instant messages?

Upvotes: 1

Related Questions