这段javascript脚本是什么意思呢?看了很久?
特别是这个符号‘$’,我学一段时间了,还没看见这样写的,希望这方面有研究的高手指导一下?
<script type="text/javascript">
    $(document).ready(function(){
     $("#box").jCarouselLite({
         btnPrev: "#prev",
		btnNext: "#next",
    		auto: 4000,//图片停留时间
    		scroll: 1,//每次滚动覆盖的图片个数
    		speed: 1000, //设置速度,0是不动。其次就是数字越大 ,移动越慢。
    		vertical: false,//横向(true),竖向(false)
    		visible: 4, //显示的数量
    		circular: true //是否循环
     });
	$("#boxImg ul li:not(:first)").hide();
	$("#box ul li").each(function(i){
		$(this).click(function(){
			$("#boxImg ul li").hide();
			$($("#boxImg ul li")[i%($("#box ul li").length/3)]).fadeIn("slow");
			})
		})
});
</script>
------解决方案--------------------楼主 这个是jquery,一个封装好的js库。
楼主可以学下
http://www.w3school.com.cn/jquery/index.asp
有了大概的基础 就可以读懂了。
------解决方案--------------------这是jquery的写法,建议楼主系统的学习下。
------解决方案--------------------jquery语法:
  $("#box")就相当于document.getElementById("box")