Skip to content

initial implementation of jScrollPane#39

Open
tew42 wants to merge 24 commits intofredrike:masterfrom
tew42:patch-5
Open

initial implementation of jScrollPane#39
tew42 wants to merge 24 commits intofredrike:masterfrom
tew42:patch-5

Conversation

@tew42
Copy link
Copy Markdown

@tew42 tew42 commented Aug 19, 2012

This is an implementation of jScrollPane (from http://jscrollpane.kelvinluck.com/ ) for pear4gallery3 in response to #34. It seems to work as it should for the most part, only the endless scrolling functionality is less smooth than previously (additional content is only loaded at the very end of scrolling, currently). This will also impact getScrollbarWidth, haven't looked at the specifics.

@fredrike
Copy link
Copy Markdown
Owner

Try to replace endless scrolling with the built in events: http://jscrollpane.kelvinluck.com/events.html

Also make sure that we don't break the current support for window resizes.

This is very exciting but I'm afraid we will break something whith a major change like this.

Please contact me via email so we can continue the discussion there.

@tew42
Copy link
Copy Markdown
Author

tew42 commented Aug 19, 2012

okay, the last updates here should have restored the endless scroll functionality. resizing doesn't seem to be an issue. I'll email you soon.

@fredrike
Copy link
Copy Markdown
Owner

The code looks great, but may I suggest that you move the init code segment to the pear load function in pear.js. Also a demo page URL so I can test as well before auto merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants