After quite long doing research on how to display a popup like what is in facebook, I found a way to do so. It is a jquery plugin which name is facebox (you can google this). Basically, the basic functionalities of this plugin is poping up a window which contains an information from certain dom. Start from this understanding, it can be improved to insert an information from another page (using xhr). Of course, when i say using xhr, it can only fetching data from the same domain as xhr cannot be used to fetch data from different domain.
Well, in this blog, i would like to share the way it works in a bit high level for the operation of fetching data from another page. Basically, this plugin only fetch the data from another page and insert it in a dom. Of course, it will be hidden. After fetching the data, there will be a decorator manipulation which is the popup window itself and grab the information from the dom and put it in the popup window. Well, that's all. Its simple, isnt it? Of course, for my need, I tweak it a bit.
Below is the picture of my try where the information is grabbed from Twitter.
Monday, July 27, 2009
facebook's box alike
Subscribe to:
Post Comments (Atom)
1 comment:
線上免費aaa片
女人 色色網
色色網
色情卡通網
免費色咪咪影片
a片線上免費看
免費 色咪咪影片
免費色咪咪影片網
免費色咪咪影片
免費色咪咪貼影片
免費算
85cc免費影城
免費貼影片區
免費小魔女自拍區
自拍美女聊天室
免費-線上a片
自拍美女聊天室
自拍-美女聊天室
情色文學成人小說
自拍美女聊天室
a片
a片
免費視訊聊天
自拍密錄館
本土自拍
自拍 偷拍
辣妹有約
辣妹聊天室
美女聊天室
情人視訊高雄網
線上a片
情色自拍
本土自拍網
情人視訊-高雄網
自拍影片
情人視訊聊天室
情人視訊苗栗網
168視訊聊天室
WatchShow.TV-情色視訊聊天室
影音視訊交友網
嗆辣妹影音視訊聊天
成人影音視訊聊天室
080聊天網心悸動
Post a Comment