[RE:14]제가 사용한것입니다.

2002. 1. 8. 오후 3:46:34

글자

일단  http://focus.pe.kr/index.html 을 한번 보시고 사용방식이 마음에 드시면 쓰세요.

 

***** script부분은 아래에--------------

 

   <SCRIPT LANGUAGE="JavaScript">

 

 

<!-- submenu

 

 

var old_sa = ’’;

function sclikker( a )

{

  if( old_sa != a ) {

    if( old_sa!=’’ ) {

      old_sa.style.display = ’none’;

    }

    a.style.display = ’block’;

    old_sa = a;

 

  } else {

 

    a.style.display = ’none’;

    old_sa = ’’;

  }

 

}

 

//-->

 

****  html소스는 아래에 ------------

 

<table border="0" cellpadding="0" cellspacing="0" width="130" style="position:absolute; left:0; top:20;">

 

    <tr>

        <td><p>&nbsp;&nbsp;<img src="images/plate3.gif" border="0" style="cursor:hand;"

             onclick="sclikker(submenu2);" alt="건축사진"></td>

    </tr>

    <tr>

        <td><table border="0" cellpadding="0" cellspacing="0" width="100%">

                <tr>

                    <td width="36" rowspan="2"><p><font

                         size="2"></font></td>

                    <td width="120"><span id="submenu2" style="margin-left:0; display:none;">

                        &nbsp;<a href="architecture/archiport21.htm"

                         TARGET="WINDOW-1"><font size="4"> exterior</font></a><br>

                        &nbsp;<a href="architecture/archiport22.htm"

                         TARGET="WINDOW-1"><font size="4"> interior</font></a><br>

                        &nbsp;<a href="architecture/archiport24.htm"

                         TARGET="WINDOW-1"><font size="4"> model</font></a><br>

                        &nbsp;<a href="library/liblist.html"

                         TARGET="WINDOW-1"> 자료실</a><br>

                        &nbsp;<a href="architecture/archiperson.html"

                         TARGET="WINDOW-1"> 건축사진가</a><br><br>

                       </span></td>  

                </tr>

            </table></td>

    </tr>

 </table>

댓글 0

첫 댓글을 남겨보세요

[테크닉게시판] 자바스크립트

목록 전체보기 →