미

네이버 콤보스타일 메뉴입니다.~

· 2008-04-26 (토) 06:16:52 · 2526 · 2
<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

======================
스타일의 이미지가 링크방식이라..붙이셔 바로 사용하실 수 있으실겁니다.
[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]
|

댓글 2개

익스만 잘 보이는다는 글이 돌아다니네요 ㅡㅡ;;;;;
코드상으로는 표준인데... 익스만 보이나요?
댓글을 작성하시려면 로그인이 필요합니다.

팁게시판

6,077건

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
08-07-06 조회 2,321
08-05-21 조회 3,479
08-05-13 조회 3,345
08-04-17 조회 3,714
08-02-19 조회 2,490
08-01-18 조회 2,697
08-01-10 조회 2,689
07-10-22 조회 2,422
07-10-09 조회 3,159
07-10-03 조회 2,407
07-07-06 조회 2,977
07-07-06 조회 3,337
07-07-06 조회 2,953
07-06-28 조회 2,505
07-06-05 조회 2,369
07-06-05 조회 2,918
07-05-30 조회 2,244
07-05-02 조회 2,644
07-04-15 조회 3,993
07-04-11 조회 2,547
07-04-05 조회 2,819
07-03-31 조회 2,055
07-03-31 조회 2,984
07-03-30 조회 2,672
07-03-24 조회 2,975