Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit 3959e89

Browse files
committed
v0.6 - scroll browse bug fix
1 parent 8e3be8c commit 3959e89

File tree

6 files changed

+9
-10
lines changed

6 files changed

+9
-10
lines changed

README.md

99 Bytes
Binary file not shown.

blanklinks.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<link rel="stylesheet" href="css/animate.css">
1717
<link rel="stylesheet" href="css/github.css">
1818

19-
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
19+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
2020
<script type="text/javascript" src="js/jPages.js"></script>
2121
<script type="text/javascript" src="js/highlight.pack.js"></script>
2222
<script type="text/javascript" src="js/tabifier.js"></script>

js/jPages.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* jQuery jPages v0.5
2+
* jQuery jPages v0.6
33
* Client side pagination with jQuery
44
* http://luis-almeida.github.com/jPages
55
*
@@ -8,7 +8,7 @@
88
* https://github.com/luis-almeida
99
*/
1010

11-
(function ( $, window, document, undefined ) {
11+
;(function ( $, window, document, undefined ) {
1212

1313
var name = "jPages",
1414
instance = null,
@@ -312,7 +312,7 @@
312312
Plugin.prototype.bindNavScrollBrowse = function () {
313313

314314
this._container.bind( "mousewheel.jPages DOMMouseScroll.jPages", this.bind(function( evt ) {
315-
var newPage = ( evt.wheelDelta || -evt.detail ) > 0 ?
315+
var newPage = ( evt.originalEvent.wheelDelta || -evt.originalEvent.detail ) > 0 ?
316316
( this._currentPageNum - 1 ) : ( this._currentPageNum + 1 );
317317

318318
if ( this.validNewPage( newPage ) ) {

js/jPages.min.js

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scrollbrowse.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<link rel="stylesheet" href="css/animate.css">
1717
<link rel="stylesheet" href="css/github.css">
1818

19-
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
19+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
2020
<script type="text/javascript" src="js/jPages.js"></script>
2121
<script type="text/javascript" src="js/highlight.pack.js"></script>
2222
<script type="text/javascript" src="js/tabifier.js"></script>

titlelinks.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<link rel="stylesheet" href="css/animate.css">
1717
<link rel="stylesheet" href="css/github.css">
1818

19-
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
19+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
2020
<script type="text/javascript" src="js/jPages.js"></script>
2121
<script type="text/javascript" src="js/highlight.pack.js"></script>
2222
<script type="text/javascript" src="js/tabifier.js"></script>
@@ -54,7 +54,7 @@
5454
perPage : 1,
5555
midRange : 3,
5656
links : "title",
57-
animation : "flipInY"
57+
animation : "fadeInUp"
5858
});
5959

6060
});

0 commit comments

Comments
 (0)