Reputation: 273
I am trying to do something with simple jquery but its not working, even I think that I did the code well. Here is mycode, please someone help me!!
<body>
<div id="content">
<div id="welco"><img id="wks" src="images/WKS.png" height="200px" /></div>
<div id="cont">
<div id="north-region">
</div>
<div id="west-region">
</div>
<div id="south-region">
</div>
<div id="southeast-region">
</div>
<div id="east-region">
</div>
</div>
</div>
<script>
$(document).ready(function (){
$("#wks").fadeOut(1000,"swing");
});
</script>
</body>
Upvotes: 0
Views: 57
Reputation: 524
I have made a jsfiddle of your example and it works ok.
Im linking you also a html file u are using with corrected code.
http://www.sendspace.com/file/euquxo
I moved the script to the head tag.
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
</script>
<script>
$(document).ready(function (){
$("#wks").fadeOut(1000,"swing");
});
</script>
</head>
P.s.: If this helped, mark it as the answer. Thanks.
Upvotes: 1