스크립트관련 질문입니다. > 그누3질답

그누3질답

스크립트관련 질문입니다. 정보

그누보드 스크립트관련 질문입니다.

본문

http://www.sir.co.kr/?doc=bbs/gnuboard.php&bo_table=tiptech&page=2&wr_id=6341&ca_id=  에 포함했던 소스입니다../

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

<style>
<!--
.dragging{position:relative;cursor:hand
}

#divbar{
cursor:hand;
position:absolute;
border:1px solid #E5E6E0;
background-color:#ffffff;
height:20;
width:150;
top:0;
}
#divsub{
width:150;
position:absolute;
top:22;
background-color:#ffffff;
border-right-width:1; border-bottom-width:1; border-left-width:1; border-right-color:rgb(229,230,224); border-bottom-color:rgb(229,230,224); border-left-color:rgb(229,230,224); border-right-style:solid; border-bottom-style:solid; border-left-style:solid;
padding:3px;
}
-->
</style>
<!------------------------------------------------------------->

<script language="JavaScript1.1">
function open_close(){
if (divsub.style.display=='')
divsub.style.display='none'
else
divsub.style.display=''
}
</script>

<!------------------------------------------------------------->

<div id="staticbuttons" valign="top"  style="width:150px; height:90px; position:absolute; left:50px; top:50px; z-index:102; visibility:visible;">
<table id="divbar" valign="top" cellpadding="0" cellspacing="0" width="150" height="1" style="border-collapse:collapse"><tr bgcolor="#FFFFFF">
<td  width="116" height="10"><p align="left">&nbsp;</td>
<td  width="28" height="10">    <p>&nbsp;</p>

</td>
<td  width="31" height="10">
</td>
<td  width="10%" height="10"> <img align="right" src="./image/barbutton.gif" onClick="open_close()" width="25" height="13"></td>
</tr>
</table>
<table id="divsub" style="border-collapse:collapse;" valign="top" width='150' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td align=left width="150" valign="top"> 
<p>&nbsp;</p>
</td>
</table>
</div>

이것을 반대로 윈도우 오픈시에 닫혀있고 클릭시 열리게 만들려고 하는데...좀..버벅대고 있습니다../..
도움리플을 기다랍니다../

댓글 전체

table id="divsub" style="border-collapse:collapse;display:none"

(원글이 없으니... 더이상은 어찌해 볼 방법이 없네요...
 자세한 에러내용이나, 에러나는 주소가 없는 글에 답글다는 느낌만이... )
^^~@....
그렇게 간단하지만은 않네요..
사실은..레이어가 움직이는 것이 아니라..레이어 안에서 셀이움직이는거거든요..
아무래도..완전한레이어 형태로 스크립트부터 다시짜야할 듯....
있는것 그대로 쓸려니..묘안이 없네요.....
divsub.style.display='none'
else
divsub.style.display=''
부분과
<div id="staticbuttons" valign="top"  style="width:150px; height:90px; position:absolute; left:50px; top:50px; z-index:102; visibility:visible;">
부분을 수정해주시면 될꺼 같은데요..
전체 9,564
그누3질답 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT