日期:2014-05-18  浏览次数:20407 次

图片轮翻播放??????????
在.net中如何实现这个效果,是不是用JS做?有没有相应的代码参考下??谢谢
   
      效果类似于http://tech.sina.com.cn/mobile/     中左边的图片翻转效果、、


------解决方案--------------------
<script type= "text/javascript ">
<!--

var focus_width=260
var focus_height=164
var text_height=25
var swf_height = focus_height+text_height

var pics= 'http://image2.sina.com.cn/ty/U346P6T29D1F3463DT20051205120604.jpg|http://image2.sina.com.cn/ty/U346P6T29D1F3465DT20051205120604.jpg '
var links= 'http://sports.sina.com.cn/z/chinaoverseas/|http://sports.sina.com.cn/z/chinaoverseas/ '
var texts= '孙继海庆祝曼城大胜|邵佳一难以挽回败局 '

document.write( ' <object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 " codebase= "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 " width= " '+ focus_width + ' " height= " '+ swf_height + ' "> ');
document.write( ' <param name= "allowScriptAccess " value= "sameDomain "> <param name= "movie " value= "http://image2.sina.com.cn/bj/zonghe/pixviewer.swf ";> <param name= "quality " value= "high "> <param name= "bgcolor " value= "#DADADA "> ');
document.write( ' <param name= "menu " value= "false "> <param name=wmode value= "opaque "> ');
document.write( ' <param name= "FlashVars " value= "pics= '+pics+ '&links= '+links+ '&texts= '+texts+ '&borderwidth= '+focus_width+ '&borderheight= '+focus_height+ '&textheight= '+text_height+ ' "> ');
document.write( ' <embed src= "http://image2.sina.com.cn/bj/zonghe/pixviewer.swf "; wmode= "opaque " FlashVars= "pics= '+pics+ '&links= '+links+ '&texts= '+texts+ '&borderwidth= '+focus_width+ '&borderheight= '+focus_height+ '&textheight= '+text_height+ ' " menu= "false " bgcolor= "#DADADA " quality= "high " width= " '+ focus_width + ' " height= " '+ swf_height + ' " allowScriptAccess= "sameDomain " type= "application/x-shockwave-flash " pluginspage= "http://www.macromedia.com/go/getflashplayer "; /> '); document.write( ' </object> ');

//-->
</script>
------解决方案--------------------
很简单的,我抄过csdn的。你要短信 我,发一份给你!