Jquery css3自动滚动图像

时间:2016-10-17 20:23:19

标签: javascript jquery html css3

嗨,我有这段代码,我会修改

<section id="imgTestata1"  style="background-color:#f7f7f7; color:#ffffff;  background-image:url(../asset/images/scatti/home1.jpg); padding-top:290px; padding-bottom:0px; background-position:Right top; background-size:cover;">
<div class="row-inner row-inner-full">
    <div class="wpb_column vc_column_container vc_col-sm-12">
        <div class="vc_column-inner ">
            <div class="wpb_wrapper">
                <div class="colored-box wpb_animate_when_almost_visible wpb_bottom-to-top" style="max-width:550px; padding:35px 45px 50px; margin-left:40px;">
                    <img src="../asset/images/logo_trasparente.png" style="width:100%" />
                  </div>
                <div class="vc_spacer" style="height:40px"></div>
                <div class="sticky_navigation_wrapper">
                    <div class="sticky_navigation">
                        <div class="sn_inner">
                            <a href="#wrapper">
                                <div class="to_top"><i class="fa fa-caret-up"></i></div>
                            </a>
                            <ul>
                                <li><a href="#innovazione">Innovazione</a></li>
                                <li><a href="#inside">What's inside</a></li>

                                <li><a href="#team">Our Team</a></li>
                                <li><a href="#features">Features</a></li>
                            </ul>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>

我想添加一个javascript函数,可以让我在名为“imgTestata1”的部分中更改背景图片 感谢