Flash图片展示特效外挂-JW Image Rotator
作者:admin 日期:2010-07-25
最近使用JW Image Rotator发现会莫名其妙的产生黑边,IE有这问题,但是火狐却没有...郁闷!!
但是之前明明是很正常的啊 ,奇怪?难道是ie或者flash有什么更新造成这个情况的...

1. JavaScript写法(从nextgen改写来的)
程序代码
2.embed写法(无黑边)
程序代码
原来想说最新的JW Image Rotator 3.18可以解决这个问题,可是分担没有解决,还会在图片角落产生广告logo,最后用回3.17的版本
但是之前明明是很正常的啊 ,奇怪?难道是ie或者flash有什么更新造成这个情况的...

1. JavaScript写法(从nextgen改写来的)
程序代码 <script type="text/javascript" src="http://andy.diimii.com/wp-content/plugins/nextgen-gallery/admin/js/swfobject.js"></script>
<div id="test1a"><p>The <a href="http://www.macromedia.com/go/getflashplayer">Flash Player</a> and <a href="http://www.mozilla.com/firefox/">a browser with Javascript support</a> are needed..</p></div>
<script type="text/javascript" defer="defer">
var test1b = new SWFObject("http://andy.diimii.com/wp-content/plugins/nextgen-gallery/imagerotator.swf", "test1a", "344", "250", "7", "#000000");
test1b.addVariable("file", "http://andy.diimii.com/wp-content/plugins/nextgen-gallery/nggextractXML.php?gid=1");
test1b.addVariable("rotatetime", "3");
test1b.addVariable("transition", "random");
test1b.addVariable("width", "344");
test1b.addVariable("height", "250");
test1b.write("test1a");
</script>
<div id="test1a"><p>The <a href="http://www.macromedia.com/go/getflashplayer">Flash Player</a> and <a href="http://www.mozilla.com/firefox/">a browser with Javascript support</a> are needed..</p></div>
<script type="text/javascript" defer="defer">
var test1b = new SWFObject("http://andy.diimii.com/wp-content/plugins/nextgen-gallery/imagerotator.swf", "test1a", "344", "250", "7", "#000000");
test1b.addVariable("file", "http://andy.diimii.com/wp-content/plugins/nextgen-gallery/nggextractXML.php?gid=1");
test1b.addVariable("rotatetime", "3");
test1b.addVariable("transition", "random");
test1b.addVariable("width", "344");
test1b.addVariable("height", "250");
test1b.write("test1a");
</script>
2.embed写法(无黑边)
程序代码<embed src="http://andy.diimii.com/wp-content/plugins/nextgen-gallery/imagerotator.swf"
width="344"
height="250"
allowscriptaccess="always"
flashvars="file=http://andy.diimii.com/wp-content/plugins/nextgen-gallery/nggextractXML.php?gid=1&rotatetime=3&transition=random"
/>
<embed src="http://andy.diimii.com/wp-content/plugins/nextgen-gallery/imagerotator.swf"
width="344"
height="250"
allowscriptaccess="always"
flashvars="file=http://andy.diimii.com/wp-content/plugins/nextgen-gallery/nggextractXML.php?gid=1&rotatetime=3&transition=random"
/>
width="344"
height="250"
allowscriptaccess="always"
flashvars="file=http://andy.diimii.com/wp-content/plugins/nextgen-gallery/nggextractXML.php?gid=1&rotatetime=3&transition=random"
/>
<embed src="http://andy.diimii.com/wp-content/plugins/nextgen-gallery/imagerotator.swf"
width="344"
height="250"
allowscriptaccess="always"
flashvars="file=http://andy.diimii.com/wp-content/plugins/nextgen-gallery/nggextractXML.php?gid=1&rotatetime=3&transition=random"
/>
原来想说最新的JW Image Rotator 3.18可以解决这个问题,可是分担没有解决,还会在图片角落产生广告logo,最后用回3.17的版本
评论: 0 | 引用: 0 | 查看次数: 84
发表评论
上一篇
下一篇


文章来自:
Tags: 




