• 给flash加上连接


    <div style="z-index:-1">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="300" height="60" title="flash">
              <param name="movie" value="<%= ResolveUrl("~/xxx.swf") %>" />
              <param name="quality" value="high" />
              <embed src="<%= ResolveUrl("~/xxx.swf") %>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="300" height="60"></embed>
              <param name="wmode" value="transparent">
            </object>
    </div>
    <div id="shdiv" style="cursor: pointer; position:absolute; left:20px; top:50px; 300px; height:60px; z-index:1; visibility: visible;"><a href="<%= ResolveUrl("~/Default.aspx?id=xx")%>">
    <asp:Image ID="image1" runat="server" ImageUrl="~/kong.gif" Width="300" Height="60" /></a></div>

    说明:第一个div是放swf文件的,并让它透明(transparent),此div的z-index为-1;放在底层.
           第二个div是个超级连接的作用,但要放张gif的透明图片,宽高和swf文件一样,z-index为1,放在上层.
           这样就可以了.
  • 相关阅读:
    POJ Problem 1363 Rails 【栈】
    POJ Problem 3040 Allowance 【贪心】
    ACM 程序对拍
    HDU Problem
    POJ
    HDU Problem
    HDU Problem—2124 Repair the Wall 【贪心】
    HDU Problem 1052 Tian Ji -- The Horse Racing 【贪心】
    POJ Problem Radar Installation 【贪心】
    Beyond Compare和输出文件比较的方法
  • 原文地址:https://www.cnblogs.com/qfb620/p/1082498.html
Copyright © 2020-2023  润新知