flash图片广告轮换代码

<script type=text/网页特效> 

<!--                                                                                                                                 
var interval_time=5 //图片停顿时间,单位为秒,为0则停止自动切换                                                                                                                                 
var focus_width=550 //宽度                                                                                                                                 
var focus_height=230 //高度                                                                                                                                 
var text_height=0 //标题高度                                                                                                                                 
var text_align= 'center' //标题文字对齐方式(left、center、right)                                                                                                                                 
var swf_height = focus_height+text_height //相加之和最好是偶数,否则数字会出现模糊失真的问题                                                                                                                                 

var pics= 'images/06.jpg|images/05.jpg|images/01.jpg|images/02.jpg|images/03.jpg|images/04.jpg'//图片地址                                                                                                                                 
var links='http://mb.111cn.net/tgyh/|http://down.111cn.net|http://www.111cn.net|http://down.111cn.net/|http://www.111cn.net|http://www.111cn.net'//相对于图片的链接地址                                                                                                
var texts='||||||'//标题文字                                                                                              
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');                                                                                                  
document.write('<param name="movie" value="pixviewer.swf"><param name="quality" value="high"><param name="bggroud" value="images/8.gif">');                                                                                                      
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+'&text_align='+text_align+'&interval_time='+interval_time+'">');     
document.write('<embed src="pixviewer.swf" wmode="opaque" flashvars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'&text_align='+text_align+'&interval_time='+interval_time+'" menu="false" bgcolor="#ffffff" 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>

时间: 2024-10-01 23:14:34

flash图片广告轮换代码的相关文章

4屏flash+xml图片广告轮换代码

文章提供这款4屏flash+xml图片广告轮换代码哦,他只能放四张图片,原因它是由flash调用xml文档的图片与连接地址,所以使用起来是很方便的,如果是网速比较慢他还会显示为加载效果. <html> <head> <meta http-equiv="content-type" content="text/html; charset=gb2312"> <title>4屏flash+xml图片广告轮换代码</tit

javascript 图片自动轮换代码

javascript 图片自动轮换代码 // JavaScript Document var sPicArr = new Array(); var gIndex  = new Array(); var sid  = new Array(); var timeout = 6000; var isIe = ('Microsoft Internet Explorer' == navigator.appName); function initSlide(name,timeout1) {  sPicArr

基于jquery实现图片广告轮换效果代码_jquery

效果图:实现代码: 复制代码 代码如下: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="

韩国四屏切换Flash焦点图轮换代码

本文章提供的这款flash焦点图是一款呢,这些焦点图具有韩国风格与风味哦,如果你就下载吧,复制下面的内容保存到dw里成.htm文件就OK了. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o

flash 图片切换效果代码

function fadeTPl_1(co, no) {     currPicObj = co;     nextPicObj = no;     fadingLoop = setInterval(function ()     {         if (nextPicObj._alpha >= 100 && currentPic._alpha <= 0)         {             clearInterval(fadingLoop);           

纯js +css 仿flash 图片切换效果代码

silverlight3的&quot;伪&quot;3D续--图片横向轮换

上一篇里,已经知道了"伪3D"是怎么回事,今天结合以前的做的图片广告轮换,又弄了一个图片切换的小东东,不知道以后有什么用,先贴在这里备份: 效果图: 因为silverlight的xml读取策略等其它原因,没办法直接在博客中贴出来,下面是在线示例地址: http://images.24city.com/jimmy/projection/default.htm 思路: 1.将每个图片以及下面的标题文字,封装成控件  1<UserControl x:Class="Contro

jquery插件orbit.js实现图片折叠轮换特效_jquery

jQuery图片折叠轮换代码,可以点击左右箭头按钮切换图片,漂亮简洁.兼容主流浏览器,phplearn初学者推荐下载! 使用方法: 1.head区域引用文件 jquery.min.js,chuxz.css 2.在文件中加入<!-- 代码 开始 --><!-- 代码 结束 -->区域代码 3.在页面底部引用jq.orbit.js.js, orbit.js 4.复制images文件夹里的图片到相应的路径 <div class="orbit-wrapper"&g

大气flash 图片轮换效果代码

本文章提供一款大气flash 图片轮换效果,本文章只给出部份代码,文章下面提供了完整的源码下载与效果预览,如果你喜欢可以下载去用,很适合于企业站,商城等网幻灯片. <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http