【发布时间】:2012-06-26 03:46:26
【问题描述】:
在我的 html 标记上方添加 doctype 时,我的 Jquery 代码似乎无法在 IE8 中运行。
也许有一种方法可以重组这些代码以使其在 ie8 中运行。
$(document).ready(function(){
//Caption Sliding (Partially Hidden to Visible)
$('.boxgrid.caption').hover(function(){
$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:160});
}, function() {
$(".cover", this).stop().animate({top:'161px'},{queue:false,duration:160});
});
});
The website can be seen here:
http://www.keencloudmedia.com/sample/test.html
提前致谢!
【问题讨论】:
-
“好像没用”?您能否说一下应该发生的事情和实际发生的事情? (您是否在控制台中遇到错误?什么都没有发生?是否发生了某些事情但这是错误的事情?)
-
你能告诉我们html或/和错误吗?
-
P.S.这和your other question是同一个问题吗?
-
同时发布相关的 CSS 和 HTML 代码。并告诉我们您遇到的确切错误[如果有的话]。
-
感谢您的回复。这是链接:keencloudmedia.com/sample/test.html。单击“查看更多”按钮,您将看到我遇到 IE8 问题的滑动框。谢谢!
标签: javascript jquery html css jquery-animate