Commit Graph

377 Commits

Author SHA1 Message Date
Hyunje Alex Jun
bdda167317 Release 0.4.2.
Patch notes
1. Change the logic to detect touch devices.
2. Add minScrollbarLength setting.
2013-08-01 01:09:15 +09:00
Hyunje Alex Jun
123b1d724b Fix the formula between scroll position and scrollbar position.
With @Mordhak's suggestion, fixed the formula to calculate the values.
This patch will resolve the scroll position problem when the
minScrollbarLength setting is applied.
2013-08-01 01:03:33 +09:00
Hyunje Alex Jun
68032d168b Merge pull request #48 from itsdrewmiller/master
Add minScrollbarLength setting.
2013-07-31 08:42:40 -07:00
Drew Miller
ab2a018c93 minScrollbarLength setting
I couldn't figure out the rebasing stuff so I just deleted my fork and
redid the work.  I believe I followed the contributing guidlines
correctly as well.
2013-07-17 12:53:02 -04:00
Zeno Zeng
68c297fe2c Use supportsTouch instead of isMobile. 2013-07-08 23:25:24 +09:00
Hyunje Alex Jun
09c0fb89d2 Use travis-ci. 2013-07-08 23:08:49 +09:00
Hyunje Alex Jun
5124a27113 Release 0.4.1.
Patch notes
1. Wrap core functionality in an each function.
2. Use scrollHeight and scrollWidth for content size.
3. IE fixes.
4. Bug fixes.
2013-06-27 11:26:21 +09:00
Hyunje Alex Jun
fa5e6cb38c Add version number in minified sources.
Version number is parsed from package.json.
Before release, the version number have '-dev' postfix.
2013-06-18 18:54:09 +09:00
Hyunje Alex Jun
dd89f14243 Add contrib-clean to Grunt.
We should clean 'min' directory before build.
2013-06-18 18:46:40 +09:00
Hyunje Alex Jun
7e5b225d61 Display an old version requirement.
This reverts commit f7d953d1eb2e3315d6b6b9d1f9ed217eaa22be6d.

