Jump to content

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.

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.