jQuery, 이미지맵 마우스오버시 하이라이트 표시 > script

본문 바로가기

script

jQuery, 이미지맵 마우스오버시 하이라이트 표시

작성일 15-06-08 11:27

페이지 정보

작성자서방님 조회 302회 댓글 0건

본문

이미지맵 마우스오버시 테두리가 붉은색으로 하이라이트 표시가 됩니다.
 
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script type="text/javascript" src="http://davidlynch.org/projects/maphilight/jquery.maphilight.min.js"></script>
<script type="text/javascript">$(function() {
    $('.map').maphilight();
    });
</script>
</head>
<body>
<img class="map" src="demo_usa.png" width="960" height="593" usemap="#usa">
<map name="usa">
    이미지 맵 정의
</map>
</body>
 
[참조사이트]

댓글목록

등록된 댓글이 없습니다.

게시물 검색
Copyright © 서방님.kr All rights reserved.
PC 버전으로 보기