我的代码:
<!DOCTYPE html>
<html>
<head>
<title>Demo</title>
<script src="jquery.min.js" type="text/javascript"></script>
<style type="text/css">
#test{
width:100px;
height:100px;
background:#CCC;
}
</style>
<script type="text/javascript">
$(function(){
//$("#test").delay(2000).hide();
$("#test").show(500).delay(2000).hide(500);
//$("#test").show().delay(2000).hide();
});
</script>
</head>
<body>
<div id="test"></div>
</body>
</html>
为什么用我注释掉的两种写法不行?
哆啦的时光机
湖上湖
POPMUISE
米琪卡哇伊
相关分类