부모 페이지

<html>
<head>
<title>test_main</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<SCRIPT language="JavaScript">

 function goPage(value){
  if(value == '') {
   return;
  }
 
  var url = '값을넘겨줄페이지.jsp#' + value;
 
  campaign.location.href=url;
   
  // 값을 넘겨준후 해당하는 페이지에 기본이미지를 지정
  test_iframe.document.title01.src='/com_title1.gif';
  test_iframe.document.title02.src='/com_title2.gif';
  test_iframe.document.title03.src='/com_title3.gif';
  test_iframe.document.title04.src='/com_title4.gif';

  // value 의 값에 따라 강조된 이미지로 변경
  if(value == 'com_title1') {
   test_iframe.document.title01.src='/com_title11.gif';
  } else if(value == 'com_title2') {
   test_iframe.document.title02.src='/com_title22.gif';
  } else if(value == 'com_title3') {
   test_iframe.document.title03.src='/com_title33.gif';
  } else if(value == 'com_title4') {
   test_iframe.document.title04.src='/com_title44.gif';
  }
 }
</SCRIPT>
</head>
<!--
 팝업으로 이 페이지를 띄울경우, 클릭된 메뉴의 값으로 이동을 하고자 할겨우 onload="" 속성을 설정한다.
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="goPage('<%=target%>')">
-->

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table id="Table_01" border="0" cellpadding="0" cellspacing="0">
 <tr height="376">
  <td width="685" height="376"><img
   src="/com_img1.gif"
   width="685" height="376" alt="" usemap="#test_main_011b5c65f"
   border="0"></td>
  <td width="60" height="376"></td>
 </tr>
 <tr>
  <td width="685"
   background="/com_img3.gif">
// iframe 위치
  <iframe name="test_iframe" src="값을넘겨줄페이지.jsp" border="0" frameborder="0" marginhight="0" scrolling="yes" width="100%"  height="400"></iframe></td>
  <td valign="top" width="60">
  <table width="60" border="0" cellspacing="0" cellpadding="0">
   <tr>
    <td><img
     src="/com_qu1.gif"
     alt="" width="61" height="31" border="0"></td>
   </tr>
   <tr>
    <td
     background="/com_qu3.gif"><a href="javascript:goPage('com_title1')"><img
     src="/com_qu4.gif"
     alt="" width="50" height="23" border="0"></a></td>
   </tr>
   <tr>
    <td
     background="/com_qu3.gif"><a
     href="javascript:goPage('com_title1')"><img
     src="/com_qu5.gif"
     alt="" width="50" height="42" border="0"></a></td>
   </tr>
   <tr>
    <td
     background="/com_qu3.gif"><a
     href="javascript:goPage('com_title2')"><img
     src="/com_qu6.gif"
     alt="" width="50" height="39" border="0"></a></td>
   </tr>
   <tr>
    <td
     background="/com_qu3.gif"><a
     href="javascript:goPage('com_title3')"><img
     src="/com_qu7.gif"
     alt="" width="50" height="39" border="0"></a></td>
   </tr>
   <tr>
    <td
     background="/com_qu3.gif"><a
     href="javascript:goPage('com_title4')"><img
     src="/com_qu8.gif"
     alt="" width="50" height="42" border="0"></a></td>
   </tr>
   <tr>
    <td><img
     src="/com_qu2.gif"
     alt="" width="61" height="30" border="0"></td>
   </tr>
  </table>
  </td>
 </tr>
 <tr height="53">
  <td width="685" height="53"><img
   src="/com_img2.gif"
   alt="" width="685" height="53" border="0"></td>
  <td width="60" height="53"></td>
 </tr>
</table>
</body>
</html>




자식 페이지 (iframe 페이지에 들어갈 내용)

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
</head>
<body topmargin="0" leftmargin="0">
<table width="64" border="0" cellspacing="0" cellpadding="0">
 <tr>
  <td width="30"></td>
<!--
 <a name="com_title1">이미지</a> 에 호출(이동)할 이름을 지정하여준다.
-->

  <td> <a name="com_title1"> <img src="/com_title11.gif" alt="" width="629" height="35" border="0" name="title01"></a></td>
 </tr>
 <tr>
  <td width="30"></td>
  <td><img src="/com_in1.gif" alt="" width="629" height="155" border="0"></td>
 </tr>
 <tr>
  <td width="30"></td>
  <td> <a name="com_title2"> <img src="/com_title2.gif" alt="" width="629" height="35" border="0" name="title02"></a></td>
 </tr>
 <tr>
  <td width="30"></td>
  <td><img src="/com_in2.gif" alt="" width="629" height="239" border="0"></td>
 </tr>
 <tr>
  <td width="30"></td>
  <td><img src="/com_bu.gif" alt="" width="170" height="54" border="0"></td>
 </tr>
 <tr>
  <td width="30"></td>
  <td> <a name="com_title3"> <img src="/com_title3.gif" alt="" width="629" height="35" border="0" name="title03"></a></td>
 </tr>
 <tr>
  <td width="30"></td>
  <td><img src="/com_in3.gif" alt="" width="629" height="171" border="0"></td>
 </tr>
 <tr>
  <td width="30"></td>
  <td> <a name="com_title4"> <img src="/com_title4.gif" alt="" width="629" height="35" border="0" name="title04"></a></td>
 </tr>
 <tr>
  <td width="30"></td>
  <td>
  <img src="/com_in4.gif" alt="" width="629" height="83" border="0">
  </td>
 </tr>
 <tr>
  <td width="30"></td>
  <td height="300">
  </td>
 </tr>
</table>
</body>
</html>

12 22, 2008 15:08 12 22, 2008 15:08

Trackback URL : http://develop.sunshiny.co.kr/trackback/57

Leave a comment

« Previous : 1 : ... 335 : 336 : 337 : 338 : 339 : 340 : 341 : 342 : 343 : ... 381 : Next »

Recent Posts

  1. Oracle - 바인드 변수에 대하여(테스트)
  2. Oracle - 디폴트 롤, DBA, CONNECT,...
  3. Oracle - 권한 및 롤 관리
  4. Oracle - SQL*PLUS의 SYSDBA 접근 제어
  5. Oracle - PFILE, SPFILE 에 관하여

Recent Comments

  1. 네 답글 고맙습니다. 좋은 한주 보... sunshiny 05 14,
  2. 좋은 정보 잘 살펴보고 갑니다. ememoho 05 12,
  3. 네. 고맙습니다^^ 행복한 한해 보... sunshiny 01 16,
  4. sunshiny님. 안녕하세요... 올려 주... yihans 01 16,
  5. 답글 주셔서 고맙습니다^^ 소스 복... sunshiny 01 11,

Recent Trackbacks

  1. 윈도우 cmd 명령어 팁 월풍도원(月風道院) - Delight on th... %M
  2. 파일 압축 Like RadioHead %M
  3. Mysql - mysql 설치후 Character set... 멀고 가까움이 다르기 때문 %M

Calendar

«   05 2012   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Bookmarks

  1. 위키피디아
  2. MysqlKorea
  3. Oracle All Documentation
  4. 엑셈
  5. 오라클 클럽
  6. 네이버개발자센터
  7. API - Java
  8. API - Spring
  9. Java Community
  10. Reference - Spring
  11. 스프링사용자
  12. 자바소스
  13. 자바지기
  14. Ready System
  15. Solaris Freeware
  16. Linux-Site
  17. RedHat Korea
  18. 윈디하나의 솔라나라

Site Stats

TOTAL 245430 HIT
TODAY 136 HIT
YESTERDAY 139 HIT