Commit Graph

192 Commits

Author SHA1 Message Date
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
GregDThomas
38b8b818e8 See issue #10 - provide support for optional settings, including prevention of the mousewheel event and the speed of scrolling 2013-03-14 11:36:57 +09:00
Hyunje Alex Jun
938f3134d7 Release 0.3.1.
Patch notes
1. Mobile touch support.
2. Scrolling logic enhancement.
3. Bug fix.
2013-02-16 00:23:49 +09:00
Hyunje Alex Jun
aa213398f3 Enhance scroll preventDefault logic.
Now scroll preventDefault works more like default browser scroll.
When the scroll leaches top, bottom, left and right end, don't
prevent default scrolling. For sure, when the content size is
smaller than the container size, also don't prevent default scrolling.
2013-02-16 00:17:23 +09:00
Hyunje Alex Jun
1cdbc9509f Fix missed ';'
In JavaScript, it's the convension that ';' is placed
at the end of statement
2013-02-15 23:58:57 +09:00
David
627b6a6b81 Take into account padding and margins on content
Changed the height and widths calculations of the content div to
include any padding and/or margins.

outerHeight(true) is changed to outerHeight(false).
outerWidth is changed as same.
Fixed by noraesae.
2013-02-15 23:44:20 +09:00
Hyunje Alex Jun
0099bb556c Supports the mobile touch scrolling.
Using touch events, support mobile scrolling with touch.
2013-02-12 22:37:45 +09:00
Hyunje Alex Jun
2e1e9f2f75 Release 0.2.5.
Patch notes
1. Bug fix.
2. Include min version with jquery-mousewheel.
2013-02-08 10:38:43 +09:00
Hyunje Alex Jun
f3b6fd520c Modify build script to uglifyjs2.
Upgrade to uglifyjs2 and add shell script to create
a min version source that includes jquery-mousewheel.
2013-02-08 10:36:01 +09:00
Hyunje Alex Jun
a6bb9d02a3 Include jquery-mousewheel in src. 2013-02-08 10:35:34 +09:00
Hyunje Alex Jun
639f369d33 Merge pull request #2 from davidkethel/patch-2
Ensure div is at top/left when scroll bars removed
2013-02-07 17:07:19 -08:00
David
dacb601f9f Update src/perfect_scrollbar.js
Ensure the panel is at the top after an update where the scroll bars
are removed. Other wise it is possible to get stuck midway down a panel
with no way of scrolling.
2013-02-07 14:29:44 +10:00
Hyunje Alex Jun
0c9dc8dbb4 Merge pull request #1 from davidkethel/patch-1
Just a couple of small grammar changes
2013-02-06 05:44:16 -08:00
David
f32e32485b Just a couple of small grammar changes 2013-02-06 20:02:02 +10:00
Hyunje Alex Jun
a4bee31597 Update README.md
Add the way how to scroll to somewhere.
2013-01-28 14:00:49 +09:00
Hyunje Alex Jun
bd9e96be12 Release 0.2.4.
Release to jquery plugins.
2013-01-28 13:52:25 +09:00
Hyunje Alex Jun
1bd0c102db IE support. 2012-11-10 17:30:09 +09:00
Hyunje Alex Jun
36ae8c4059 Add .gitignore. 2012-11-10 13:44:08 +09:00
Hyunje Alex Jun
db020f1d29 bug fix.
if handler functions are null, don't do anything.
2012-11-10 13:41:31 +09:00
Hyunje Alex Jun
8a7a471522 Update README.md
Update README for release!
2012-11-10 04:37:54 +09:00
Hyunje Alex Jun
a96c918dc8 Add update and destroy function, enhance css.
this is the release version!
2012-11-10 03:13:47 +09:00
Hyunje Alex Jun
474351752d Add x-axis scroll function. 2012-11-09 01:32:10 +09:00
Hyunje Alex Jun
aba49e4286 Add build script.
This shell script needs uglifyjs and cleancss.
2012-11-08 22:22:42 +09:00
Hyunje Alex Jun
efe6727e5d Add y-axis scroll function. 2012-11-08 22:22:26 +09:00
Hyunje Alex Jun
ca22fedf65 Add wheel scroll function. 2012-11-06 22:35:27 +09:00
Hyunje Alex Jun
b409aa3ff3 Base source structure. 2012-11-06 22:01:41 +09:00
Hyunje Alex Jun
2990baddb1 Update README.md
under development
2012-11-06 21:59:36 +09:00
Hyunje Alex Jun
10f9ccae99 Initial commit 2012-11-06 04:17:47 -08:00