My Name is Kay....

DIY , 먹방 , 개발 , 육아 , 여행 좋아합니다.
AdBlock 사용시 화면이 정상적으로 노출되지 않습니다.
포스팅 관련 문의 및 개발 문의는 Email : wkzkfmxksi@gmail.com

추가 포스팅이 이뤄지지 않는 블로그입니다. 문의는 wkzkfmxksi@gmail.com 으로 연락주세요.
UI
2013.02.06 23:50

Menu Bar

kay
조회 수 5176 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

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

단축키

Prev이전 문서

Next다음 문서

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

8edeb990a01c321d3a6570be2d700b5e.png


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title id='Description'>The sample demonstrates how to center the menu items.</title>
    <link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css" />
    <script type="text/javascript" src="../../scripts/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script>
    <script type="text/javascript" src="../../jqwidgets/jqxmenu.js"></script>
    <script type="text/javascript" src="../../jqwidgets/jqxcheckbox.js"></script>
    <script type="text/javascript" src="../../scripts/gettheme.js"></script>
</head>
<body>
    <div id='content'>
        <script type="text/javascript">
            $(document).ready(function () {
                var theme = getTheme();
                $("#jqxMenu").jqxMenu({ width: '50%', height: '30px', theme: theme });
            
                var centerItems = function () {
                    var firstItem = $($("#jqxMenu ul:first").children()[0]);
                    firstItem.css('margin-left', 0);
                    var width = 0;
                    var borderOffset = 2;
                    $.each($("#jqxMenu ul:first").children(), function () {
                        width += $(this).outerWidth(true) + borderOffset;
                    });
                    var menuWidth = $("#jqxMenu").outerWidth();
                    firstItem.css('margin-left', (menuWidth / 2 ) - (width / 2));
                }
                centerItems();
                $(window).resize(function () {
                    centerItems();
                });
            });
        </script>
           <div id='jqxMenu'>
                <ul>
                    <li>Booking 
                        <ul style='width: 250px;'>
                            <li><a href="#Financial">Booking</a></li>
                            <li><a href="#Education">Group Booking</a></li>
                        </ul>
</li>
                    <li>Basic Code
                        <ul style='width: 250px;'>
                            <li><a href="#Education">Nation Code</a></li>
                            <li><a href="#Financial">City Code</a></li> 
<li>Basic Code
<ul style='width: 250px;'>
<li><a href="#Education">Nation Code</a></li>
<li><a href="#Financial">City Code</a></li> 
</ul>
</li>
</ul>
                    </li>
                    <li>Event
                        <ul>
                            <li><a href="#PCProducts">Promotion</a></li> 
                            <li>Main Page Event Management
                                <ul style='width: 220px;'>
                                    <li><a href="#ConsumerPhoto">Tab</a></li>
                                    <li><a href="#Mobile">Event Hotel</a></li> 
<li>Basic Code
<ul style='width: 250px;'>
<li><a href="#Education">Nation Code</a></li>
<li><a href="#Financial">City Code</a></li> 
</ul>
</li>
                                </ul>
                            </li>
                            <li><a href="#">Event Image</a></li>
                        </ul> 
                    </li>
                </ul>
            </div>

    </div>
</body>
</html>

?

  1. Smooth Scroll - 스크롤 이동 ( 속도 , 위치 )

    Date2013.04.06 CategoryPlugIn Bykay Views12680
    Read More
  2. sliding horizontal parallax - parallax 공부 샘플

    Date2013.04.17 CategoryPlugIn Bykay Views6151
    Read More
  3. SelectBox Option 값 초기화 및 수정 삭제

    Date2013.03.02 CategoryUI Bykay Views36669
    Read More
  4. Select Box Option 동적 추가 , 삭제 , 복사

    Date2015.09.18 CategoryUI Bykay Views7083
    Read More
  5. select Box option ( 초기화,추가,삭제 )

    Date2013.04.03 CategoryUI Bykay Views9533
    Read More
  6. readonly , disabled 지정하기

    Date2013.10.01 CategoryA to Z Bykay Views4109
    Read More
  7. poshytip - 툴팁

    Date2013.04.15 CategoryPlugIn Bykay Views11804
    Read More
  8. Moodular - 회전,슬라이더, 터치 ,모자이크

    Date2013.05.04 CategoryPlugIn Bykay Views5354
    Read More
  9. Menu Bar

    Date2013.02.06 CategoryUI Bykay Views5176
    Read More
  10. makisu - 메뉴 접기(?)

    Date2013.04.16 CategoryPlugIn Bykay Views18446
    Read More
  11. lightBox2 - 레이어 팝업

    Date2013.04.06 CategoryPlugIn Bykay Views6136
    Read More
  12. jquery-syaku.rolling 상하좌우 롤링 ( 자동롤링 , 버튼 )

    Date2014.02.09 CategoryPlugIn Bykay Views20167
    Read More
  13. Jquery 로 defaultValue 읽어오기

    Date2013.10.03 CategoryA to Z Bykay Views3754
    Read More
  14. Jquery 갤러리 "jQuery-awesome-images-Gallery-lightbox"

    Date2013.07.30 CategoryUI Bykay Views4260
    Read More
  15. jQuery Zoom - 이미지 줌 제어 ( 휠 , 클릭 , 오버 )

    Date2013.04.17 CategoryPlugIn Bykay Views8431
    Read More
  16. Jquery Slider Bar / 슬라이더 바 3종 샘플

    Date2014.07.28 CategoryUI Bykay Views6720
    Read More
  17. jQuery Plugin For Auto Resizing iFrame - iFrame Resizer

    Date2014.03.10 CategoryPlugIn Bykay Views105764
    Read More
  18. jQuery Org Chart - 조직도 그리기

    Date2014.09.01 CategoryPlugIn Bykay Views16618
    Read More
  19. Jquery Load 유무 체크하기

    Date2014.02.12 Categoryetc Bykay Views4287
    Read More
  20. jQuery Learning Center - 공부 공부

    Date2013.04.05 CategoryA to Z Bykay Views4236
    Read More
Board Pagination Prev 1 2 3 Next
/ 3