Siebrand Mazeland
a3770884ac
Position: Replace double space with single space.
2013-08-02 10:02:27 -04:00
Scott González
d500e945a4
Position: Use absolute positioning when getting scrollbar width to avoid reflows of user content. Fixes #9291 - Position - $.position.scrollbarWidth detection causes layout issues.
2013-05-16 08:34:04 -04:00
Scott González
0da5f9946d
Revert "Position: Use absolute positioning when getting scrollbar width to avoid reflows of user content. Fixes #9291 - Position - $.position.scrollbarWidth detection causes layout issues."
...
This reverts commit 1d3b8ff78e
.
2013-05-16 08:32:58 -04:00
Scott González
1d3b8ff78e
Position: Use absolute positioning when getting scrollbar width to avoid reflows of user content. Fixes #9291 - Position - $.position.scrollbarWidth detection causes layout issues.
2013-05-16 06:26:03 -04:00
Scott González
e9c04bfa43
Position: Fix orientation check for scrollbar widths. Fixes #8763 - Position: getScrollInfo() swapped width and height.
2013-02-26 08:59:28 -05:00
David Petersen
c958b211db
Position: Handle decimal percentage offsets. Fixes #9076 : percentage offset does not support decimal
2013-02-12 07:05:19 -06:00
Scott González
83cbf97978
Update copyright year to 2013.
2013-01-10 08:52:20 -05:00
Scott González
a1eb9ca4be
Position: Split out dimension parsing.
2012-12-06 15:00:42 -05:00
Scott González
68cab60fa7
Removed bgiframe.
2012-10-26 10:53:17 -04:00
Scott González
2582bfab46
Position: Removed offset option. Fixes #6982 - Position: Remove offset option.
2012-10-25 06:39:14 -04:00
Scott González
149567e476
Updated docs URLS.
2012-09-26 18:06:20 -05:00
Scott González
651460792b
Position: Properly handle flip collision when the window is scrolled. Fixes #8481 - Position in flip mode does not take into consideration scrollTop and scrollLeft.
2012-08-17 10:34:00 -04:00
Scott González
485ca7192a
Simplify licensing.
2012-08-09 15:09:50 -04:00
Scott González
a4534bb993
Update copyright to jQuery Foundation.
2012-07-04 09:08:08 -04:00
Scott González
57d18cd6b7
Removed some unused variables.
2012-04-28 17:36:38 -04:00
Jörn Zaefferer
c660d679b1
Position: Remove at-center guards, take at:center into account instead. Fixes #8127 - collision:flip should be supported for at:center
2012-04-24 17:50:52 +02:00
Jörn Zaefferer
252352e124
Position: Fix scrollbar calculcation to correctly take overflow:scroll into account, along with unit tests
2012-04-24 17:23:25 +02:00
Scott González
2cf9948cad
Position: Use offsets for all calculations in feedback API.
2012-04-20 11:02:50 -04:00
Scott González
22b7f9a819
Position: Use targetElem for events to maintain consistency.
2012-04-20 10:12:14 -04:00
Scott González
a9f1ffb4fd
Position: Simplify border calculations for feedback.
2012-04-20 10:10:02 -04:00
Jörn Zaefferer
3b73177d0c
Position: Also create a local reference for Math.round; update other Math references
2012-04-20 14:15:57 +02:00
Jörn Zaefferer
cfa6aa328e
Position: offset() always returns null for window, so provide default 0/0 coordinates to avoid checks further down
2012-04-20 14:13:52 +02:00
Jörn Zaefferer
be3af5bc64
Position: Move Math.abs/max definitions to the top of the file
2012-04-20 14:09:17 +02:00
Jörn Zaefferer
d3dc637b65
Position: Cleanup variable definitions, move undefined vars to the top
2012-04-18 16:43:25 +02:00
Jörn Zaefferer
f594c0623a
Position: Make getOffsets and parseCss helpers local functions, no need to expose those
2012-04-18 00:30:47 +02:00
Jörn Zaefferer
a5fc9eb7db
Position: Expose target and element dimensions to allow further customization, like calculating the angle between the two elements
2012-04-13 16:05:29 +02:00
Jörn Zaefferer
cb67eb535c
Position: Cache the scrollbarWidth calculation result
2012-04-13 15:12:37 +02:00
Jörn Zaefferer
7dcfae7da2
Position: Extract getWithinInfo method, use that for tests that call getScrollInfo directly, pass within info to that, gets rid of a few more DOM accesses
2012-04-13 15:05:43 +02:00
Jörn Zaefferer
c0a5e52f87
Position: Finish refactoring of within data
2012-04-13 14:46:43 +02:00
Jörn Zaefferer
59b93a7dac
Position: Refactor within-data to avoid calculating that more then needed. Not quite done, but good enough for now
2012-04-12 18:33:31 +02:00
Jörn Zaefferer
8c76fe38bf
Position: Inline center variable. Not necessary with gzip (or a good minifier) in place, wasn't consistent with other inline strings
2012-04-12 17:48:01 +02:00
Jörn Zaefferer
1779d86b40
Position: add target property to feedback argument, to allow additional calculation in user's using callback
2012-04-12 17:33:05 +02:00
Jörn Zaefferer
2154ca552a
Position: Cache Math.abs and Math.max lookups
2012-04-12 17:14:03 +02:00
Jörn Zaefferer
58d5452a7c
Position: Refactor css parse calls
2012-04-12 17:10:51 +02:00
Jörn Zaefferer
6ffc4adf06
Position: Calculate scrollInfo just once, not for each element
2012-04-12 16:57:51 +02:00
Jörn Zaefferer
08c8aedf80
Position: Refactor offset calculations
2012-04-12 16:56:54 +02:00
Jörn Zaefferer
0c5c2c7055
Position: Restrict the center/middle priority to target < element cases
2012-04-12 16:14:16 +02:00
Jörn Zaefferer
d077f9b360
Position: Improve feedback API by giving the center/middle position more weight. Also removed themeswitcher from test pages, now load faster
2012-04-12 01:32:30 +02:00
Jörn Zaefferer
623e8e68b4
Position: Mini refactoring, avoids proxying using callback multiple times if more then one element is positioned
2012-04-11 00:19:26 +02:00
Jörn Zaefferer
c0cceee8e4
Position: Fix single var, whitespace. Clone targetOffset to avoid reading that twice
2012-04-10 23:41:41 +02:00
Jörn Zaefferer
e5ba731019
Position: Use a separate object and argument for the feedback information, keeping position props as they were
2012-04-10 22:16:38 +02:00
Jörn Zaefferer
479530bb61
Position: First draft for a new notification API, via using callback, telling you were the of-element is, not just when something flipped. New test page demonstrates usage
2012-04-10 18:15:30 +02:00
kborchers
cd90e57f22
Merge branch 'positionWithin'
2012-04-04 22:12:11 -05:00
Jörn Zaefferer
79f1eea6dc
Build: Filter filters for linting to exclude some to-be-rewritten ones. Fix lint in those remaining
2012-04-04 11:02:08 +02:00
kborchers
e7701e2efa
Position: Fixed issue with offsets using the within option which caused flips to not happen when the containing element had been scrolled.
2012-04-03 21:08:34 -05:00
Scott González
ccbfd45924
A few lint fixes.
2012-04-02 15:55:50 -04:00
Jo Liss
37dcc3e21d
Protect all copyright notices against minification
...
For instance, this is useful for the jquery-ui-rails gem, which does not
use jQuery UI's own minification, but relies on Rails to minify the
files where necessary. Rails in turn uses UglifyJS for JS and YUI for
CSS, both of which respect the /*! ... */ convention.
2012-04-02 15:21:06 +02:00
Scott González
932fe888c0
Updated copyright year.
2012-03-08 10:53:08 -05:00
jdomnitz
57fe6ed01d
JavaScript "strict mode" fixes
2012-02-12 19:58:56 -05:00
Scott González
609243b21d
Use jQuery.css() instead of deprecated jQuery.curCSS().
2012-02-12 09:01:06 -05:00