YUI panel在IE不能正常显示

alinglau 2010-01-26 02:17:27
各位大侠
本人用YUI写了一个在页面弹出popop,在FIREFOX能正常显示,但在IE上不能正常显示,样式拿不到,请问是什么原因呢?
代码如下:

<a id="showBubble" href="javascript:popupSeatMapWindow();">Show Bubble</a>

<div id="divSeatMapPopup">
<div class="hd"><div class="tl"></div><img src="img/tip_icon.gif" /><span>Seat Map</span><div class="tr"></div></div>
<div class="bd">This is a Panel that was marked up in the document.<a href="" onclick="YAHOO.test.container.myPanel.hide()">Close Window</a></div>
<div class="ft"><div class="bl"></div><div class="br"></div></div>
</div>


<script type="text/javascript">
function popupSeatMapWindow()
{

YAHOO.namespace("container");
YAHOO.test.container.myPanel = new YAHOO.widget.Panel("divSeatMapPopup",
{ width:"720px", height:"501px", visible:false, constraintoviewport:true, underlay:"shadow", fixedcenter:true, modal:true, draggable:false, close: true} );
YAHOO.test.container.myPanel.render();
YAHOO.test.container.myPanel.show();
}
</script>




在FIREFOX正常显示的情况


在IE不能正常显示的情况
...全文
112 2 打赏 收藏 举报
写回复
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
alinglau 2010-01-27
  • 打赏
  • 举报
回复
谢谢楼上的帮顶,看来很冷清
lovesi3344 2010-01-26
  • 打赏
  • 举报
回复
帮顶
相关推荐
发帖
JavaScript

8.7w+

社区成员

Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
帖子事件
创建了帖子
2010-01-26 02:17
社区公告
暂无公告