如何创建简单的工具提示文本 [英] How Can I Create Simple Tooltip Text
本文介绍了如何创建简单的工具提示文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请用简单的例子给我看看
解决方案
有很多方法可以做到。毕竟,当鼠标输入一些元素时,工具提示只是处理鼠标动作。
我强烈建议使用jQuery和jQueryUI,你可以在哪里找到很多有用的插件,包括工具提示:
http://jqueryui.com/tooltip [ ^ ]。
如果您需要学习jQuery,请参阅:
http://en.wikipedia.org/wiki / JQuery [ ^ ],
http://jquery.com [ ^ ],
http://learn.jquery.com [ ^ ],
http://learn.jquery.com/using-jquery-core [ ^ ],
http ://learn.jquery.com/about-jquery/how-jquery-works [ ^ ](从这里开始)。
-SA
please show me with simple example
解决方案
There are many ways to do it. After all, tooltip is nothing but handling of the mouse motion, when a mouse enter some element.
I would strongly advise to use jQuery, and jQueryUI, where you can find a lot of useful plug-ins, including the tooltip:
http://jqueryui.com/tooltip[^].
If you need to learn jQuery, please see:
http://en.wikipedia.org/wiki/JQuery[^],
http://jquery.com[^],
http://learn.jquery.com[^],
http://learn.jquery.com/using-jquery-core[^],
http://learn.jquery.com/about-jquery/how-jquery-works[^] (start from here).
—SA
这篇关于如何创建简单的工具提示文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文