B

업로드시 로딩중 메시지 보여주기~~

게시판에서 업로드시에 로딩중 메세지를 보여줄려고 하는데...
잘 안돼네염.. ㅋㅋ
 
write.skin.php 파일의 

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

이부분 바로 아래에 

<script> 
function upload() 
{ 
document.all.selection.style.visibility = "hidden"; 
document.all.upload.style.visibility = "visible"; 
} 
</script> 
<div id="upload" style="top:180;left:380; position:absolute; visibility:hidden;" align="center" valign="middle"> 
 <table border="1" cellpadding="0" cellspacing="0" align="center" bordercolordark="white" bordercolorlight="black"> 
   <tr> 
     <td width="200" height="60"><embed src="<?=$board_skin_path?>/img/loading.swf" width="200" height="60"></td> 
   </tr> 
 </table> 
</div>
 
요렇게 하고...
 
<form name="fwrite" method="post" action="javascript:fwrite_check(document.fwrite);" enctype="multipart/form-data" style="margin:0px;" onsubmit="return upload()">
 
요렇게 했는데..
 
계속 스크립트가 오류가 떠서 미치겠네욤.. ㅠㅠ
스크립트 오류 내용은 document.all.selection.style 요거이.. 머라고 하는데..ㅠㅠ
아시는분 알려주시면 감사요.. ㅋㅋ


 

댓글 3개

내용에서 selection 부분의 소스도 함께 올려주셔야 답을 드릴수 있겠네요.
selection 이놈이 어떤놈인지...?
아니면 아예 없는 것은 아닌지요?
selection <== 요놈 없습니다.. ㅡㅡ;;
그러시면,
document.all.selection.style.visibility = "hidden";
이 구문을 삭제 하시면 에러 안나겠죵~ ^^!
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
07-04-11 조회 1,629
07-04-11 조회 1,694
07-04-11 조회 1,626
07-04-11 조회 2,387
07-04-11 조회 1,641
07-04-11 조회 1,882
07-04-11 조회 1,668
07-04-11 조회 1,637
07-04-11 조회 3,727
07-04-11 조회 1,662
07-04-11 조회 1,642
07-04-11 조회 1,538
07-04-11 조회 1,551
07-04-11 조회 1,713
07-04-11 조회 1,637
07-04-11 조회 3,955
07-04-11 조회 1,645
07-04-11 조회 1,650
07-04-11 조회 1,720
07-04-11 조회 1,648