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结束-->

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

奋斗的小壁虎

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值