js 引用 css class 无法执行!
<htmlxmlns="http://www.w3.org/1999/xhtml"><headrunat="server"><title></title><scripts...
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="CSS_JS/jquery-1.8.0.js" type="text/javascript"></script>
<link href="CSS_JS/MainStyle.css" rel="stylesheet" type="text/css" />
<script>
$(document).ready(function () {
$(document).ready(function () {
$("#div1").fadeIn();
$("#div2").fadeIn("slow");
});
});
</script>
</head>
<body>
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div>
<div id="div2" class="FLLC"></div>
</body>
</html>
--------------------
css:
body
{
margin:0px 0px 0px 0px;
}
.FLLC
{
background-color:Blue;
height:240px;
width:320px;
}
----------------------
为什么 div2 无法显示js特效呢? 展开
<head runat="server">
<title></title>
<script src="CSS_JS/jquery-1.8.0.js" type="text/javascript"></script>
<link href="CSS_JS/MainStyle.css" rel="stylesheet" type="text/css" />
<script>
$(document).ready(function () {
$(document).ready(function () {
$("#div1").fadeIn();
$("#div2").fadeIn("slow");
});
});
</script>
</head>
<body>
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div>
<div id="div2" class="FLLC"></div>
</body>
</html>
--------------------
css:
body
{
margin:0px 0px 0px 0px;
}
.FLLC
{
background-color:Blue;
height:240px;
width:320px;
}
----------------------
为什么 div2 无法显示js特效呢? 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询