日期:2014-05-17  浏览次数:20832 次

JQuery冲突,求解决办法!!
$(document).ready(function(){
$("#returnTop").returnTop({right:40,bottom:30});
});




$(document).ready(function(){
$('.box_skitter_normal').css({width: 400, height: 300}).skitter({interval: 2000, hideTools: true});
// Highlight
$('pre.code').highlight({source:1, zebra:1, indent:'space', list:'ol'});
});


冲突,如何解决?

------解决方案--------------------
var jq=$.noConflict();
用jq调用所有的。比如jq('pre.code').highlight({source:1, zebra:1, indent:'space', list:'ol'});