네이버 콤보스타일 메뉴입니다.~
<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년 전
코드상으로는 표준인데... 익스만 보이나요?
게시글 목록
| 번호 | 제목 |
|---|---|
| 12828 |
JavaScript
최근 게시물 디자인
5
|
| 254 | |
| 252 | |
| 25062 | |
| 29368 | |
| 249 | |
| 243 | |
| 239 | |
| 236 | |
| 234 | |
| 12821 | |
| 12818 |
Flash
플래쉬 매뉴 소스 실무_
2
|
| 12815 | |
| 12811 |
기타
플래쉬 매뉴 소스
3
|
| 12807 |
JavaScript
플래쉬 매뉴 소스
3
|
| 12797 | |
| 12787 | |
| 12781 | |
| 12780 |
JavaScript
자동글 방지 팁입니다.
|
| 232 | |
| 12779 |
기타
PHP 에서의 디버그
|
| 12776 | |
| 12768 | |
| 12767 | |
| 229 | |
| 12764 | |
| 226 | |
| 12762 |
JavaScript
팝업창 중앙에 띄우기 소스
1
|
| 12758 |
JavaScript
<tip>초간단 위로가기 소스
3
|
| 12757 |
JavaScript
소스 <퀵메뉴>
|
| 12755 | |
| 223 | |
| 221 | |
| 12746 | |
| 219 | |
| 212 | |
| 12745 | |
| 210 | |
| 206 | |
| 29366 | |
| 205 | |
| 12743 | |
| 203 | |
| 29364 |
HTML
클릭하면 이미지 서로 바꾸기.
1
|
| 201 | |
| 12742 |
JavaScript
/var/log/secure 로그를 이용한 IP Deny 자동 등록
|
| 29361 | |
| 12740 |
Linux
여러가지 리눅스 팁들
1
|
| 199 | |
| 198 | |
| 196 | |
| 12738 | |
| 12735 |
JavaScript
포토샵으로 쌍꺼풀 만들기
2
|
| 12732 | |
| 195 | |
| 194 | |
| 12731 |
JavaScript
특정 이메일 입력 금지및 이메일 유효성 검사
|
| 191 | |
| 188 | |
| 185 | |
| 182 | |
| 179 | |
| 25053 | |
| 25052 | |
| 12729 | |
| 25050 | |
| 176 | |
| 174 | |
| 172 | |
| 171 | |
| 168 | |
| 166 | |
| 12724 | |
| 12715 |
Flash
xml 연동mp3 플레이어 제작소스
8
|
| 164 | |
| 12712 | |
| 12702 |
Flash
xml 연동형 겔러리소스입니다
9
|
| 159 | |
| 12697 |
Flash
이미지마스크
4
|
| 29360 |
HTML
메트릭스글자
|
| 12696 | |
| 155 | |
| 12694 | |
| 12692 | |
| 12689 | |
| 12687 | |
| 12685 | |
| 12683 |
Flash
Flex 및 Flash 래퍼런스 활용
1
|
| 12679 | |
| 12678 |
기타
픽토그램 소스
|
| 12676 |
JavaScript
[일러스트강좌] 마크 그리기
1
|
| 151 | |
| 12669 | |
| 148 | |
| 146 | |
| 144 | |
| 143 | |
| 29356 | |
| 12662 |
JavaScript
html,php,js.vbs,각종 암호화
6
|
| 12655 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기