pic player
there is a pic-player
<script> <BR> var p = $('#picplayer'); <BR> var pics1 = [{url:'http://img.jb51.net/online/picPlayer/1.jpg',link:'http://www.jb51.net/#',time:5000},{url:'http://img.jb51.net/online/picPlayer/2.jpg',link:'http://www.jb51.net/#',time:4000},{url:'http://img.jb51.net/online/picPlayer/3.jpg',link:'http://www.jb51.net',time:6000},{url:'http://img.jb51.net/online/picPlayer/2.jpg',link:'http://www.jb51.net',time:6000},{url:'http://img.jb51.net/online/picPlayer/1.jpg',link:'http://www.jb51.net',time:6000}]; <BR> initPicPlayer(pics1,p.css('width').split('px')[0],p.css('height').split('px')[0]); <BR> // <BR> // <BR> function initPicPlayer(pics,w,h) <BR> { <BR> //选中的图片 <BR> var selectedItem; <BR> //选中的按钮 <BR> var selectedBtn; <BR> //自动播放的id <BR> var playID; <BR> //选中图片的索引 <BR> var selectedIndex; <BR> //容器 <BR> var p = $('#picplayer'); <BR> p.text(''); <BR> p.append('<div id="piccontent"></script>