Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Window like facebook chat

The Facebook chat window remains open, unchanged, to refresh the page, or even when we change page. How to reproduce something similar? Tried with frameset, but it did not work.

How to keep a div open a window similar to the internal, even after refreshing the page or clocar on a website link?

like image 444
Guttemberg Avatar asked Aug 30 '12 19:08

Guttemberg


1 Answers

Like them, you can try -

  1. The data is shared between facebook pages. Probably HTML5 localStorage? Cookies? I'm not sure.

  2. If you notice, they don't "refresh" the page, they ajax-refresh the content on the page for subsequent loads. (unless you manually navigate to the same page, of course.)

  3. Finally, its all CSS mainly some z-index put to use.

I hope those 3 are enough to get you started.

like image 188
Robin Maben Avatar answered Oct 10 '22 02:10

Robin Maben