这种效果diy怎么实现
下面是他们的源码!fashion.swf文件和图片我都弄好的!- <!--[diy=comiis_pd_skms_015]--><div id="comiis_pd_skms_015" class="area"><div id="frameC9LsEZ" class=" frame move-span cl frame-1"><div id="frameC9LsEZ_left" class="column frame-1-c"><div id="frameC9LsEZ_left_temp" class="move-span temp"></div><div id="portal_block_5392" class="block move-span"><div id="portal_block_5392_content" class="dxb_bc"><div id="flashionFlash"></div>
- <script type="text/javascript">
- var so = new SWFObject("comiis_pd_skms/fashion.swf", "flashionphoto", "945", "410", "6", "#ffffff", true);
- var infoArr = new Array();
- var img_names = "美食美刻——乡下窑鸡窑番薯|美食美刻——草根阶层的经济菜|我是吃货我骄傲:揭西棉湖肠粉料过充足个!有|美食美刻——蛋挞|求问!揭阳哪里有山东煎饼???|美食美刻——吃什么清肺最快 (吸烟的朋友一|美食每刻--温馨晚餐|来点自己做的原味蛋挞|自制仙草奶茶~奶茶控们自己动手吧";
- var img_links = "forum.php?mod=viewthread&tid=1075459|forum.php?mod=viewthread&tid=1079364|forum.php?mod=viewthread&tid=900421|forum.php?mod=viewthread&tid=1080214|forum.php?mod=viewthread&tid=1080206|forum.php?mod=viewthread&tid=1075327|forum.php?mod=viewthread&tid=1079634|forum.php?mod=viewthread&tid=1077321|forum.php?mod=viewthread&tid=907231";
- img_links = img_links.replace(/&/g,"%26");
- var thumb_images = "http://att.0663.net/block/50/50c933c1485e226c084a1d1053ebbb8c.jpg|http://att.0663.net/block/47/47cd82d914e08b22ac8474d269afd703.jpg|http://att.0663.net/block/e4/e4ce37175db460544bb990943b372ac6.jpg|http://att.0663.net/block/8e/8eecbb1f2e2089bf00574facaa0f0bd5.jpg|http://att.0663.net/block/6a/6ad540a920eee7f4f38e84fa0aa63fc6.jpg|http://att.0663.net/block/48/4857448bd8f31b89083ce8d1a1815eae.jpg|http://att.0663.net/block/df/df2b21cd48ce444630a5dd387bbd4a0c.jpg|http://att.0663.net/block/c3/c30aaa23f2fd1688f71b6dad6c84b653.jpg|http://att.0663.net/block/34/34958a8e7a995a8478db405f31f466ac.jpg";
- so.addParam("quality", "best");
- so.addParam("allowScriptAccess", "sameDomain");
- so.addParam("wmode", "transparent");
- so.addVariable("img_names", img_names);
- so.addVariable("img_links", img_links);
- so.addVariable("thumb_images", thumb_images);
- so.write("flashionFlash");
- </script>
- <div style="DISPLAY: none;"><a title="美食美刻——乡下窑鸡窑番薯" target="_blank"><img src="http://att.0663.net/block/50/50c933c1485e226c084a1d1053ebbb8c.jpg" width="500" height="330" alt="美食美刻——乡下窑鸡窑番薯" /></a><a title="美食美刻——草根阶层的经济菜" target="_blank"><img src="http://att.0663.net/block/47/47cd82d914e08b22ac8474d269afd703.jpg" width="500" height="330" alt="美食美刻——草根阶层的经济菜" /></a><a title="我是吃货我骄傲:揭西棉湖肠粉料过充足个!有图有真相!" target="_blank"><img src="http://att.0663.net/block/e4/e4ce37175db460544bb990943b372ac6.jpg" width="500" height="330" alt="我是吃货我骄傲:揭西棉湖肠粉料过充足个!有图有真相!" /></a><a title="美食美刻——蛋挞" target="_blank"><img src="http://att.0663.net/block/8e/8eecbb1f2e2089bf00574facaa0f0bd5.jpg" width="500" height="330" alt="美食美刻——蛋挞" /></a><a title="求问!揭阳哪里有山东煎饼???" target="_blank"><img src="http://att.0663.net/block/6a/6ad540a920eee7f4f38e84fa0aa63fc6.jpg" width="500" height="330" alt="求问!揭阳哪里有山东煎饼???" /></a><a title="美食美刻——吃什么清肺最快 (吸烟的朋友一定要看)." target="_blank"><img src="http://att.0663.net/block/48/4857448bd8f31b89083ce8d1a1815eae.jpg" width="500" height="330" alt="美食美刻——吃什么清肺最快 (吸烟的朋友一定要看)." /></a><a title="美食每刻--温馨晚餐" target="_blank"><img src="http://att.0663.net/block/df/df2b21cd48ce444630a5dd387bbd4a0c.jpg" width="500" height="330" alt="美食每刻--温馨晚餐" /></a><a title="来点自己做的原味蛋挞" target="_blank"><img src="http://att.0663.net/block/c3/c30aaa23f2fd1688f71b6dad6c84b653.jpg" width="500" height="330" alt="来点自己做的原味蛋挞" /></a><a title="自制仙草奶茶~奶茶控们自己动手吧" target="_blank"><img src="http://att.0663.net/block/34/34958a8e7a995a8478db405f31f466ac.jpg" width="500" height="330" alt="自制仙草奶茶~奶茶控们自己动手吧" /></a></div></div></div></div></div></div><!--[/diy]-->
复制代码 下面是我写是DIY- <div id="flashionFlash"></div>
- <script type="text/javascript">
- var so = new SWFObject("eopn_net/Plate/floor/xkfood/fashion.swf", "flashionphoto", "945", "410", "6", "#ffffff", true);
- var infoArr = new Array();
- var img_names = "[index=1]{title}[/index]|[index2=2]{title}[/index2]|[index3=3]{title}[/index3]|[index4=4]{title}[/index4]|[index5=5]{title}[/index5]|[index6=6]{title}[/index6]|[index7=7]{title}[/index7]|[index8=8]{title}[/index8]";
- var img_links = "[index=1]{url}[/index]|[index2=2]{url}[/index2]|[index3=3]{url}[/index3]|[index4=4]{url}[/index4]|[index5=5]{url}[/index5]|[index6=6]{url}[/index6]|[index7=7]{url}[/index7]|[index8=8]{url}[/index8]";
- img_links = img_links.replace(/&/g,"%26");
- var thumb_images = "[index=1]{pic}[/index]|[index2=2]{pic}[/index2]|[index3=3]{pic}[/index3]|[index4=4]{pic}[/index4]|[index5=5]{pic}[/index5]|[index6=6]{pic}[/index6]|[index7=7]{pic}[/index7]|[index8=8]{pic}[/index8]";
- so.addParam("quality", "best");
- so.addParam("allowScriptAccess", "sameDomain");
- so.addParam("wmode", "transparent");
- so.addVariable("img_names", img_names);
- so.addVariable("img_links", img_links);
- so.addVariable("thumb_images", thumb_images);
- so.write("flashionFlash");
- </script>
- <div style="DISPLAY: none;">
- [index=1]
- <a href="{url}" title="{title}" target="_blank"><img src="{pic}" width="500" height="330" alt="{title}" /></a>
- [/index][index2=2]
- <a href="{url}" title="{title}" target="_blank"><img src="{pic}" width="500" height="330" alt="{title}" /></a>
- [/index2][index3=3]
- <a href="{url}" title="{title}" target="_blank"><img src="{pic}" width="500" height="330" alt="{title}" /></a>
- [/index3][index4=4]
- <a href="{url}" title="{title}" target="_blank"><img src="{pic}" width="500" height="330" alt="{title}" /></a>
- [/index4][index5=5]
- <a href="{url}" title="{title}" target="_blank"><img src="{pic}" width="500" height="330" alt="{title}" /></a>
- [/index5][index6=6]
- <a href="{url}" title="{title}" target="_blank"><img src="{pic}" width="500" height="330" alt="{title}" /></a>
- [/index6][index7=7]
- <a href="{url}" title="{title}" target="_blank"><img src="{pic}" width="500" height="330" alt="{title}" /></a>
- [/index7][index8=8]
- <a href="{url}" title="{title}" target="_blank"><img src="{pic}" width="500" height="330" alt="{title}" /></a>[/index8]</div>
复制代码 |