메뉴 건너뛰기

조회 수 1296 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

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

단축키

Prev이전 문서

Next다음 문서

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

I faced the same trouble and here is my solution: we should count how many child elements we have under .bxslider2 block


$("#ticket-list li").length


and if there is only one, then set option to 'false', otherwise to 'true'.


$('.bxslider2').bxSlider({

   mode: 'horizontal',

   speed: '180',

   pagerType:'full',

   pager: ($("#ticket-list li").length > 1) ? true: false,

   captions: false

 });


Hope it will helps.


  1. jqGrid / custom pager / custom paging / 그리드 / 페이징

  2. No Image 25Mar
    by
    2021/03/25 Views 276 

    javascript, jQuery에서 루프 돌리기 예 (for, forEach, each)

  3. No Image 21Sep
    by
    2016/09/21 Views 6801 

    Input TYPE=“File” 을 히든으로 하고 외부 버튼을 눌러서 파일을 선택

  4. No Image 26Mar
    by
    2021/03/26 Views 176 

    input checkbox 모두 체크하기

  5. No Image 07Nov
    by
    2018/11/07 Views 1403 

    iframe height auto resize

  6. No Image 18Nov
    by
    2016/11/18 Views 7118 

    html 테이블 고정 (table fixed)

  7. Html 색상표 모음, 색상코드표 (RGB), 이미지X, 복사 가능

  8. hover 메소드를 이용해서 메뉴 on, off를 구현

  9. No Image 07Nov
    by 조쉬
    2018/11/07 Views 1296 

    Hide pager if bxslider has only 1 slide

  10. No Image 21Sep
    by
    2016/09/21 Views 8566 

    Get방식 파라미터 전송 & 탭 메뉴 선택

  11. No Image 21Sep
    by
    2016/09/21 Views 7125 

    getScript()

  12. No Image 21Sep
    by
    2016/09/21 Views 8379 

    getJSON() 함수

  13. No Image 07Nov
    by
    2018/11/07 Views 1299 

    getElementsByClassName 을 IE8 이하에서 동작하게 하는 코드

  14. No Image 21Sep
    by
    2016/09/21 Views 7346 

    FORM 객체 초기화 하기

  15. No Image 26Mar
    by
    2021/03/26 Views 195 

    foreach문

  16. No Image 26Mar
    by
    2021/03/26 Views 171 

    focus() 로 오브젝트 옮기기

  17. No Image 26Mar
    by
    2021/03/26 Views 285 

    fadeIn() , fadeOut() 을 이용한 간단한 자동 그림 전환

  18. easing - 효과의 진행 속도

  19. No Image 31Mar
    by
    2021/03/31 Views 273 

    draggable - div 드래그

  20. No Image 21Sep
    by
    2016/09/21 Views 6810 

    document.getElementById() 처럼 DOM 객체 얻기

Board Pagination Prev 1 ... 3 4 5 6 7 8 9 Next
/ 9

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved