메뉴 건너뛰기

조회 수 8994 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>이미지 맵을 이용해서 마우스 오버시 설명을 보여주는 소스</title>
<SCRIPT LANGUAGE="javascript">

Image1 = new Image(265,406)
Image1.src = "c:\down_file\ep.gif"

Image2 = new Image(265,406)
Image2.src = "ep2.gif"

Image3 = new Image(265,406)
Image3.src = "ep3.gif" 

</SCRIPT>
<SCRIPT LANGUAGE="javascript">

function zoomin() {
document.emp.src = Image3.src; return true;
}

function zoomout() {
document.emp.src = Image2.src; return true;
}

function original() {
document.emp.src = Image1.src; return true; 
}

</SCRIPT> 

<script language="JavaScript"> 
<!-- 
 
function helpOn() { 
        helpDiv.style.display = "block";   
        //helpDiv.style.display = "";   // ??? ?? ???? block?? ?????.
} 
 
function helpOff() { 
        helpDiv.style.display = "none"; 
} 
 
//--> 
</script> 
</head>

<body>
이미지 맵을 응용한 설명이 가능한 레이어를 보였다가 숨기는 기능이 있습니다.<br>
<br>

링컨 얼굴위에 마우스를 올리면 설명용 레이어가 나옵니다.<br>

응용을 하면 설명대신 다른 이미지를 보여줄수도 있습니다.<br>


<IMG NAME="emp" SRC="http://workpicturecom.cafe24.com/site/cafepicture/AT2.jpg" USEMAP="#ep" width="406" height="265"> 
<MAP NAME="ep">
  <AREA SHAPE="rect" boder=1 COORDS="117, 70, 160, 119" HREF="http://workpicturecom.cafe24.com/site/cafepicture/AT4.jpg" onMouseOver = "helpOn()" OnMouseOut = "helpOff()" target="_blank">
  <xAREA SHAPE="rect" ALT="Enlarged right side" COORDS="212,68,250,120" HREF="ep3.gif" onMouseOver="menu2()" onMouseOut="original()">
  <AREA SHAPE="rect" nohref coords="0, 0, 0, 0">
</MAP>

<div id="helpDiv" class="help" style="width:250px; height:200px; position:absolute; left:170px; top:120px; z-index:30;"> 
<table bgcolor="e8e8e8" border=1><tr><td>
링컨 얼굴에  마우스가 올라온 경우입니다.
설명을 여기에 넣으면 됩니다.</td>
        </tr>


</table></div> 


</body>
</html> 




  1. 'setInterval', 타이머를 사용하자! ==setTimeout

    Date2015.02.03 Views6514
    Read More
  2. 'blur', 이미지 클릭시 테두리를 없애자!

    Date2015.02.03 Views7623
    Read More
  3. 'setTimeout', 타이머를 사용하자!

    Date2015.02.03 Views7323
    Read More
  4. 'opener', 부모창과 자식창의 텍스트를 교환하자!

    Date2015.02.03 Views7593
    Read More
  5. 'open', 새창을 열어보자!

    Date2015.02.03 Views6326
    Read More
  6. 'checkbox', 체크박스 모두체크 그리고 모두해제!

    Date2015.02.03 Views7790
    Read More
  7. 'button', 클릭한 횟수 알아내기!

    Date2015.02.03 Views11066
    Read More
  8. 유효성 검사, 모든 폼에 값이 입력되도록 해보자!

    Date2015.02.03 Views6476
    Read More
  9. 'focus', 엔터 누르고 이동하자!

    Date2015.02.03 Views13147
    Read More
  10. 5초후 자동으로 창닫기

    Date2015.02.03 Views9350
    Read More
  11. 달력

    Date2015.02.03 Views6938
    Read More
  12. 양력-음력

    Date2015.02.03 Views7997
    Read More
  13. 버튼 삭제

    Date2015.02.03 Views6221
    Read More
  14. 라디오 바스 체크 유무 확인

    Date2015.02.03 Views6894
    Read More
  15. 문자열 바꾸기

    Date2015.02.03 Views5994
    Read More
  16. 마우스로 이미지크기 조절(자바스크립트)

    Date2015.02.03 Views6812
    Read More
  17. 페이지 로드 할때 컨트롤에 포커스 주기

    Date2015.02.03 Views8777
    Read More
  18. 자바스크립트 영문입력, 숫자만입력, 한글만 입력, 붙여넣기 방지

    Date2015.02.02 Views10470
    Read More
  19. 이미지 마우스 드래그로 스크롤을 움직이는 소스

    Date2014.03.17 Views9646
    Read More
  20. 특정부위 마우스 오버시 설명을 보여주는 소스

    Date2014.03.17 Views8994
    Read More
Board Pagination Prev 1 ... 4 5 6 7 8 9 10 11 12 13 Next
/ 13

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved