设计聊天窗口
我需要一些关于设计聊天窗口的好教程。我设计了基本窗口,但我想要 gmail、facebook 等类似的东西...
谢谢
I need some good tutorials on designing a chat window.I have the basic window designed but i want something lik in gmail,facebook...
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一个奇怪的问题!
好吧,只要看看另一个聊天实现(例如在 Facebook 中),如果您自己无法弄清楚,就可以从那里获取设计线索。
在 HTML 的最基本级别,您将设计一个表单,其中包含某种聊天查看窗格(可能只是一个大的
textarea
),再加上另一个 textarea 元素和当前当前会话的“提交”按钮用户在向聊天发送评论时使用。这真的没那么难。
困难部分是构建聊天应用程序本身。显然,仅使用 HTML 和 CSS 无法做到这一点。
A peculiar question!
Well, just look at another chat implementation (e.g. in Facebook), and take your design cues from there if you can't figure it out yourself.
At the most basic level in HTML, you will be designing a form, with some kind of chat viewing pane (perhaps just a large
textarea
), plus another textarea element and a "Submit" button for the current user to use when sending comments to the chat.It's really not so hard.
The hard part is building the chat application itself. Obviously you can't do that solely with HTML and CSS.