【发布时间】:2013-06-27 09:56:32
【问题描述】:
我试图在将鼠标悬停在页面徽标上时显示隐藏的 div。
网址是:http://www.enbloc-magazin.de/
正如我所说,我想在将鼠标悬停在徽标上时显示一个容器(#snowflakesContainer,显示:无;)。
我使用了几个脚本,例如:
$('#logo').hover(function() {
$('#snowflakesContainer').toggle();
});
但没有任何效果。
隐藏容器的css是:
#snowflakesContainer {
top: -553px;
position: absolute;
width: 100%;
height: 100%;
display: none;
}
感谢您的帮助!
【问题讨论】: