Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 Web 表单上显示任何验证错误消息,类似于 Visual Studio 中的编译错误消息,当出现错误时会从底部向上滑动。错误消息面板应覆盖在表单顶部而不占用额外空间,并且可以在需要时关闭。如何在 CSS / jQuery 的帮助下或以任何其他方式实现这一目标?
谢谢,拉玛
该站点详细讨论了如何使用 CSS、HTML 和 JQuery 创建滑动面板
http://theorangebelt.org/forums/showthread.php?t=1033
我推荐 Zurb,他们的例子很有创意和强大:
类似 Zurb 的 OS-X 坞站
顺便说一句,我不推荐任何类型的 Dock,Dock 在我看来不是 web 应用程序友好的 ui 元素。