• ASP.net:flash 加超链接


          网上找了很多相关资料,但没有一个能很好的解决我的问题;借鉴人家思路,把写好的页面源码贴出;以备后用!

    <!--Flash开始-->
    <table border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <div id="masker1" style="z-index: -1; padding: 0px; clear: both;">
                    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
                        width="<%=flashWidth %>" height="<%=flashHeight %>" id="Object2">
                        <param name="allowScriptAccess" value="sameDomain" />
                        <param name="movie" value="<%=flashUrl %>" />
                        <param name="wmode" value="transparent" />
                        <param name="scale" value="exactfit" />
                        <param name="quality" value="high" />
                        <param name="bgcolor" value="#333" />
                        <param name="menu" value="true" />
                        <param name="align" value="top" />
                        <param name="wmode" value="opaque" />
                        <embed src="<%=flashUrl %>" name="embedmid" allowscriptaccess="sameDomain" type="application/x-shockwave-flash"
                            pluginspage="http://www.adobe.com/go/getflashplayer" menu="false" quality="high"
                            wmode="transparent" width="<%=flashWidth %>" height="<%=flashHeight %>" align="top" />
                    </object>
                </div>
                <div id="masker2" style="z-index: 1; padding: 0px; clear: both; cursor: hand; visibility: visible;">
                    <a href="<%=LinkUrl %>" target="<%=LinkTarget %>" hidefocus>
                        <img src="<%=blankImgUrl %>" width="<%=flashWidth %>" height="<%=flashHeight %>"
                            border="0" alt="" /></a>
                </div>

                <script type="text/javascript">
                    var obj = document.getElementById("masker2");
                    obj.style.marginTop = "-<%=flashHeight %>";
                </script>

            </td>
        </tr>
    </table>
    <!--Flash结束-->

  • 相关阅读:
    java静态内部类的作用
    java CountDownLatch 控制异步和同步
    @PostConstruct注解
    Springboot bean初始化方法InitializingBean
    logback同时输出到控制台和文件,并按级别输出到不同的文件配置开箱即用
    记录一次Curator操作zookeeper的错误
    海豚调度DolphinScheduler源码分析(一)
    npm WARN config global `global`, `local` are deprecated. Use `location解决方法
    kafka单机环境搭建及其基本使用
    Ubuntu下使用国内源安装Docker
  • 原文地址:https://www.cnblogs.com/zhanghaichang/p/1967304.html
Copyright © 2020-2023  润新知