闪存功能在Chrome中工作但在IE8

闪存功能在Chrome中工作但在IE8

本文介绍了闪存功能在Chrome中工作但在IE8,IE9中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

点击flash图片我想重定向到一个特定的网页,以下代码在chrome中工作,但在IE8,IE9中无法正常工作...如何在IE8,IE9中运行代码?



on clicking flash image i want to redirect to a particular web page the following code is working in chrome but not working in IE8 ,IE9...how to code to work in IE8,IE9?

<td style="width:965px; height: 80px;"><!--<td style="width: 100%; height: 65px;">-->


  <div style="removed: absolute; removed 45px; removed 55px; height: 80px; width:201px;">
       <object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"

height="80" width="140" style=" border-left:-9px solid #99ccff;" classid="clsid:D27CDB6EAE6D-11cf-96B8-444553540000">
<param name="_cx" value="3175" />
<param name="_cy" value="1720" />
<param name="Movie" value="Movie1.swf" />
<param name="Src" value="Movie1.swf" />
<param name="WMode" value="Window" />
<param name="Play" value="-1" />
<param name="Loop" value="-1" />
<param name="Quality" value="High" />
<param name="SAlign" value="" />
<param name="Menu" value="-1" />
<param name="Base" value="" />
<param name="Scale" value="ShowAll" />
<param name="DeviceFont" value="0" />
<param name="EmbedMovie" value="0" />
<param name="BGColor" value="" />
<param name="SWRemote" value="" />


<embed src="Movie1.swf" width="140" height="80" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"

											type ="application/x-shockwave-flash"> </embed>


</object>
 </div>
 <div style="removed: absolute; removed 45px; removed 55px; height: 80px; width: 200px;">
    onclick="document.location = 'index.aspx';">
  </div></td></td>

推荐答案

// instead of onclick="document.location = 'index.aspx';"
onclick = "document.location.href = 'index.aspx';"> 





* 注意:您的标签格式不正确,打开click不是div元素中的嵌套属性!



干杯,

Edo



* NOTE: your tags are not well formatted, the onclick is not nested property in the div element!

Cheers,
Edo


这篇关于闪存功能在Chrome中工作但在IE8,IE9中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 01:54