Rex

——生命不止,奋斗不息。
posts - 27, comments - 8, trackbacks - 0, articles - 0
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

IFRAME透明度的解决

Posted on 2006-11-14 11:26 W.R 阅读(2314) 评论(1)  编辑  收藏 所属分类: 支持技术
<iframe name="add2" allowtransparency="ture" frameBorder="0" MARGINWIDTH="100%" style="filter:alpha(opacity=0)"; height:expression(1); aho:expression(autoResize()); width:100%;" id="mainFrame" src="" ></iframe>
中style="filter.alpha(opacity=0)"设置透明度。


function mychange()
{
  if (document.add1form.typeid.value!=null && document.add1form.typeid.value!="0") {
    document.all["mainFrame"].style.filter = "";
     document.all["mainFrame"].src="<%=request.getContextPath()%>/single_letterAction.do?actionCode=select&typeid="
           + document.add1form.typeid.value +"&Mlever=<%=Mlever%>&Mname=<%=Mname%>";
   }
}

另外在此记下一句话:
<div style="border:1 outset #ffffff; overflow:auto;width:100%;height:250" id="word" contenteditable></div>

评论

# re: IFRAME透明度的解决  回复  更多评论   

2006-11-14 11:51 by 黑咖啡
恭贺新禧!

只有注册用户登录后才能发表评论。


网站导航: