네이버 콤보스타일 메뉴입니다.~
<html>
<head>
<title>http://www.naver.com</title>
<style>
#bannerbox .oherpromotion {display:inline; position:relative; float:left; margin:3px 11px 0 0 ; }
#bannerbox .oherpromotion h3 {float:left; width:188px; height:20px; background:url(http://imgshopping2.naver.com/2007/new/main/bg_oftenview.gif) no-repeat left top; color:#666; font-weight:normal; font-size:12px; text-align:left; letter-spacing:-1px}
#bannerbox .oherpromotion h3 a {display:block; width:184px; height:16px; padding:4px 0 0 7px; color:#666; text-decoration:none;}
#bannerbox .oherpromotionlist {position:absolute; left:0px; top:18px; width:188px; background:url(http://imgshopping2.naver.com/2007/new/main/bg_ranking_list_mid.gif) repeat-y left top; z-index:100;}
#bannerbox .oherpromotioninner {background:url(http://imgshopping2.naver.com/2007/new/main/bg_ranking_list_bottom.gif) no-repeat left bottom;}
#bannerbox .oherpromotionlist ul {width:158px; margin:0 8px; padding:3px 0; overflow:hidden;}
#bannerbox .oherpromotionlist li {width:100%; padding:6px 0 4px 0; background:url(http://imgshopping2.naver.com/2007/new/rankingshop/dot_gray01.gif) repeat-x left top; font-size:12px; vertical-align:top; line-height:1em; letter-spacing:-1px; text-align:left;}
#bannerbox .oherpromotionlist li a {padding-left:15px; background:url(http://imgshopping2.naver.com/2007/new/rankingshop/bu_arrow02.gif) no-repeat 3px top; color:#7f7f7f;}
#bannerbox .oherpromotionlist li a:hover {color:#64a32f;}
</style>
<script>
function toggleView(target){
var sTarget = target.href.split("#");
var aTarget = document.getElementById(sTarget[sTarget.length-1]);
if(aTarget.style.display == "none") aTarget.style.display = "block";
else aTarget.style.display = "none";
}
</script>
</head>
<body>
<div id="bannerbox">
<div class="oherpromotion">
<h3><a href="#oherpromotionview" onClick="toggleView(this); return false;" onfocus=this.blur()>네이버 콤보스타일 메뉴</a></h3>
<div id="oherpromotionview" class="oherpromotionlist" style="display:none;">
<div class="oherpromotioninner">
<ul>
<li><A HREF="http://www.naver.com">네이버 1</A>
<li><A HREF="http://www.naver.com">네이버 2</A>
<li><A HREF="http://www.naver.com">네이버 3</A>
</ul>
</div>
</div>
</div>
</div>
</body>
</html>
자료출저 : www.naver.com
======================
스타일의 이미지가 링크방식이라..붙이셔 바로 사용하실 수 있으실겁니다.
<head>
<title>http://www.naver.com</title>
<style>
#bannerbox .oherpromotion {display:inline; position:relative; float:left; margin:3px 11px 0 0 ; }
#bannerbox .oherpromotion h3 {float:left; width:188px; height:20px; background:url(http://imgshopping2.naver.com/2007/new/main/bg_oftenview.gif) no-repeat left top; color:#666; font-weight:normal; font-size:12px; text-align:left; letter-spacing:-1px}
#bannerbox .oherpromotion h3 a {display:block; width:184px; height:16px; padding:4px 0 0 7px; color:#666; text-decoration:none;}
#bannerbox .oherpromotionlist {position:absolute; left:0px; top:18px; width:188px; background:url(http://imgshopping2.naver.com/2007/new/main/bg_ranking_list_mid.gif) repeat-y left top; z-index:100;}
#bannerbox .oherpromotioninner {background:url(http://imgshopping2.naver.com/2007/new/main/bg_ranking_list_bottom.gif) no-repeat left bottom;}
#bannerbox .oherpromotionlist ul {width:158px; margin:0 8px; padding:3px 0; overflow:hidden;}
#bannerbox .oherpromotionlist li {width:100%; padding:6px 0 4px 0; background:url(http://imgshopping2.naver.com/2007/new/rankingshop/dot_gray01.gif) repeat-x left top; font-size:12px; vertical-align:top; line-height:1em; letter-spacing:-1px; text-align:left;}
#bannerbox .oherpromotionlist li a {padding-left:15px; background:url(http://imgshopping2.naver.com/2007/new/rankingshop/bu_arrow02.gif) no-repeat 3px top; color:#7f7f7f;}
#bannerbox .oherpromotionlist li a:hover {color:#64a32f;}
</style>
<script>
function toggleView(target){
var sTarget = target.href.split("#");
var aTarget = document.getElementById(sTarget[sTarget.length-1]);
if(aTarget.style.display == "none") aTarget.style.display = "block";
else aTarget.style.display = "none";
}
</script>
</head>
<body>
<div id="bannerbox">
<div class="oherpromotion">
<h3><a href="#oherpromotionview" onClick="toggleView(this); return false;" onfocus=this.blur()>네이버 콤보스타일 메뉴</a></h3>
<div id="oherpromotionview" class="oherpromotionlist" style="display:none;">
<div class="oherpromotioninner">
<ul>
<li><A HREF="http://www.naver.com">네이버 1</A>
<li><A HREF="http://www.naver.com">네이버 2</A>
<li><A HREF="http://www.naver.com">네이버 3</A>
</ul>
</div>
</div>
</div>
</div>
</body>
</html>
자료출저 : www.naver.com
======================
스타일의 이미지가 링크방식이라..붙이셔 바로 사용하실 수 있으실겁니다.
[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]
댓글 2개
17년 전
익스만 잘 보이는다는 글이 돌아다니네요 ㅡㅡ;;;;;
17년 전
코드상으로는 표준인데... 익스만 보이나요?
게시글 목록
| 번호 | 제목 |
|---|---|
| 12537 | |
| 29323 |
HTML
초보자를 위한 포토샵 강좌 47
|
| 12536 |
JavaScript
초보자를 위한 포토샵 강좌 46
|
| 12535 | |
| 12534 | |
| 12533 | |
| 29322 |
HTML
초보자를 위한 포토샵 강좌 42
|
| 12532 | |
| 12531 | |
| 12530 | |
| 29321 |
HTML
초보자를 위한 포토샵 강좌 38
|
| 12529 |
JavaScript
초보자를 위한 포토샵 강좌 37
|
| 12528 | |
| 12527 | |
| 12526 | |
| 29320 |
HTML
초보자를 위한 포토샵 강좌 33
|
| 12525 |
JavaScript
초보자를 위한 포토샵 강좌 32
|
| 12524 | |
| 12523 | |
| 29319 |
HTML
초보자를 위한 포토샵 강좌 29
|
| 12522 |
JavaScript
초보자를 위한 포토샵 강좌 28
|
| 12521 | |
| 12520 | |
| 12519 | |
| 29318 |
HTML
초보자를 위한 포토샵 강좌 24
|
| 12518 |
JavaScript
초보자를 위한 포토샵 강좌 23
|
| 12517 | |
| 12516 | |
| 29315 |
HTML
레이어 달력...
2
|
| 25032 |
계약서
웹디자인 재택근무계약서
3
|
| 25030 | |
| 25028 |
계약서
매매계약서
1
|
| 25027 | |
| 25026 | |
| 25024 | |
| 25022 | |
| 80 | |
| 29314 |
HTML
초보자를 위한 포토샵 강좌 20
|
| 12515 |
JavaScript
초보자를 위한 포토샵 강좌 19
|
| 12514 | |
| 12513 | |
| 12512 | |
| 29313 |
HTML
초보자를 위한 포토샵 강좌 15
|
| 12511 |
JavaScript
초보자를 위한 포토샵 강좌 14
|
| 12510 | |
| 12509 | |
| 12508 | |
| 12506 | |
| 25021 |
계약서
인터넷업무제휴계약서
|
| 25019 |
계약서
저작권 양도계약서
1
|
| 25017 |
계약서
업무계약서
1
|
| 78 | |
| 12505 | |
| 29311 |
HTML
초보자를 위한 포토샵 강좌 8
1
|
| 12504 |
JavaScript
초보자를 위한 포토샵 강좌 7
|
| 12503 | |
| 12502 | |
| 12501 | |
| 29310 |
HTML
초보자를 위한 포토샵 강좌 3
|
| 12500 |
JavaScript
초보자를 위한 포토샵 강좌 2
|
| 12499 | |
| 12496 |
기타
iconv 활용하기
2
|
| 75 | |
| 12495 |
JavaScript
RED5 Documentation PDF
|
| 12491 |
MySQL
모바일 게시판 ANYBBS PHP 버전
3
|
| 12489 | |
| 73 | |
| 12488 |
기타
부드러운 움직임 2
|
| 12487 |
기타
부드러운 움직임
|
| 71 | |
| 12486 | |
| 12479 |
JavaScript
[펌] 웹방화벽 mod_security 다운로드 및 설정
6
|
| 29308 | |
| 62 | |
| 12476 |
기타
apache 재시작
2
|
| 12475 |
MySQL
윈도우 Mysql 시동 & 중지 명령어
|
| 12474 |
MySQL
mysql 기본 사용법
|
| 12471 |
MySQL
mysql 기본 사용법
2
|
| 12470 |
MySQL
mysql 버전확인
|
| 12467 | |
| 12465 | |
| 12463 |
MySQL
mysql5 euckr 덤프 옵션
1
|
| 12462 | |
| 12461 |
기타
입체분할 액션스크립트
|
| 61 | |
| 54 | |
| 46 | |
| 12458 | |
| 12456 | |
| 43 | |
| 12455 |
JavaScript
전자계산기 스크립트
|
| 29304 |
HTML
웹페이지 프린트하는 스크립트
3
|
| 29303 |
HTML
자동새로고침
|
| 29302 |
HTML
스타크래프트 로딩 스크립트
|
| 29300 |
HTML
미디어 연주기 소스
1
|
| 12454 |
기타
메일 폼 스크립트
|
| 29299 |
HTML
status바 반짝반짝
|
| 29298 |
HTML
메뉴가 하늘에서 뚝뚝 떨어집니다.
|
| 12453 |
JavaScript
텍스트 이동(물흐르듯이)
|
| 29297 |
HTML
멀티플 시계스크립트
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기