I'm trying to make a "bubble" that can popup when the onmouseover
event is fired and will stay open as long as the mouse is over the item that threw the onmouseover
event OR if the mouse is moved into the bubble.
(我正在尝试创建一个“气泡”,当触发onmouseover
事件时,该气泡可以弹出,并且只要鼠标悬停在引发onmouseover
事件的项目上,或者如果鼠标移至气泡中,它就会保持打开状态。)
(我的泡沫将需要具有各种HTML和样式,包括超链接,图像等。)
I've basically accomplished this by writing about 200 lines of ugly JavaScript but I would really like to find a jQuery plugin or some other way to clean this up a bit.
(我基本上通过编写约200行丑陋的JavaScript来实现了这一目标,但是我真的很想找到一个jQuery插件或其他一些方法来解决这一问题。)
ask by jakejgordon translate from so