완전 로딩후 페이지 보여주기 (onreadystatechange)
페이지 정보
본문
######################## 페이지 로딩 함수 시작 ########################
function loadding(){
echo ("
<div ID='waitingDiv' style='position:absolute; overflow:hidden; border:0px; z-index:1;'>
<table width='880' height='500' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td align='center'>
<table border='0' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='500' border='0' cellpadding='10' cellspacing='1' bgcolor='#D0D0D0'>
<tr bgcolor='#F5F5F5'>
<td align='center'>
<table width='400' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td><font style='font-size:9pt;' color='#FF0000'>검색중입니다.</font></td>
</tr>
<tr>
<td><font style='font-size:9pt;' color='#6600FF'>잠시 기다려 주세요.</font></td>
</tr>
<tr height='50'>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<SCRIPT LANGUAGE='JavaScript'>
<!--
document.onreadystatechange = fnStartInit;
function fnStartInit()
{
if (document.readyState=='complete')
{
if (document.all['waitingDiv']) {
document.all['waitingDiv'].style.visibility = 'hidden';
}
}
}
//-->
</SCRIPT>");
flush();
}
loadding();
######################## 페이지 로딩 끝 ########################
출처 : http://phpschool.com/bbs2/inc_view.html?id=11489&code=tnt2&start=0&mode=search&field=title&search_name=&operator=and&period=all&category_id=&s_que=%C6%E4%C0%CC%C1%F6
function loadding(){
echo ("
<div ID='waitingDiv' style='position:absolute; overflow:hidden; border:0px; z-index:1;'>
<table width='880' height='500' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td align='center'>
<table border='0' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='500' border='0' cellpadding='10' cellspacing='1' bgcolor='#D0D0D0'>
<tr bgcolor='#F5F5F5'>
<td align='center'>
<table width='400' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td><font style='font-size:9pt;' color='#FF0000'>검색중입니다.</font></td>
</tr>
<tr>
<td><font style='font-size:9pt;' color='#6600FF'>잠시 기다려 주세요.</font></td>
</tr>
<tr height='50'>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<SCRIPT LANGUAGE='JavaScript'>
<!--
document.onreadystatechange = fnStartInit;
function fnStartInit()
{
if (document.readyState=='complete')
{
if (document.all['waitingDiv']) {
document.all['waitingDiv'].style.visibility = 'hidden';
}
}
}
//-->
</SCRIPT>");
flush();
}
loadding();
######################## 페이지 로딩 끝 ########################
출처 : http://phpschool.com/bbs2/inc_view.html?id=11489&code=tnt2&start=0&mode=search&field=title&search_name=&operator=and&period=all&category_id=&s_que=%C6%E4%C0%CC%C1%F6
- 이전글session 21.02.09
- 다음글일반적인 디비 퀘리 21.02.09
댓글목록
등록된 댓글이 없습니다.