本帖最后由 luyuwei2008 于 2009-07-31 10:30:40 编辑

解决方案 »

  1.   

    http://download.csdn.net/source/1532351
      

  2.   

    到网上去查找一下啊,有很多的,但大部分是用Flash+xml来实现的
      

  3.   

    用js可以实现
    <title>切换图片</title>
    <script language="javascript">
    var index=1;
    var time;
    function bian(op){
    index=parseInt(op);
    clearTimeout(time);
    dong();
    }
    function dong(){
    if(index==6){
    index=1;
    }
    document.getElementById("tupian").src=index+".jpg";
    index++;
    time= setTimeout("dong()",1000);
    }
    </script>
    </head><body onLoad="dong()">
    <div style="height:190px; width:300px;">
    <img style="height:190px; width:300px;" src="1.jpg" id="tupian">
    <div style="position:absolute; top:190px; left:220px;">
    <input style="background:none; border:0px none; color:#FF0000; cursor:hand;" type="button" onClick="bian('1')" value="1">
    <input style="background:none; border:0px none; color:#FF0000; cursor:hand;" type="button" onClick="bian('2')" value="2">
    <input style="background:none; border:0px none; color:#FF0000; cursor:hand;" type="button" onClick="bian('3')" value="3">
    <input style="background:none; border:0px none; color:#FF0000; cursor:hand;" type="button" onClick="bian('4')" value="4">
    <input style="background:none; border:0px none; color:#FF0000; cursor:hand;" type="button" onClick="bian('5')" value="5">
    </div>
    </div>
    </body>
    以前学习的时候写的代码
    能实现你要的哪种效果,只是不怎美观
    你自己把图片名字,路径改一下就可以了
      

  4.   

    不知道图片在csdn论坛里怎么上传?上传的时候提示输入http://,怎么输入路径?请大家不要晕倒,我很少上传图片,请大家指点一下,怎么上传图片,我才能把我的问题描述清楚