网页设计问题
来源:互联网 发布:淘宝专业配图 编辑:程序博客网 时间:2024/05/20 19:45
好多网页中都有一个模块,就是几幅图片依次在一个区域轮换显示,通过点击图片可以连接到指定的网页中,我在”搜狐体育“的网页中找出了部分代码如下。哪位知道这是怎么实现的可以教一下我吗!可以的话把完整的源代码给我学习学习!!谢谢了!
<div id="flashcontent01"></div>
<script type="text/javascript">
var speed =15000;
var pics='http://i4.itc.cn/20090506/76c_83f05023_1daa_430f_bab6_84da7a634dab_0.jpg|http://i6.itc.cn/20090506/76c_51a0789f_c896_442a_9206_368f7e779db0_0.jpg|http://i8.itc.cn/20090506/547_4fcb52bc_ca88_488e_9575_fc2062532fe4_0.jpg|http://i4.itc.cn/20090506/76c_b1c8dbf9_a372_4801_bc8a_f5fa07bbd8ae_0.jpg|http://photocdn.sohu.com/focusUp/20090506/1122462652052308741.jpg|http://i4.itc.cn/20090505/76c_daf0e266_a8b9_49c6_8483_d1c689ec9c04_0.jpg|http://photocdn.sohu.com/focusUp/20090506/10092904316531778.jpg';
var mylinks='http://sports.sohu.com/20090506/n263793602.shtml|http://sports.sohu.com/20090506/n263794142.shtml|http://pic.sports.sohu.com/group-155240.shtml|http://pic.sports.sohu.com/group-155289.shtml|http://sports.sohu.com/20090506/n263802205.shtml|http://sports.sohu.com/20090505/n263782456.shtml|http://sports.sohu.com/20090505/n263766247.shtml';
var texts='火箭备战 巴蒂尔伤痕清晰可见|火箭备战 姚明:我的膝盖没问题|骑士vs老鹰 詹姆斯咆哮|掘金战小牛 马丁扫堂腿险伤天王|联盟最受欢迎拉拉队美女|独家组图详解姚明受伤全过程|詹姆斯力压科比当选常规赛MVP';
var sohuFlash2 = new sohuFlash("http://sports.sohu.com/upload/NBAIindex090304/focus.swf","flashcontent01","290","345","8","#ffffff");
sohuFlash2.addParam("quality", "high");
//sohuFlash2.addParam("salign", "t");
sohuFlash2.addParam("wmode", "opaque");
sohuFlash2.addVariable("speed",speed);
sohuFlash2.addVariable("p",pics);
sohuFlash2.addVariable("l",mylinks);
sohuFlash2.addVariable("icon",texts);
sohuFlash2.write("flashcontent01");
</script>
</div>
- 网页设计问题搜集
- 网页设计问题
- 网页设计问题大搜集
- 网页设计问题大搜集
- 网页设计问题大搜集
- 网页设计中的自动换行问题
- 网页设计中的自动换行问题
- 网页布局设计的尺寸问题
- 网页设计中中文乱码的问题
- 网页设计过程中遇到的问题!
- 网页设计过程中遇到的问题!
- 网页设计问题,小马全知道
- 网页设计
- 网页设计
- 网页设计
- 网页设计
- 网页设计
- 网页设计
- 大家好
- 虚方法与抽象方法有什么区别
- 5月6日地图下载。同学们要练习!
- mif文件的格式定义(From Altera)(ZZ http://blog.ednchina.com/hustzq/195488/message.aspx#)
- oracle表空间的设计理念
- 网页设计问题
- Cookie
- 内部对象介绍
- ORACLE表空间管理
- mahout
- ASP.NET页面状态管理——ViewState的使用(转)
- JSP内部对象-out
- 边界值分析法
- [双语阅读]调查:法国人花在吃饭睡觉上的时间最多