不太清楚
也许不要用 DISPLAY:none 而改用以下方法:<script language="javascript">
function keyDown(e) 
{
if (event.srcElement.tagName=='IFRAME' 
&& event.clientX==-1 
&& event.clientY==-1 
&& event.fromElement=='[object]')
{
window.focus();
thetd.innerHTML="(#IFrame广告#)";//这行改过
yAd.style.display = "none";
}
return false;

document.onmousemove=keyDown; 
document.onmouseover=keyDown ;
document.onmouseout=keyDown ;
document.onblur=keyDown;
</script><div id=yAd> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr > 
<td align=left>(#IFrame广告#)</td>
</tr>
</table>
</div><div id=oUrl style="DISPLAY: none"> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr> 
      <td id=thetd></td> <!---------------这行修改过---------------->
    </tr>
  </table>
</div>有成功的可能

解决方案 »

  1.   

    错了,<div id=oUrl style="DISPLAY: none"> 中的 style="DISPLAY: none" 应该去掉
      

  2.   

    好象还是不行哦 在GreenBrowser和MYIE里试了一下把激活新窗口关上还是不行。
    是不是浏览器的BUG~:( 烦恼!
      

  3.   

    如果是这样写就可以,是不是IFRAME的问题?但是我的广告部分是百度的内容,是在IFRAME里面的!怎么解决呢~<SCRIPT language=JavaScript type=text/javascript>
    function will() {
    if (event.srcElement.tagName=='A'||event.srcElement.tagName=='IMG') {
    window.focus();
    oUrl.style.display = "";
    yAd.style.display = "none";
    }
    }
    </SCRIPT><div id=yAd> 
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr > 
    <td align=left><SPAN id=A onclick=will()><A onclick=will() href="" target=_blank>
    <script src="http://www.4.ads99.net/banner.php?userid=htymm"></script></A></SPAN></td>
    </tr>
    </table>
    </div><div id=oUrl  style="DISPLAY: none"> 
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr> 
    <td>(#真正地址#)</td>
    </tr>
    </table>
    </div>