Jump to content

Facebook Popup Technique ??


avvllvva

Recommended Posts

Hi all,

 

Can anybody tell the technique used by Facebook to showing popup layers, ie; within the page without page refresh eg; Friend list showing popup layer ?

Is it iframes with some javascripts ?

 

Actually I want something like that, calling another page content in this div popup, dynamically.

Right now I have implemeted as following way,

adding div tags to the document  on a click and adding iframe tag into it with an external source page(php with some GET vars). And this is working fine same as facebook.

 

I just want to know the disadvantages of this method, like browser compatibility of this dynamic iframes and someother problems that you can find on this method.

 

can anybody list them ? Or if there any simple methods ?

 

Thanks in advance

 

Link to comment
https://forums.phpfreaks.com/topic/173662-facebook-popup-technique/
Share on other sites

I think the friends list in facebook is a combination of CSS and Javascript. And I don't think it is constantly live. It simply reloads the information when you click on the friends tab, though you don't seem to see the reload.

 

Could even be on something simple as a timer. And you won't see the refresh any way if they hide the DIV with CSS. There are a few ways you could implement this however I don't think facebook will tell you how. =P

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.