提供有关产品信息的弹出窗口
我希望在我网站的重要选项旁边有一个问号,这样我就可以在一个小的弹出窗口中向用户显示有关该选项的信息。
我希望有一个像 this 这样的弹出窗口。单击“设置提醒”选项以查看弹出窗口。谁能指导我他们是如何制作这个或他们使用了什么来制作这个漂亮的小弹出框。
谢谢 :)
I wish to have a question mark beside the important options of my website, so that I can show the users information about that option right there in a small popup window.
I wish to have a popup window like this. Click on the Set Reminder option to see the popup. Can anyone guide me how they have made this or what have they used, for this nice little popup box.
Thanks :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以使用许多工具,包括一百个 jQuery 模式对话框。如果您想要一个不依赖于 CSS 框架的全面解决方案,请查看 Floatbox。它相对纤薄,易于使用,并且支持很好。
There are lots of tools you could use, including a hundred modal dialogs for jQuery. If you want a comprehensive solution that doesn't depend on a CSS framework, take a look at Floatbox. It's relatively slim, easy to work with and support is great.
您可以将其称为工具提示。有大量工具可以帮助您实现这种效果。根据您首选的 JavaScript 框架,您可以找到许多插件。这里有一些 jQuery 框架。
http://flowplayer.org/tools/tooltip/index.html
http://plugins.learningjquery.com/cluetip/demo/
http://craigsworks.com/projects/qtip/demos/
如果你想要更多,你可以google “jQuery 工具提示”。
PS:如果您希望工具提示出现在“单击”事件上,请使用您选择的工具提示的 javascript 文件。
You can call it a tooltip. There are tons of tools which can help you achieve that effect. Depending on your preferred javascript framework, you can find many plugins. Here are a few for the jQuery framework.
http://flowplayer.org/tools/tooltip/index.html
http://plugins.learningjquery.com/cluetip/demo/
http://craigsworks.com/projects/qtip/demos/
If you want more, you can google "jQuery tooltips".
P.S: If you want the tooltips to appear on a "click" event, play around with the javascript file of the tooltip you select.