웹마스터 팁

================================================================
예제보기: http://dong0987.nayes.net/frame1.htm
================================================================




들어갈 소스

=================================================================
먼저 <body> 를 <BODY onLoad="cacheOff()"> --> 요렇게 바꿔줍니다.

=================================================================
그리고 바디와 바디 사이에 이걸 넣어줍니다.

=================================================================

<STYLE TYPE="text/css">
#cache {
    position:absolute;
}
</STYLE>
<DIV ID="cache">
<table border="0" cellPadding="0" cellSpacing="0" width="200">
  <tbody>
    <tr>
      <td bgColor="#bde794" width="200">
        <table border="0" cellPadding="0" cellSpacing="1" width="200">
          <tbody>
            <tr>
              <td height="21" width="705"> <font size="2"><b>로딩중</b></font></td>
            </tr>
            <tr>
              <td bgColor="#ffffff" width="200">
                <table border="0" cellPadding="1" cellSpacing="2" width="75">
                  <tbody>
                    <tr>
                      <td height="16" noWrap width="200">지금은 로딩중입니다.<br>잠시만 기다려주세요.</td>
                    </tr>
                  </tbody>
                </table>
              </td>
            </tr>
          </tbody>
        </table>
      </td>
    </tr>
  </tbody>
</table>
</DIV>

<SCRIPT LANGUAGE="JavaScript">

var nava = (document.layers);
var dom = (document.getElementById);
var iex = (document.all);
if (nava) { cach = document.cache }
else if (dom) { cach = document.getElementById("cache").style }
else if (iex) { cach = cache.style }
largeur = screen.width;
cach.left = Math.round((largeur/2)-200);
cach.visibility = "visible";

function cacheOff()
        {
        cach.visibility = "hidden";
        }
</SCRIPT>


===============================================================
테이블로 되어있어서,
수정도 쉽고.. 그래요^^