【发布时间】:2013-04-18 07:34:32
【问题描述】:
我正在使用这个弹出式工具提示: http://www.dynamicdrive.com/dynamicindex16/showhint.htm
这样每当我将鼠标悬停在 [?] 符号上时,就会出现一条消息。
在提供的脚本中:
<a href="#" class="hintanchor" onMouseover="showhint('Please choose a username. Should consist of alphanumeric characters only.', this, event, '150px')">[?]</a>
我的意思是在上面显示的showhint函数中输入要在弹出窗口中显示的文本。
我的问题是要显示大量文本(即 Word 文档大小的半页),并且需要在段落之间设置中断。
当我将文本块放在 showhint 函数的第一个参数中时,它不起作用。
如何获得工具提示以显示带有适当中断等的长消息?
谢谢!
【问题讨论】:
-
感谢以下所有帮助。我决定用这些文本创建一个新页面并打开页面而不是单击 [?]
标签: asp.net html css tooltip mouseover