And add 'for old versions' mark to the requirement.
2013-06-18 16:19:10 +09:00
Hyunje Alex Jun
e35920f10e Update README.
Add 'IE Support'.
2013-06-16 18:31:29 +09:00
Hyunje Alex Jun
4f6463114c Merge the patches of @maoziliang.
Includes IE fixes.
2013-06-16 17:59:21 +09:00
Hyunje Alex Jun
f02f5e89b7 Fix ie6 scrollbar position problem.
This patch is in fact contributed by the idea of @maoziliang.
2013-06-16 17:56:40 +09:00
Hyunje Alex Jun
21d5d4ab63 Separate the function updating the css of scrollbars. 2013-06-16 17:45:37 +09:00
maoziliang
e833f42d02 Fixed the scrollbar height for xp sp3 ie6
set 'font-size:0' for the scrollbar
2013-06-16 17:22:18 +09:00
maoziliang
a52d55957d Add hover handlers for ie6.
Use scripts to add '.hover' class on the `.ps-container` and both
scrollbars when then mouse is over them because :hover is not supported
except 'a' element.
2013-06-16 17:13:20 +09:00
maoziliang
e93d67e754 Add feature to suport ie.
For ie browser, the `.ps-container` element will add extra class `ie`
and `ie<version>`, like `ie6`, `ie7`, `ie8`, etc.
2013-06-16 17:00:12 +09:00
maoziliang
37210ee453 Add a sample based on text content 2013-06-16 16:49:30 +09:00
Hyunje Alex Jun
6021ec016e Update README.
The link to Contributing wiki page is added.
2013-06-16 00:30:43 +09:00
Hyunje Alex Jun
9be4a1a85f Minify source files with the new build system.
From now, the build can be done with 'grunt build'.
2013-06-16 00:30:43 +09:00
Hyunje Alex Jun
f65c9cb0bb Add files for Grunt. 2013-06-16 00:30:43 +09:00
Hyunje Alex Jun
29a0c13c65 Add csslintrc. 2013-06-15 22:04:50 +09:00
Hyunje Alex Jun
d8c961ee32 Csslint the css file. 2013-06-15 22:04:50 +09:00
Hyunje Alex Jun
a4d8487ee3 Remove build shell script.
We'll use grunt to build the scripts.
The shell script is no more used.
2013-06-15 20:59:26 +09:00
Hyunje Alex Jun
ff55090cd3 Add node_modules in gitignore. 2013-06-15 20:59:07 +09:00
Hyunje Alex Jun
7bc05bbda1 Refactor jshint files.
We'll use grunt, and jshintignore is useless.
Remove comments in jshintrc to be parsed in grunt.
2013-06-15 20:49:22 +09:00
Hyunje Alex Jun
3b1c37440e Inhance the scroll logic with mobile touches.
The scroll works only when the user touch and scroll the wrapper div
with just one touch. By this patch, the zoom function will not be
prevented by scrolling content.
2013-06-14 21:57:24 +09:00
Hyunje Alex Jun
aeab94c7d6 Fix the wrong indents in example pages. 2013-06-14 21:39:53 +09:00
Hyunje Alex Jun
eb8f28cd26 JSHint the code.
Missing space.
2013-06-14 21:38:33 +09:00
Hyunje Alex Jun
d5ef529438 Modify README.md.
The requirement that force just one content element is gone.
2013-06-14 21:36:47 +09:00
Hyunje Alex Jun
34a505d319 Remove $content.
It's not used anymore.
2013-06-14 21:35:32 +09:00
Hyunje Alex Jun
a8db04e41d Merge pull request #36 from zenozeng/master
Use prop('scrollWidth') and prop('scrollHeight') instead of outerWidth() and outerHeight() to get the content size.
2013-06-14 05:32:44 -07:00
Zeno Zeng
d14dfd307e use scrollHeight & scrollWidth to avoid getting the wrong size of the content 2013-06-14 10:13:30 +08:00
Hyunje Alex Jun
de6e4d59b0 Merge pull request #34 from itsdrewmiller/master
pull request for the fix provided in issue 16, for both vertical and horizontal scrolling
2013-06-12 09:29:49 -07:00
itsdrewmiller
351631cfa7 Fixing jumpiness for large scrolls
https://github.com/noraesae/perfect-scrollbar/issues/16
2013-06-12 12:57:43 -03:00
Hyunje Alex Jun
2f6432d263 Merge pull request #30 from maoziliang/master
Update the destroy method. Unbind listeners by event namespace.
2013-06-01 20:40:34 -07:00
maoziliang
3410cf89be update the destroy method. unbind listeners by event namespace.
This will be convenient for adding new event bind in the file. Do not
worry about forgetting to unbind it.
2013-06-02 11:16:33 +08:00
Hyunje Alex Jun
b89660f959 Merge pull request #26 from ahmadsherif/master
Wrap core functionality in an each function.
2013-05-22 18:46:32 -07:00
Ahmad Sherif
d5dd3422cf Wrap core functionality in an each function
If we have many DOM elements that match the PerfectScrollbar selector,
then all elemets get scrolled if one of them is scrolled.
2013-05-22 11:48:51 +02:00
Hyunje Alex Jun
c6c087275c Release 0.3.4.
Patch notes
1. Fix the bug that scrollbars don't stop at the end.
2. Code refactoring.
2013-05-18 12:43:38 +09:00
Hyunje Alex Jun
4613c3daee Code refactoring. 2013-05-18 12:41:15 +09:00
Hyunje Alex Jun
667c61d2c3 Add jshint files. 2013-05-18 12:39:26 +09:00
Hyunje Alex Jun
4012ce9c8c Prevent scrollbar x from moving out of the container. 2013-05-18 12:21:20 +09:00
Hyunje Alex Jun
9734a18d01 Merge pull request #19 from EtnasSoft/master
Fixed bug with the Mouse Wheel and the right scroll bar.
2013-05-17 20:18:19 -07:00
etnassoft
4f49b0fa7f Fix bug with mouse wheel 2013-03-21 11:21:20 +01:00
Hyunje Alex Jun
9d6728e3ff Release 0.3.3.
Patch notes
1. Apply jshint.
2. Fix jQuery plugin site version problem.
2013-03-14 15:47:20 +09:00
Hyunje Alex Jun
69c37268a1 Apply jshint. 2013-03-14 15:46:12 +09:00
Hyunje Alex Jun
960468fc9e Release 0.3.2.
Patch notes
1. Optional parameter support.
 - wheelSpeed
 - wheelPropagation
2. Example codes added.
2013-03-14 15:14:38 +09:00
Hyunje Alex Jun
42d528a839 Update README.md
Optional parameter support.
2013-03-14 13:44:51 +09:00
Hyunje Alex Jun
26e9ff1cac Example codes added by @GregDThomas. 2013-03-14 11:49:50 +09:00