File tree 1 file changed +4
-13
lines changed
1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -6,19 +6,11 @@ $(window).load(function() {
6
6
$next = $ ( '<a class="nav_arrow" id="next" href="#">next</a>' ) ,
7
7
$screen = $ ( '<div id="screen"></div>' )
8
8
. append ( $prev , $next )
9
- . mouseover ( function ( ) {
10
- $slides . cycle ( 'pause' ) ;
11
- $prev . show ( ) ;
12
- $next . show ( ) ;
13
- } )
14
- . mouseout ( function ( ) {
15
- $prev . hide ( ) ;
16
- $next . hide ( ) ;
17
- $slides . cycle ( 'resume' ) ;
18
- } ) ,
9
+ . mouseover ( function ( ) { $slides . cycle ( 'pause' ) ; $prev . show ( ) ; $next . show ( ) ; } )
10
+ . mouseout ( function ( ) { $prev . hide ( ) ; $next . hide ( ) ; $slides . cycle ( 'resume' ) ; } ) ,
19
11
$pager = $ ( '<div id="pager"></div>' ) . hover (
20
- function ( ) { $prev . show ( ) ; $next . show ( ) ; } ,
21
- function ( ) { $prev . hide ( ) ; $next . hide ( ) ; }
12
+ function ( ) { $slides . cycle ( 'pause' ) ; $ prev. show ( ) ; $next . show ( ) ; } ,
13
+ function ( ) { $prev . hide ( ) ; $next . hide ( ) ; $slides . cycle ( 'resume' ) ; }
22
14
)
23
15
;
24
16
@@ -30,7 +22,6 @@ $(window).load(function() {
30
22
fx : 'scrollHorz' ,
31
23
timeout : 4000 ,
32
24
speed : 500 ,
33
- pauseOnPagerHover : true ,
34
25
prev : '#prev' ,
35
26
next : '#next' ,
36
27
pager : '#pager'
You can’t perform that action at this time.
0 commit comments