Posted on 2006-11-14 11:26
W.R 閱讀(2338)
評論(1) 編輯 收藏 所屬分類:
支持技術(shù)
<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)"設(shè)置透明度。
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>