Kyl*_*yle 3 firefox jquery fade fadeout
这段代码在IE中淡化了div.在Firefox 3.0.8中,淡入淡出时间过去,div立即消失.我找不到任何提到这个问题的人.
$(function() {
$("#show").click(function() {
$("#show").fadeOut('slow');
});
});
<div id="show">this is where to show it</div>
Run Code Online (Sandbox Code Playgroud)
我整个早上一直在反对这个问题,终于找到了我的问题...标题为"Scripts/jquery-1.3.2-vsdoc.js"
/* * This file has been commented to support Visual Studio Intellisense. * You should not use this file at runtime inside the browser--it is only * intended to be used only for design-time IntelliSense. Please use the * standard jQuery library for all production use. * * Comment version: 1.3.2a */
当他们说"你不应该在运行时在浏览器中使用这个文件"时,他们肯定是这么说的......
所以请确保您使用的是非-vsdoc版本的jquery和jquery-min
| 归档时间: |
|
| 查看次数: |
10714 次 |
| 最近记录: |