皮皮网
皮皮网

【jdk源码质量】【怎么下载ce源码】【声卡源码输出设置】广告公司asp源码_广告公司asp源码是什么

时间:2024-11-15 15:52:17 来源:小京东 手机源码

1.ASP图片广告代码

广告公司asp源码_广告公司asp源码是广告公司告<strong>jdk源码质量</strong>什么

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就行,里面的值传入你想从数据库里读的数据即

       å¯ã€‚

更多内容请点击【热点】专栏