网上闲逛的时候发现一个Flash焦点图效果,跟喜欢,然后就下载回来,收集在这里,以便以后方便取用。这个Flash使用方法也是相当简单的,如果你喜欢,也可以从这里查看源代码下载。
Flash 焦点图效果
使用方法
在页面上加入这段HTML代码即可。
1 |
< embed width = "522" height = "245" flashvars="image=../images/1_min.jpg| |
2 |
../images/2_min.jpg|../images/3_min.jpg|../images/4_min.jpg| |
5 |
&info=欢迎访问简明现代魔法|欢迎访问简明现代魔法|欢迎访问简明现代魔法|欢迎访问简明现代魔法|& stopTime = 3000 " wmode = "opaque" quality = "high" name = "27" id = "27" src = "swf/demo001.swf" type = "application/x-shockwave-flash" ></ embed > |
02 |
var sohuFlash2 = new sohuFlash( "/web/Tpl/default/Public/flash/demo001.swf" , "27" , 522, 245, "7" ); |
03 |
sohuFlash2.addParam( "quality" , "high" ); |
04 |
sohuFlash2.addParam( "wmode" , "opaque" ); |
05 |
sohuFlash2.addVariable( "image" ,"../images/1_min.jpg|../images/2_min.jpg| |
06 |
../images/3_min.jpg|../images/4_min.jpg|"); |
07 |
sohuFlash2.addVariable( "url" ,"http: |
09 |
sohuFlash2.addVariable( "info" , "欢迎访问简明现代魔法|欢迎访问简明现代魔法|欢迎访问简明现代魔法|欢迎访问简明现代魔法|" ); |
10 |
sohuFlash2.addVariable( "stopTime" , "4000" ); |
11 |
sohuFlash2.write( "sasFlashFocus27" ); |