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 질문답변

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

+
제목 글쓴이 날짜 조회
18년 전 조회 1,857
18년 전 조회 1,566
18년 전 조회 1,610
18년 전 조회 1,400
18년 전 조회 1,497
18년 전 조회 1,570
18년 전 조회 1,516
18년 전 조회 2,257
18년 전 조회 1,507
18년 전 조회 1,755
18년 전 조회 1,562
18년 전 조회 1,522
18년 전 조회 3,589
18년 전 조회 1,542
18년 전 조회 1,512
18년 전 조회 1,417
18년 전 조회 1,423
18년 전 조회 1,591
18년 전 조회 1,514
18년 전 조회 3,838
🐛 버그신고