实现像弹出聊天之类的Facebook.
问题描述:
大家好,
您可能使用过facebook或Orkut.弹出一个聊天会话.
Hi everybody,
you might have used facebook, or Orkut. There is a pop up for a chat session. How could you implement it?
答
我不确定您的问题在哪里,所以我只给您我的2 cts :
I''m not sure where your issues are so I just give you my 2cts:
- 要获得显示聊天状态的系统任务栏的效果,我将使用此页面上的提示将HTML容器粘贴到固定的屏幕位置: ^ ]
- 在该页面上,如果有任何聊天请求,我会通过AJAX定期轮询聊天服务器.登录用户
- 聊天服务器是完全不同的东西,并且确实会使答案大大膨胀
- To achive the effect of a system tray where the chat status is displayed I''d use the tips on this page in order to glue a HTML container to a fixed screen position: http://www.howtocreate.co.uk/fixedPosition.html[^]
- On the page I''d regularily poll the chat server via AJAX if there are any chat requests for the logged in user
- The chat server is something different all together and would really inflate this answer tremendously
最好的问候,
曼弗雷德(Manfred)
Best Regards,
Manfred
在这些网站上提问.
根据定义,这将是您最好的信息来源,因为每个人都有一个用户.并非所有人都在这里.
By asking on those sites.
That will be your best source for information since by definition everyone there is a user. Not everyone here is.