可多网站上面的那个图片的浏览郊果是怎么做的。
可多网站上面的那个图片的浏览郊果是怎么做的,就是那种图片右下方有12345不点的时候图片自己翻页,点12345就会点哪个出来哪个?
参考答案:那是一个代码特效:代码如下,
<SCRIPT type=text/javascript>
<!--
var focus_width=302
var focus_height=161
var text_height=23
var swf_height = focus_height+text_height
var pics=''
var links=''
var texts='纤尘不染的米科诺斯|去埃及见证爱情|体会罗密欧与朱丽叶的忧郁色彩|巴塞隆那率性放浪血脉沸腾'
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=",0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value=""><param name="quality" value="high"><param name="bgcolor" value="#F9F400">');
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+'">');
document.write('<embed src="" />'); document.write('</object>');
//-->
</SCRIPT>
不过你要把哪FLASH也要下载来放到自己网站上比较好,因为免得人家网站有问题你的网页不能正常显示.
参考资料: