我们知道网页里常常要加一些swf 格式的flash广告,通常做法是在flash里加入动作,例如getURL(”http://www.eroading.com”); 在此向你介绍另一种方法,不用修改flash,用button直接为flash加入链接,非常简单。
  
    
        
            |   以下为引用的内容: 
              <button style=”width:你的FLASH宽度;height:你的FLASH高度;background:transparent;border:o;padding:0;cursor:hand” onclick=”window.location.href=’链接地址’”>   <object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&PRIMe; codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0&PRIMe; width=”460&PRIMe; height=”145&PRIMe;><param name=”movie” value=”test.swf”>
 <param name=”quality” value=”high”>
 <param name=”wmode” value=”transparent”>
 <embed src=”test.swf”  quality=”high” pluginspage=”http://www.macromedia.com/go/getflashplayer” type=”application/x-shockwave-flash” wmode=”transparent”></embed>
 </object>
   </button> | 
    
	类别:HTML,ASP,JSP,PHP  来源:本站原创  作者:hpping  日期:2009-06-24 15:44
		          上一条:XHTML+CSS建站如何调用样式表
下一条:HTML5定稿了,为什么原生App世界将被颠覆