1

我的页面上有两个循环功能要使用。它工作几分钟,然后停止工作。

脚本 1:

                   <script type='text/javascript'>          
                   function pageLoad(sender, args){$('#Vertical').cycle({ 
                   fx: '" + Effect + "'
                   ,sync: 0,
                   prev:'#Verticalprev',
                   next:'#Verticalnext'
                    if (Easing != "0")
                       ,easing: '" + Easing + "'

                   });
                    //On mouseover pause the slider
                   $('#Vertical').mouseover(function() {
                   $('#Vertical').cycle('pause');
                   return false;
                   });

                    //On mouseout start the slider
                   $('#Vertical').mouseout(function() { 
                   $('#Vertical').cycle('resume');
                   }); 

                   }</script>

脚本 2:

                   <script type='text/javascript'>                       
                   function pageLoad(sender, args){$('#Horizontal').cycle({ 
                   fx: '" + Effect + "'
                   ,sync: 0,
                   prev:'#prev',
                   next:'#next'
                    if (Easing != "0")
                       ,easing: '" + Easing + "'

                   });


                    //On mouseover pause the slider
                   $('#Horizontal').mouseover(function() {
                   $('#Horizontal').cycle('pause');
                   return false;
                   });

                    //On mouseout start the slider
                   $('#Horizontal').mouseout(function() { 
                   $('#Horizontal').cycle('resume');
                   }); 

                   }</script>

谁能帮我这个?

4

0 回答 0