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. 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/173658-facebook-popup-technique/
Share on other sites

For a simple div overlays google up "javascript modal box" and "javascript dialog box". Most javascript frameworks solve the crossbrowser issues so you might want to use one that's written for a js framework.

 

Facebook seems more complicated with the js GUI interfaces though. You might want to look at extJs or Mocha for mootools.

 

 

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.