网页里的框架为什么不显示?

一个页面有

1<iframe frameborder="0" height="100%" marginwidth="0" scrolling="no" src="index.htm" width="100%"></iframe>

为什么点页面一个显示层的菜单函数,这个框架就不显示,然后再点有框架的地方,它有显示了?
---------------------------------------------------------------

这是梅花雨提供的一只方法
var oPopup = window.createPopup();
function popUp(file)
{
oPopup.document.body.innerHTML="

1<img id="mypopup" src='"+file+"'/>

";
oPopup.show(window.screenLeft,window.screenTop,1,1);
setTimeout('oPopup.show(window.screenLeft,window.screenTop,oPopup.document.all.mypopup.width,oPopup.document.all.mypopup.height);',500);
}

Published At
Categories with Web编程
Tagged with
comments powered by Disqus