[查看演示] 源码如下 ---------------------------------------------------------- <HTML>
<HEAD>
<TITLE>iframe调用时如何让背景透明-www.51windows.Net</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META NAME="Author" CONTENT="51windows,海娃,haiwa">
<META NAME="Description" CONTENT="Power by 51windows.Net">
</HEAD>
<BODY>
<P> <Iframe src="transparent.htm" allowtransparency="true"></Iframe><BR> transparent.htm<BR> <body style="background-color:transparent"></P><P> 参考<a target=_blank href=http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/allowTransparency.htm>http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/allowTransparency.htm</a></P>
</BODY>
</HTML>
<div style="position: absolute; top: 10; right: 10; width: 148; height: 18;cursor:hand">
<input type="button" name="Button" value="查看源代码" onClick= 'window.location = "view-source:" + window.location.href'></div> |