묻고답하기

http://semicode.skynet.co.kr수정되야할 부분으로 보이는 곳에 표시해놨습니다.. 부탁드려요



// 자바스크립트 부분

<script language="JavaScript">
<!--
function na_restore_img_src(name, nsdoc)
{
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'+ '+ '.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img && img.altsrc) {
    img.src    = img.altsrc;
    img.altsrc = null;
  }
}

function na_preload_img()
{
  var img_list = na_preload_img.arguments;
  if (document.preloadlist == null)
    document.preloadlist = new Array();
  var top = document.preloadlist.length;
  for (var i=0; i < img_list.length; i++) {
    document.preloadlist[top+i]     = new Image;
    document.preloadlist[top+i].src = img_list[i+1];
  }
}

function na_change_img_src(name, nsdoc, rpath, preload)
{
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img) {
    img.altsrc = img.src;
    img.src    = rpath;
  }
}

// -->
</script>





</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" OnLoad="na_preload_img(false, 'images/main_031.gif', 'images/main_041.gif', 'images/main_051.gif', 'images/main_061.gif', 'images/main_071.gif');">
<table id="Table_01" width="1024" height="768" border="0" cellpadding="0" cellspacing="0">
        <tr>
                <td colspan="5" width="900" background="main_logo.gif">
                        <a href="http://semicode.skynet.co.kr"><img src="images/logo.gif" width="410" height="70" border="0"><img src="images/main_logo.gif" width="490" height="70" border="0"></a></td>
                <td rowspan="4" width="150" background="images/main_02.gif">
                        <img src="images/main_02.gif" width="124" height="768"></td>
        </tr>
        <tr>
                <td width="395">
                        <a href="whoami.html" target="main" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', 'images/main_031.gif', true);" ><img src="images/main_03.gif" width="395" height="30" border="0" name="image1"></a></td>
                <td width="120">
                        <a href="diary.html" target="main" OnMouseOut="na_restore_img_src('image2', 'document')" OnMouseOver="na_change_img_src('image2', 'document', '+ 'images/main_041.gif', true);" ><img src="images/main_04.gif" width="120" height="30" border="0" name="image2"></a></td>
 




// 서브메뉴 보이게 노력중인부분

               <td width="120">               
                        <a OnMouseOver="na_show_layer(" layer1");onMouseOut='na_hide_layer("layer1");" href="interior.html" target="main" OnMouseOut="na_restore_img_src(' image3', 'document')" OnMouseOver="na_change_img_src('image3', 'document', 'images/main_051.gif', true);" ><img src="images/main_05.gif" width="120" height="30" border="0" name="image3"></a></td>






                <td width="120">
                        <a href="port.html" target="main" OnMouseOut="na_restore_img_src('image4', '+ 'document')" OnMouseOver="na_change_img_src('image4', 'document', 'images/main_061.gif', true);" ><img src="images/main_06.gif" width="120" height="30" border="0" name="image4"></a></td>
                <td width="119">
                        <a href="com.html" target="main" OnMouseOut="na_restore_img_src('image5', 'document')" OnMouseOver="na_change_img_src('image5', 'document', 'images/main_071.gif', true);" ><img src="images/main_07.gif" width="145" height="30" border="0" name="image5"></a></td>
        </tr>
        <tr>
                <td colspan="5" width="900" background="images/main_08.gif">
                            <table border="0" width="900" height="578" cellpadding="0" cellspacing="0">
                <tr>
                    <td><iframe src="home.html" width=900 height=578 frameborder=0 allowTransparency=true marginwidth=0 marginheight=0 scrolling=auto name=main>
</iframe>
 



// 서브레이어

                       <div id="layer1" style="width:120px; height:119px; position:absolute; left:516px; top:100px; z-index:1;">
                            <p><img src="images/3sub1.gif" width="120" height="24" border="0"><img src="images/3sub2.gif" width="120" height="21" border="0"><img src="images/3sub3.gif" width="120" height="20" border="0"><img src="images/3sub4.gif" width="120" height="20" border="0"><img src="images/3sub5.gif" width="120" height="34" border="0"></p>
                        </div>




                        <p> </p>

                    </td>
                </tr>
            </table>        

<img src="images/main_09.gif" width="900" height="90" border="0">
</td>
        </tr>
        <tr>
                <td colspan="5" width="874">
        </td>
        </tr>
</table>
</body>
</html>



위에 소스로 올려놨는데..
메뉴중에 마우스 오버시 이미지를 바꾸는 롤오버하고 레이어를 보이게해서 서브메뉴를 넣을려고 하거든요..
마우스를 때면 사라지게하는 것으로 연구중인데... 잘안되네요.. 수정할 부분좀 알려주세요.



글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
김지웅 부탁드립니다..  
장민준 노프레임 홈페이지란 이런 건가요????? [3] 2007.08.10
난다요 이거 글씨체 어떤건지 아십니까? [1] 2007.08.10
조병국 iis 에서 php로 구성된 웹서버 하나 이상 구동하는법 알려주세요?  
조기영 메뉴부분 배경이 안나와요ㅠ [4] 2007.08.10
지니 스타일시트 랜덤하게 적용시키기 [자문자답 ㄱ-;;;]  
서종민 제발 부탁드립니다!^^  
티스푼 onMouseDown 해서 이미지 고정할려면 어떻게 해야하나요~  
김광일 i 프레임 관련 문의 [1] 2007.08.10
문준석 노프레임 홈페이지 질문드립다~ 급해용^^ [2] 2007.08.10
이순미 스타일시트가 적용 안되요 [2] 2007.08.10
차이 mysql_fetch_array()에서 에러 좀 찾아주세요^^. [6] 2007.08.10
JyuKe PHP Version 에 대해 [1] 2007.08.10
플루토 http://www.simpyo.com/ 이곳 게시판 활용법을 질문합니다.... [4] 2007.08.10
껌10go3켜 사진위에 검은 사각 모양의 박스모양 넣는법 [5] 2007.08.10
팀보스 도메인으로 사이트 들어가면 로그인이 되지않은원인??  
박준 죄송한데~ 헤더 파일이랑 풋파일좀 나누어 주세요 ㅜ.ㅜ 제홈피 링크 시킬게여~ [2] 2007.08.10
김혜경 동영상을 새창열기로해서 나오게할수있나요? [1] 2007.08.10
까꿍이 라디오 버튼 체크 확인 소스 (네임이 다른경우) 확인 부탁드립니다  
박미정 노프레임 홈에서 외부로그인을 헤더가 아니라 bottom 에 넣을 때  
이진수 한 줄 메모장 도중...~~ [2] 2007.08.10
인어 왜 태그가 안먹힐까요??  
송택진 페도라 코어 4에서 gd설치에 대한 질문입니다 [2] 2007.08.10
마루 이미지 저작권 질문 합니다. [1] 2007.08.10
인어 이게 어떻게된일이죠??? [1] 2007.08.10
neptune ERROR 2002: Can''t connect to local MySQL server through socket ''/tmp/mysql.sock'' (2) [2] 2007.08.10
頭石 제컴퓨터에서 홈페이지 익스플러를 클릭하면요...  
김종욱 홈피 링크시키는 문제인데 좀 어려운 내용이네요~ [1] 2007.08.10
장은수 마우스 오버시 레이어보이기가 안됩니다...(소스 있어요,) [1] 2007.08.10
눈물 싸이월드 미니홈피 사진첩에 플래쉬 올리기 [1] 2007.08.10