zoukankan      html  css  js  c++  java
  • 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结束-->

  • 相关阅读:
    C#利用反射动态调用类及方法
    系统程序监控软件
    SQL server 2008 安装和远程访问的问题
    sql server 创建临时表
    IIS 时间问题
    windows 2008 安装 sql server 2008
    sql server xml nodes 的使用
    Window 7sp1 安装vs2010 sp1 打开xaml文件崩溃
    CSS资源网址
    Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0
  • 原文地址:https://www.cnblogs.com/zhanghaichang/p/1967304.html
Copyright © 2011-2022 走看看