当前位置: 代码迷 >> Java Web开发 >> JQuery冲突,求解决方法!
  详细解决方案

JQuery冲突,求解决方法!

热度:49   发布时间:2016-04-16 23:54:18.0
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'});
  相关解决方案