此代码在 Firefox 中运行良好,但在 google chrome 中无法使用淡入淡出效果。请帮助我如何解决这个问题。提前致谢。
<html>
    <head>
    <title>Fade IN</title>
    <script type="text/javascript" src="../../js/jquery.js"</script>
    </head>
    <body id="new" background="../../images/login_1.jpeg" style="background-repeat: no-repeat;background-size: cover;">
    <script type="text/javascript">
    (function($) {
      $(document.body).fadeIn(3000);
    })(jQuery);
    </script>
<div id="showcase">
    <br><br>
    <center><h1 style="color:black;">test</h1></center>
      <center><h3 style="color:black;">test</h3>    </center>
    </div>
    </body>
    </html>