1.<iframe>소스 안에 다음을 추가
<iframe allowTransparency="true"></iframe>
2. iframe에 불려질 문서의 body 안에 배경 투명하게 해주는 태그삽입
<body style="background-color:transparent">
익스 5.5 이상에서만 됨
페이지 로딩하는데 2.75 초 걸렸슴다.
플래쉬에서만 이런효과 보셨죠..이젠 쉽게 홈페이지에 쓰세요.
아참 익스에서만 됩니다..
-----------------------------------------------------
[ 페이지 로딩 시간 보여주기 ]
<html>
<head><title></title>
</head>
<body id=body bgcolor=black link=blue vlink=blue alink=blue>
<div id=ld style=color:white>
<br><br><br><center>
<h1>접속중...</h1>
<table width=50%><tr><td align=left>
<table id=lpc bgcolor=blue><tr><td> </td></tr></table>
</td></tr></table>
</center>
</div>
<div style=display:none id=page>
<h1>여기는 자바월드</h1>
<hr><br>
<b><big>페이지 로딩하는데 <q id=q></q> 초 걸렸슴다.</big></b>
<br><br><br>
<font size="2">플래쉬에서만 이런효과 보셨죠..이젠 쉽게 홈페이지에 쓰세요.<br>
아참 익스에서만 됩니다용~</font>
</div>
<script language=JavaScript>
<!--
ini = new Date().getTime();
var pc = 0;
load();
function LOAD ()
{
pc += 4;
lpc.style.width = pc + "%";
time = setTimeout("load()",100);
if (pc > 100) { clearTimeout(time); loaded() }
}
function loaded()
{
fim = new Date().getTime();
dif = fim - ini;
ld.style.display = 'none';
body.style.backgroundColor = 'silver';
q.innerHTML = dif/1000;
page.style.display = '';
}
function SHOW ()
{
if (txt.style.display == "none") { txt.style.display = "" }
else { txt.style.display = "none" }
}
//-->
</script>
</body>
</html>
body 에 ondragstart="return false" onselectstart="return false"를 삽입