저는 JQuery에 익숙하지 않습니다. 그리고 제 페이지에 2 개의 jQuery를 사용했습니다. Jquery에서 충돌을 어떻게 제거 할 수 있습니까?
먼저 JQuery와 들어 내 스크립트는 다음과 같다 : 이제<script>
var jq = $.noConflict();
jq(function() {
jq("#my_tabs").tabs({
event: "click" //click
});
});
</script>
나는 내가 처음으로 jQuery를 잃은 다음과 같이 두 번째 jQuery를 사용하는 경우. 로드 할 수 없습니다.
<script type="text/javascript">
$(document).ready(function() {
$("#waterwheel-carousel-default").waterwheelCarousel();
$("#waterwheel-carousel-higharch").waterwheelCarousel({
startingWaveSeparation: -90,
waveSeparationFactor: .7,
centerOffset: 10,
startingItemSeparation: 120,
itemSeparationFactor: .9,
itemDecreaseFactor: .75
});
$("#waterwheel-carousel-horizon").waterwheelCarousel({
startingWaveSeparation: 0,
centerOffset: 30,
startingItemSeparation: 150,
itemSeparationFactor: .7,
itemDecreaseFactor: .75,
opacityDecreaseFactor: 1,
autoPlay: 1500
});
$("#waterwheel-carousel-flat").waterwheelCarousel({
itemSeparationFactor: 1,
itemDecreaseFactor: 1,
waveSeparationFactor: 1,
startingWaveSeparation: 0,
startingItemSeparation: 280,
centerOffset: 10,
opacityDecreaseFactor: .3,
autoPlay: 3000,
edgeReaction: 'reverse'
});
$("#waterwheel-carousel-vertical").waterwheelCarousel({
orientation: 'vertical',
startingItemSeparation: 100,
startingWaveSeparation: 40,
autoPlay: 2000
});
});
</script>
이미지 슬라이딩을 위해 두 jQueries를 모두 사용하고 있습니다. 문제가 무엇인지 말해 줄 수 있습니까? 감사합니다