日期:2014-05-16  浏览次数:20314 次

求大神来帮个忙,找一下源码。
想做个搜狐那种图片特效,就看了下它的源码。特效代码是这样的

<script>
    kao( 'focslider', function () {
        jQuery('#focusSlider').ImgSlide({
            loop:true,
        scrollSpeed : 3e3,
        autoScrollAniSpeed : 450,
        clickSpeed : 100,
        hoverDelay : 100,
        cutAniSpeed : 650,
            data: [
{p: "http://i2.itc.cn/20130707/2b7d_56239904_f50c_8420_6cbe_1020edbb91be_1.jpg",
                    p1: "http://i3.itc.cn/20130705/2f6f_d091a35f_e9b4_682c_c631_f24d2f1ac105_1.jpg",
                    l: "http://tv.sohu.com/20130812/n383898612.shtml",
                    t: "血意少年",
                    bgcolor : '#000000'
               },

{p:"http://i2.itc.cn/20130811/2f6f_2cfcd156_f467_43c1_24ee_94b0fd0cb53d_1.jpg",
p1:"http://i1.itc.cn/20130620/2f6f_4ba01596_fdc0_f163_d254_f241844d0bd8_1.jpg",
l:"http://tv.sohu.com/20130811/n383876808.shtml",
t:"航海王",
bgcolor : '#78d8e9'},
{p:"http://i3.itc.cn/20130620/2f6f_f23b3f7d_7fad_b6a3_252a_71366eeafb44_1.jpg",
                    p1:"http://i2.itc.cn/20130620/2f6f_6ec17f5a_8791_6649_8a9c_bdceb2179668_1.jpg",
                    l:"http://tv.sohu.com/20130811/n383884725.shtml",
                    t: "全职猎人",
                    bgcolor : '#2e226e'
                },

{p:"http://i2.itc.cn/20130808/2f6f_af40b84e_3141_0831_74a5_1f4d6a64797a_1.jpg",
p1:"http://i1.itc.cn/20130620/2b7d_0b646cc2_7094_3e9d_cb31_e0c9627652e4_1.jpg",