<html>
<head>
 <title>飘荡的图片</title>
</head>
<body>
 <script language="javascript">
 <!--
 function a(){
   for(var i=1;i<1;i++){
     if((i/2)%!=0){
        document.write("<marquee behavior='alternate' scrollamount=3 scrolldelay=1             direction='right'>
        <img src='5.jpg'>
        </marquee>");
     }
     if((i/2)%==0){
       document.write("<marquee behavior='alternate' scrollamount=3 scrolldelay=1              direction='down'>
        <img src='5.jpg'>
        </marquee>");
     }
  }
 -->
 </script>
</body>
</html>
为什么什么也没有,我错在哪里了??