求一个简单的特效 自己写的总是很机械,比如说一个滑动效果,自己写的直接唰的出来了,没有一点滑动的效果 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以用jQuery的animate自定义动画效果! 参考参考这个 希望对你有帮助哦 <script type="text/javascript"> $(document).ready(function(){ $("#box").jCarouselLite({ btnPrev: "#prev", btnNext: "#next", auto: 4000,//图片停留时间 scroll: 4,//每次滚动覆盖的图片个数 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> 求1兼容性较好的(小时:分钟) 时间选择控件 如何通过Javascript调用Vc写好封闭好的Dll里面的函数 javascript事件的参数event.returnValue有用吗? 如何移除或者禁止页面中的JAVASCRIPT AutoComplete,水平有限做不下去了,求高人 firefox下用vml画扇形统计图的问题,高手请进啊! checkbox个数统计 如何使鼠标点复选框后面的文字也能选中该框? 一个关于页面刷新的问题,请指点 有什么方法可以去掉字符串左右两边的空格????? prototype属性的使用,为何会出错呢?初级代码。。。 求简单JS代码
$(document).ready(function(){
$("#box").jCarouselLite({
btnPrev: "#prev",
btnNext: "#next",
auto: 4000,//图片停留时间
scroll: 4,//每次滚动覆盖的图片个数
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>