Skip to content

Update js/jquery.smoothDivScroll-1.3.js#48

Open
css117 wants to merge 1 commit into
tkahn:masterfrom
css117:patch-1
Open

Update js/jquery.smoothDivScroll-1.3.js#48
css117 wants to merge 1 commit into
tkahn:masterfrom
css117:patch-1

Conversation

@css117

@css117 css117 commented Oct 3, 2012

Copy link
Copy Markdown

Adding beforeEndDistance option to the object, to trigger scrollerRightLimitSoon callback.

Adding beforeEndDistance option to the object, to trigger scrollerRightLimitSoon callback.
@tkahn

tkahn commented Oct 4, 2012

Copy link
Copy Markdown
Owner

This callback is triggered not only when the scroller reaches the point but on every following point. I think this could be a problem if you use it to load content through AJAX(?)

edit

I think I have a solution for this.

@css117

css117 commented Oct 4, 2012

Copy link
Copy Markdown
Author

In my context, the triggered action is handled by Drupal Ajax : it avoids multiple submission.
So it's not a problem for me, but it could be in some less robust script.

@tkahn

tkahn commented Oct 5, 2012

Copy link
Copy Markdown
Owner

I see! If I can I will make it trigger only once

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