本帖最后由 xnfriday 于 2010-02-14 16:02:38 编辑

解决方案 »

  1.   

    要用到JS,不过flash会方便一些,随便去网上找找源码吧。什么懒人图库什么的,应该能找到。
      

  2.   

    既然是asp.net,建议用jquery的相册插件。http://www.codeproject.com/KB/scripting/  里面有无数,你找和放映slideshow、相册album、移动marquee有关的jquery的东东就好了。简单一点的就是在aspx上scriptmanager.registstartupscript(this,this,gettype(),yourscript,true),其中yourscript就是每个图片一句
    "<img src='img/"+ds[i][1]+"' title='"+dt[i][2]+"' onclick='showbigimg("+dt[i][0]+")' width='80px' height='80px' />"串联起来,这个dt就是绑定的数据库表了。前面再加上"document.getElementById('slideshowDiv').innerHTML=\"",后面加上"\";"。
      

  3.   

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>test</title>
        <script src="http://code.jquery.com/jquery-latest.js"></script>
        <script type="text/javascript">
        window.onload=(function(){
            $("img:gt(3)").hide();
            $("button:first").click(function(){
                $("img:visible:last").hide();
                $("img:hidden:last").insertBefore($("img:visible:first"));
                $("img:hidden:first").show();
            });
            $("button:last").click(function(){
                $("img:visible:first").hide();
                $("img:hidden:first").insertAfter($("img:hidden:last"));
                $("img:hidden:first").show();
            });
        });
        </script>
        <style type="text/css">
            div {position:absolute;background:#EEE;width:230px;}
            img {width:40px;height:40px;}
        </style>
    </head>
    <body>
    <div><button><</button>
    <img src="#" alt=1></img>
    <img src="#" alt=2></img>
    <img src="#" alt=3></img>
    <img src="#" alt=4></img>
    <img src="#" alt=5></img>
    <img src="#" alt=6></img>
    <img src="#" alt=7></img>
    <img src="#" alt=8></img>
    <button>></button></div> 
    </body>
    </html>
      

  4.   

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>test</title>
        <script src="http://code.jquery.com/jquery-latest.js"></script>
        <script type="text/javascript">
        window.onload=(function(){
            $("img:gt(3)").hide();
            $("button:first").click(function(){
                $("img:visible:last").hide();
                $("img:hidden:last").insertBefore($("img:visible:first"));
                $("img:hidden:first").show();
            });
            $("button:last").click(function(){
                $("img:visible:first").hide();
                $("img:hidden:first").insertAfter($("img:hidden:last"));
                $("img:hidden:first").show();
            });
        });
        </script>
        <style type="text/css">
            div {position:absolute;background:#EEE;width:200px;}
            span {width:84%;}
            img {width:25%;}
            button {width:8%;height:100%;}
        </style>
    </head>
    <body>
    <div><button><</button><span>
    <img src="#" alt=1></img><img src="#" alt=2></img><img src="#" alt=3></img><img src="#" alt=4></img><img src="#" alt=5></img><img src="#" alt=6></img><img src="#" alt=7></img><img src="#" alt=8></img>
    </span><button>></button></div>
    </body>
    </html>
      

  5.   

    有很多实例可以下载哦,楼的可以试试,只需要把jpg从库里读出来哦,这个自己写啦!
      

  6.   

    这样的效果 JQUERY插件外面多了去
    高手也不能帮你白做啊
    你是研究代码就去搜索源代码 你要商业运作就出钱找人做