2014-02-12 2 views
0

FancyBox2 및 demo site is here에 부트 스트랩 3을 사용하고 있습니다. 사진 갤러리의 첫 번째 사진에 NO 탐색 화살표가 있다는 점을 제외하고는 모두 훌륭하게 작동합니다. 다른 모든 사진에는 탐색 화살표가 있습니다. 왜 아무도 단서가 있습니까?부트 스트랩 3 및 FancyBox2 : 갤러리의 첫 번째 사진에 탐색 화살표가 표시되지 않습니다.

두 번째 사진 코드가있는 첫 번째 사진 코드는 다음과 같습니다. 보시다시피 코드는 거의 동일합니다. 내가 개발자 도구를 사용하여 서버의 코드를 볼 때

  <a class="thumbnail fancybox" rel="lightbox" href="http://placehold.it/400x400.png"> 
       <img class="img-responsive" alt="First title here" src="http://placehold.it/200x200" /> 
       <div class="text-center"> 
        <small class="text-muted">Image Title</small> 
       </div> <!-- text-center/end --> 
      </a> 


      <a class="thumbnail fancybox" rel="ligthbox" href="http://placehold.it/400x400.png"> 
       <img class="img-responsive" alt="second title here" src="http://placehold.it/200x200" /> 
       <div class="text-center"> 
        <small class="text-muted">Image Title</small> 
       </div> <!-- text-center/end --> 
      </a> 

그러나, 나는 화살표가 동적으로 (내가 틀릴 수도) 자바 스크립트를 통해 추가 될 것으로 보인다 것을 볼 수 있습니다. 어떤 이유로 첫 번째 사진에 동적으로 추가되지 않습니다.

누구든지 아이디어가 있습니까?

답변

0

그냥 첫 번째 사진 코드를 두 번째 사진 코드로 바꾸고 잘 작동합니다 ... 여전히 문제가 무엇인지 잘 모릅니다. 그러나, 그것은 작동합니다.