【红色指标公式源码】【安卓绘制风车源码】【体脂率网站源码】asp 图片源码

2024-11-08 05:34:46 来源:jade源码解析 分类:时尚

1.ASP图片广告代码

asp 图片源码

ASP图片广告代码

       <script type="text/javascript">

        <!--

        var focus_width=;

        var focus_height=;

        var text_height=0;

        var swf_height = focus_height+text_height;

        var pics='../images/index1.jpg|../images/index2.jpg|../images/index3.jpg|../images/index4.jpg|../images/index5.jpg'

        var links='../images/index1.jpg|../images/index2.jpg|../images/index3.jpg|../images/index4.jpg|../images/index5.jpg'

        document.write('<object ID="focus_flash" classid="clsid:dcdb6e-ae6d-cf-b8-" codebase="/pub/shockwave/cabs/flash/swflash.cab#version=6,片源红色指标公式源码0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');

        document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="../swf/focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#FFFFFF">');

        document.write('<param name="menu" value="false"><param name=wmode value="opaque">');

        document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');

        document.write('<embed src="../swf/focus.swf" ID="focus_flash" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#C5C5C5" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="/go/getflashplayer" />');

        document.write('</object>');

        //-->

        </script>

       åœ¨ä½ è¦è¾“出的地方输出这段js就可以,pics是你那几张图片的路径,links是你

       ç‚¹å‡»å›¾ç‰‡è¿žæŽ¥åˆ°çš„路径,是一一对应的。如果你想从数据库里读取图片,只需

       è¦åœ¨åŽå°å†™ä»£ç è¾“出这段js就行,里面的值传入你想从数据库里读的数据即

       å¯ã€‚

本文地址:http://5o.net.cn/html/99f59099310.html 欢迎转发