Skip to content

Scrollable now accepts a "clones" setting. #866

Open
wants to merge 10 commits into from

6 participants

@oheard
oheard commented Sep 18, 2012

This is a follow-up to my pull request yesterday. Rebased onto dev as requested and also fixed my use of spaces instead of tabs that wasn't included in yesterday's request. The original commit message is included below.

Regards,
Oli

-- Original Commit Message --
The "clones" setting configures the number of clone elements used on each side
of the items. E.g., clones=2 would create 4 clone elements, two on either side.

This is useful for visuals where "inactive" items are still visible on screen.
The previous behaviour only proved useful for transitioning between items when
only a single item is displayed pre/post-transition.

Oliver Heard and others added some commits Sep 17, 2012
Oliver Heard Scrollable now accepts a "clones" setting.
The "clones" setting configures the number of clone elements used on each side
of the items. E.g., clones=2 would create 4 clone elements, two on either side.

This is useful for visuals where "inactive" items are still visible on screen.
The previous behaviour only proved useful for transitioning between items when
only a single item is displayed pre/post-transition.
b432b5b
@0liver 0liver added possibility to enclose tooltip element inside trigger element (…
…e.g. for table cells), incl. test
330192f
@brewt brewt Fix for clicking on the next/prev month when it's been disabled via v…
…isibility: hidden closes the calendar - target is the root node instead of the button.
a941165
@ewheeler ewheeler check each tooltip for existence, fixes issue 349
rather than checking if any tooltips already exist.
this way tooltips on some elements that are reloaded via
ajax calls will continue working. the previous code would
assume all tooltips still exist if *any* of the tooltips still
exist -- even if some of them no longer exist. now, part of a
page may be changed and can have new tooltips created instead
of only the ones for elements that did not change.

resolves: jquerytools#349

Signed-off-by: Adam Mckaig <adam.mckaig@gmail.com>
695f13a
@duclet duclet #480: Fixing readonly bug 66cdb8a
@lagrz lagrz When you have a mask currently open and close and need another opened…
… right after. Enables chaining using the onClose callback method
8e72b83
@duclet duclet Issue #563: Fixed ad4ee98
Oliver Heard Merge branch 'dev' of https://github.com/oheard/jquerytools into dev 61927a8
Oliver Heard Corrected whitespace in scrollable.js
I used spaces instead of tabs in my last commit, this fixes it.
df084b9
Oliver Heard Updated mousewheel to use event.originalEvent (changed since jQuery 1.1) c2ee335
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.