Вопрос

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>
Это было полезно?

Решение

I have made a jsfiddle of your example and it works ok.

http://jsfiddle.net/yM3yK/

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top