avvllvva Posted September 9, 2009 Share Posted September 9, 2009 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 More sharing options...
RichardRotterdam Posted September 9, 2009 Share Posted September 9, 2009 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. Link to comment https://forums.phpfreaks.com/topic/173658-facebook-popup-technique/#findComment-915502 Share on other sites More sharing options...
rachelk Posted September 12, 2009 Share Posted September 12, 2009 You could try facebox, looks exactly the same http://famspam.com/facebox Link to comment https://forums.phpfreaks.com/topic/173658-facebook-popup-technique/#findComment-917101 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.