2013-03-23 2 views
0

내 레스토랑 용 웹 사이트를 만들고 있습니다.하나의 슬라이더가 작동하지만 다른 슬라이더는 작동하지 않습니까?

는 여기 http://food-ies.fr/livraison-kebab-grillades.html

2 일 이미지 슬라이더를했다하지만이 NIVO 슬라이더를 추가 할 때 이 이미지 슬라이더 중지 여기 http://food-ies.fr/index.html

참조 헤더에 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>를 추가!

누구나 단서가 있습니까?

+0

html 페이지에서 nivo 객체를 어떻게 초기화 했습니까? –

+0

이 튜토리얼의 http : //dev7studios.com/nivo-slider/#/documentation – MobiusApps

+0

두 번째 이미지가 존재하고 url이 올바른 'http : // food-ies.fr/images/diapo_haut/exemple_diapo2.jpg'에 있는지 확인하십시오. –

답변

1

는 내가 jQuery를 아래에이 코드를 추가 :

<script> 
    var $j = jQuery.noConflict(); 
    // Use Prototype with $(...), etc. 
    $('someid').hide(); 
</script> 

을 그것은 지금은 완벽하게 작동합니다!

0

.live() 호출은 nivo에서 사용하는 jquery 1.9.1에서 제거되었습니다. nivo는 첫 번째 이미지를로드하지만 .live는 이미지 스와핑 중에 사용됩니다.

검색과 jquery.nivo.slider.js 다음 예와 같이 jquery.nivo.slider.pack.js 모두 .live 교체 ..

올드 : $ ('a.nivo-nextNav' , 슬라이더) .live (등 ('클릭')

새로운 : $ (문서) CSTE 연구진 ('클릭'등() - nextNav a.nivo '

나는 가로 질러 온 .live()를 사용하는 각 파일의 2 개 장소

관련 문제