问题标签 [onhover]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
javascript - Javascript: laggy on hover; animate slide
I have this infobox that will slide to show on hover on a arrow connected to that infobox. See the jsfiddle I've linked further down for more insight.
The thing I'm struggling with is that it's sort of laggy. It jumps back and forth really fast as it likes and it bothers me a lot. I've done some research and found out that the .stop(true, false)
is the thing messing it up, but that you can't really go without it either. Haven't found any smooth solution yet though...
I would like it, if possible, to...
...when hovered, fully animate the animation even though the mouse leaves.
...animate when
#infoboxArrow
is hovered and then animate back when the mouse leaves its parent#infocontainer
.
jquery - 如何在页面加载时运行脚本?
该脚本从上到下绘制一条线,但它从鼠标悬停“onhover”开始,我希望它在打开页面时绘制它。
这是要清楚的整个代码。它唯一的功能就是从这条线上悬停$( this ).hover(function()
。
这是我的 HTML
css - CSS保持悬停项目打开,直到另一个项目悬停
当用户悬停在一个项目上时,是否可以仅使用 CSS 来展开一个项目,并保持这种方式直到用户悬停在另一个项目上?
我尝试过转换,它将展开并保持打开或展开并关闭,但不展开,等待另一个动作,然后重新关闭该项目。
css - CSS 悬停门打开效果在 Safari 上不起作用
根据 CSS,在悬停时,门应该是打开的。它适用于 Firefox、Opera、Chrome 和 IE,但在 Safari 5.1.7 中对悬停没有影响。这里的问题在哪里?此悬停的 CSS 部分如下:
这是HTML代码:-
这是jQuery代码:-
这是输出页面的截图:-
悬停前:-
悬停后:-
css - Safari上的CSS Hover Door打开效果问题
根据此链接重新发布或标记我自己的迁移问题?
我必须重新发布我的问题以获得有用的答案。根据 CSS,在悬停时,门应该是打开的。它适用于 Firefox、Opera、Chrome 和 IE,但在 Safari 5.1.7 中对悬停没有影响。这里的问题在哪里?此悬停的 CSS 部分如下:
这是输出页面的截图:-
悬停前:-
悬停后:-
Safari 截图
image - 如何在悬停图像上添加文本幻影
您好,我想知道当鼠标悬停在图像上时如何在悬停时出现一些文本幻影
这是我的 jfiddle ->
感谢你们
css - 顶点:使用工具提示悬停显示值的输出字段
我有一个带有 css 溢出的数据表:隐藏。现在对于大数字,我想要一个特定的列,这里是第 15 列,使用工具提示启用悬停显示值。悬停部分工作正常并显示值,但输出字段本身未显示任何值。这是使用的样式:
顶尖:
提前致谢 !
html - HTML 导航悬停
这是我的导航栏,下方有一个下拉菜单。书在部门下面,我还有很多,但这是一个例子。当我将鼠标悬停在更多选项上时,它会失去对导航栏的关注并显示图像的悬停描述。我该如何阻止这个?
我的 CSS
css - 悬停(内容 css 标签)在 Firefox 和 IE 中不起作用
我在 css 中使用了内容标签作为悬停功能,因为我为图像标签提供了一个 id。但是,悬停在 Firefox 和 IE 中不起作用,它在 chrome 中运行良好。这是此链接:thunderstorm999.byethost9.com
javafx - 在 javafx 中为 imageview 设置效果
我创建了一个框架,里面有一些图片。我想在我glow effect
的button
's 中添加一个scence
,这样'mouse over'button
的前景会变得更亮。
这是我的FXML文档:
但我有两个问题:
1)它很慢,有时当我在图片上时似乎没有调用鼠标处理程序,因为效果没有改变
2)鼠标进入图片区域时不知道应该用什么效果让图片变暗