-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full Support for Horizontal Scrollbars #230
base: master
Are you sure you want to change the base?
Conversation
@@ -2,7 +2,67 @@ | |||
|
|||
slimScroll is a small jQuery plugin that transforms any div into a scrollable area with a nice scrollbar - similar to the one Facebook and Google started using in their products recently. slimScroll doesn't occupy any visual space as it only appears on a user initiated mouse-over. User can drag the scrollbar or use mouse-wheel to change the scroll value. | |||
|
|||
Demo and deocumentation available here: [jQuery slimScroll docs](http://rocha.la/jQuery-slimScroll) | |||
Demo and deocumentation available here: [jQuery slimScroll docs](http://lanre-ade.github.io/jQuery-slimScroll/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should probably not have been changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added new examples for horizontal scrolling. Any suggestions where to put them? @deiga
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add them directly into the Readme?
@@ -10,7 +10,7 @@ | |||
<link href="style.css" type="text/css" rel="stylesheet" /> | |||
</head> | |||
<body> | |||
<a id="git-fork" href="https://github.com/rochal/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> | |||
<a id="git-fork" href="https://github.com/lanre-ade/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should probably not have been changed
@@ -10,7 +10,7 @@ | |||
<link href="style.css" type="text/css" rel="stylesheet" /> | |||
</head> | |||
<body> | |||
<a id="git-fork" href="https://github.com/rochal/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> | |||
<a id="git-fork" href="https://github.com/lanre-ade/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should probably not have been changed
@@ -11,7 +11,7 @@ | |||
<link href="style.css" type="text/css" rel="stylesheet" /> | |||
</head> | |||
<body> | |||
<a id="git-fork" href="https://github.com/rochal/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> | |||
<a id="git-fork" href="https://github.com/lanre-ade/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should probably not have been changed
@@ -11,7 +11,7 @@ | |||
<link href="style.css" type="text/css" rel="stylesheet" /> | |||
</head> | |||
<body> | |||
<a id="git-fork" href="https://github.com/rochal/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> | |||
<a id="git-fork" href="https://github.com/lanre-ade/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should probably not have been changed
@@ -11,9 +11,9 @@ | |||
<link href="style.css" type="text/css" rel="stylesheet" /> | |||
</head> | |||
<body> | |||
<a id="git-fork" href="https://github.com/rochal/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> | |||
<a id="git-fork" href="https://github.com/lanre-ade/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should probably not have been changed
@@ -11,10 +11,10 @@ | |||
<link href="style.css" type="text/css" rel="stylesheet" /> | |||
</head> | |||
<body> | |||
<a id="git-fork" href="https://github.com/rochal/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> | |||
<a id="git-fork" href="https://github.com/lanre-ade/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should probably not have been changed
<link href="libs/prettify/prettify.css" type="text/css" rel="stylesheet" /> | ||
<script type="text/javascript" src="libs/prettify/prettify.js"></script> | ||
<script type="text/javascript" src="../jquery.slimscroll.js"></script> | ||
<link href="style.css" type="text/css" rel="stylesheet" /> | ||
</head> | ||
<body> | ||
<a id="git-fork" href="https://github.com/rochal/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> | ||
<a id="git-fork" href="https://github.com/lanre-ade/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should probably not have been changed
@@ -11,7 +11,7 @@ | |||
<link href="style.css" type="text/css" rel="stylesheet" /> | |||
</head> | |||
<body> | |||
<a id="git-fork" href="https://github.com/rochal/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> | |||
<a id="git-fork" href="https://github.com/lanre-ade/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should probably not have been changed
"jquery-plugin", | ||
"ecosystem:jquery" | ||
], | ||
"homepage": "http://lanre-ade.github.io/jQuery-slimScroll/", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this to rochal
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/rochal/jQuery-slimScroll.git" | ||
"url": "https://github.com/lanre-ade/jQuery-slimScroll.git" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should probably not have been changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will undo those changes and re-commit
Added "applyVerticalWheelToHolizontal" and behavior for it.
Thanks to lanre-ade...
Added mousescroll option when the axis is set as x
Supports Horizontal Scrollbars as wells jump scrolling by clicking on the scrollbar rail.
(I initially planned to maintain this as a separate repo but decided otherwise)