如何制作一个类似于gmail弹出窗口的网络聊天应用程序?

发布于 2024-09-01 19:50:38 字数 196 浏览 2 评论 0原文

正如您在 Gmail 中看到的那样,当您单击屏幕右下角时,会出现一个小弹出窗口,用于聊天。有趣的是,即使我们从一个网页导航到另一个网页,此弹出窗口仍然打开并位于同一位置。这怎么能做到呢?它看起来不像是不同的页面。这是完全不同的页面吗?或者是同一个页面?

提前致谢 :)。希望版主不要结束我的问题。上次我问一些对我有用的问题时,他们对我投了反对票并结束了我的问题。

As you must have seen in gmail, a small popup appears to chat when you click on right bottom corner of your screen. Interestingly, this popup remains open and at the same place even when we navigate from one webpage to another. How can this be done? It doesn't look as though it's different page. Is it different page altogether? or is it the same page?

Thanks in advance :). Hope these moderators don't close my question. Last time i asked something that would have been useful to me, they negatively voted me and closed my question.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

冧九 2024-09-08 19:50:38

你应该尝试一下 jQuery。

有一个非常好的模块,名为 jQuery 聊天模块这可能值得一试。

You should give jQuery a shot.

There is a pretty sweet module called jQuery chat module which could be worth a try.

话少心凉 2024-09-08 19:50:38

他们在整个 GMail 应用程序中使用 AJAX,很难将其开发得像 GMail 聊天那样好。在考虑开始开发 AJAX 之前,您应该阅读一些有关 AJAX 的教程/书籍。

They use AJAX for the whole GMail app, it's quite hard to develop it as good as the GMail chat. You should read some tutorials/books about AJAX before you should even consider start to develop it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文