标题:
求高手帮忙
[打印本页]
作者:
caoxing88
时间:
2009-1-12 13:25
标题:
求高手帮忙
想做个随机广告,但转换的时候GIF格式的图片显示下出来,只能显示JPG格式,请问如何才能支持GIF格式SWF格式,也就是支持动画的.
代码如下:
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div id=oTransContainer
style="FILTER: progid
XImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=0, motion='forward'); WIDTH: 165px; HEIGHT: 103px"><a
href="http://www.sosopc.com.cn"
target=_blank><img class=pic id=oDIV1
style="BORDER-RIGHT: white 1px solid; BORDER-TOP: white 1px solid; BORDER-LEFT: white 1px solid; BORDER-BOTTOM: white 1px solid"
height=90 src="img/01.gif"
width=950 border=0>
<script>var NowFrame = 1;var MaxFrame = 5;var bStart = 0;function fnToggle(){var next = NowFrame + 1;if(next == MaxFrame+1) {NowFrame = MaxFrame;next = 1;}if(bStart == 0){bStart = 1;setTimeout('fnToggle()', 2000);return;}else{oTransContainer.filters[0].Apply();document.images['oDIV'+next].style.display = "";document.images['oDIV'+NowFrame].style.display = "none";oTransContainer.filters[0].Play(duration=2);if(NowFrame == MaxFrame){NowFrame = 1;}else{NowFrame++;}} setTimeout('fnToggle()', 6000);}fnToggle();</script>
</a><a
href="http://www.sosopc.com.cn"
target=_blank><img class=pic id=oDIV2
style="BORDER-RIGHT: white 1px solid; BORDER-TOP: white 1px solid; DISPLAY: none; BORDER-LEFT: white 1px solid; BORDER-BOTTOM: white 1px solid"
height=90 src="img/02.jpg"
width=950 border=0></a><a
href="http://www.sosopc.com.cn"
target=_blank><img class=pic id=oDIV3
style="BORDER-RIGHT: white 1px solid; BORDER-TOP: white 1px solid; DISPLAY: none; BORDER-LEFT: white 1px solid; BORDER-BOTTOM: white 1px solid"
height=90 src="img/03.jpg"
width=950 border=0></a><a
href="http://www.sosopc.com.cn"
target=_blank><img class=pic id=oDIV4
style="BORDER-RIGHT: white 1px solid; BORDER-TOP: white 1px solid; DISPLAY: none; BORDER-LEFT: white 1px solid; BORDER-BOTTOM: white 1px solid"
height=90 src="img/04.jpg"
width=950 border=0></a><a
href="http://www.sosopc.com.cn"
target=_blank><img class=pic id=oDIV5
style="BORDER-RIGHT: white 1px solid; BORDER-TOP: white 1px solid; DISPLAY: none; BORDER-LEFT: white 1px solid; BORDER-BOTTOM: white 1px solid"
height=90 src="img/05.jpg"
width=950 border=0></a></div></td>
</tr>
</table>
作者:
Nothing
时间:
2009-1-16 00:46
一些图片的滤镜不支持GIF和FLASH。
欢迎光临 编程开发论坛 (http://bbs.lihuasoft.net/)
Powered by Discuz! 6.0.0