打开一个没有任何关闭按钮的弹出窗口
我有一个 webhierarchicaldatagrid,它的第一列是一个模板列,它是一个超链接。因此,当鼠标悬停在该列的数据上时,我希望在该数据旁边打开一个小弹出窗口,以便用户可以在该弹出窗口上拖动鼠标。该窗口包含几个链接,单击这些链接将导航到另一个页面。我想知道如何在数据旁边打开弹出窗口,以及如何仅当鼠标位于其上时才保持其打开状态。一旦鼠标不在弹出窗口上,我希望弹出窗口关闭。
I have a webhierarchicaldatagrid and its first column is a template column which is a hyperlink. So onmouseover on the data of that column I want a small popup window to be open right next to that data so that user can drag the mouse on that popup window. The window contains few links which on click will navigate to another page. I want to know how to get the popup window to be open right next to the data and also how to keep it open only when the mouse is on it. as soon as the mouse is not on the popup I want the popup to close.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
qTip 是一个非常流行的 jQuery 插件,可以满足您的需求。以下是您所描述的功能类型的演示页面:
演示固定悬停工具提示
这是另一个链接,其中包含 30 个流行的工具提示插件:
30 个时尚的 jQuery 工具提示插件,用于吸引人的设计
qTip is a pretty popular jQuery plugin that can do what you are wanting. Here is the demo page for the type of functionality you are describing:
Demo Fixed tooltips on hover
Here is another link, with 30 popular tooltip plugins:
30 Stylish jQuery Tooltip Plugins For Catchy Designs