比如刚才报错: $(...).imgscroller is not a function
错误原因是JS重复引用:
<head> …… <script type="text/javascript" src="/js/jquery.min.js"> </script> <script type="text/javascript" src="/js/jquery.cookie.js"></script> …… <script type="text/javascript" src="/js/jquery.min.js"> </script> <script type="text/javascript" src="/js/jquery.cookie.js"></script>
</head>
删除重复的引用,错误修复