【怎么源码文件后台】【lnmp源码安装 sentos】【yy软件源码开源】asp 图片源码

时间:2024-11-13 15:28:09 来源:吉林网页直播系统源码 编辑:android收银源码

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

       å¯ã€‚

copyright © 2016 powered by 皮皮网   sitemap