I have the following jQuery script to fade out my image at startup of page. But the image is fading out too fast. How can i make it slower? If i had numbers to the fadeOut function (the 2000) it should've gone slower. But it doesn't. Can someone help me?

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script>
<script type="text/javascript">
window.onload = function() {
 $("#logofade").fadeOut("2000", function(){
  window.location = "index2.html";

In the body tag:

<span id="logofade"><img src="images/logo.jpg" alt="Logo" /></span>

1 answer

o.k.w 2355
This was chosen as the best answer

It should be:
and not

The double quotes turned it into an unrecognized string. The only string parameters acepted are "slow", "normal", or "fast". Refer to reference.

Answered over 9 years ago by o.k.w