aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.position.js
Commit message (Collapse)AuthorAgeFilesLines
* Updated docs URLS.Scott González2012-09-261-1/+1
|
* Position: Properly handle flip collision when the window is scrolled. Fixes ↵Scott González2012-08-171-2/+2
| | | | #8481 - Position in flip mode does not take into consideration scrollTop and scrollLeft.
* Simplify licensing.Scott González2012-08-091-1/+1
|
* Update copyright to jQuery Foundation.Scott González2012-07-041-1/+2
|
* Removed some unused variables.Scott González2012-04-281-4/+1
|
* Position: Remove at-center guards, take at:center into account instead. ↵Jörn Zaefferer2012-04-241-10/+6
| | | | Fixes #8127 - collision:flip should be supported for at:center
* Position: Fix scrollbar calculcation to correctly take overflow:scroll into ↵Jörn Zaefferer2012-04-241-5/+6
| | | | account, along with unit tests
* Position: Use offsets for all calculations in feedback API.Scott González2012-04-201-4/+4
|
* Position: Use targetElem for events to maintain consistency.Scott González2012-04-201-1/+1
|
* Position: Simplify border calculations for feedback.Scott González2012-04-201-2/+2
|
* Position: Also create a local reference for Math.round; update other Math ↵Jörn Zaefferer2012-04-201-8/+9
| | | | references
* Position: offset() always returns null for window, so provide default 0/0 ↵Jörn Zaefferer2012-04-201-3/+3
| | | | coordinates to avoid checks further down
* Position: Move Math.abs/max definitions to the top of the fileJörn Zaefferer2012-04-201-6/+6
|
* Position: Cleanup variable definitions, move undefined vars to the topJörn Zaefferer2012-04-181-11/+6
|
* Position: Make getOffsets and parseCss helpers local functions, no need to ↵Jörn Zaefferer2012-04-181-15/+16
| | | | expose those
* Position: Expose target and element dimensions to allow further ↵Jörn Zaefferer2012-04-131-2/+15
| | | | customization, like calculating the angle between the two elements
* Position: Cache the scrollbarWidth calculation resultJörn Zaefferer2012-04-131-2/+6
|
* Position: Extract getWithinInfo method, use that for tests that call ↵Jörn Zaefferer2012-04-131-18/+20
| | | | getScrollInfo directly, pass within info to that, gets rid of a few more DOM accesses
* Position: Finish refactoring of within dataJörn Zaefferer2012-04-131-18/+17
|
* Position: Refactor within-data to avoid calculating that more then needed. ↵Jörn Zaefferer2012-04-121-20/+23
| | | | Not quite done, but good enough for now
* Position: Inline center variable. Not necessary with gzip (or a good ↵Jörn Zaefferer2012-04-121-12/+11
| | | | minifier) in place, wasn't consistent with other inline strings
* Position: add target property to feedback argument, to allow additional ↵Jörn Zaefferer2012-04-121-1/+2
| | | | calculation in user's using callback
* Position: Cache Math.abs and Math.max lookupsJörn Zaefferer2012-04-121-4/+6
|
* Position: Refactor css parse callsJörn Zaefferer2012-04-121-6/+7
|
* Position: Calculate scrollInfo just once, not for each elementJörn Zaefferer2012-04-121-1/+1
|
* Position: Refactor offset calculationsJörn Zaefferer2012-04-121-12/+8
|
* Position: Restrict the center/middle priority to target < element casesJörn Zaefferer2012-04-121-2/+2
|
* Position: Improve feedback API by giving the center/middle position more ↵Jörn Zaefferer2012-04-121-0/+6
| | | | weight. Also removed themeswitcher from test pages, now load faster
* Position: Mini refactoring, avoids proxying using callback multiple times if ↵Jörn Zaefferer2012-04-111-6/+6
| | | | more then one element is positioned
* Position: Fix single var, whitespace. Clone targetOffset to avoid reading ↵Jörn Zaefferer2012-04-101-15/+19
| | | | that twice
* Position: Use a separate object and argument for the feedback information, ↵Jörn Zaefferer2012-04-101-5/+6
| | | | keeping position props as they were
* Position: First draft for a new notification API, via using callback, ↵Jörn Zaefferer2012-04-101-18/+20
| | | | telling you were the of-element is, not just when something flipped. New test page demonstrates usage
* Merge branch 'positionWithin'kborchers2012-04-041-6/+8
|\
| * Position: Fixed issue with offsets using the within option which caused ↵kborchers2012-04-031-6/+8
| | | | | | | | flips to not happen when the containing element had been scrolled.
* | Build: Filter filters for linting to exclude some to-be-rewritten ones. Fix ↵Jörn Zaefferer2012-04-041-1/+1
|/ | | | lint in those remaining
* A few lint fixes.Scott González2012-04-021-5/+5
|
* Protect all copyright notices against minificationJo Liss2012-04-021-1/+1
| | | | | | | 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.
* Updated copyright year.Scott González2012-03-081-1/+1
|
* JavaScript "strict mode" fixesjdomnitz2012-02-121-1/+1
|
* Use jQuery.css() instead of deprecated jQuery.curCSS().Scott González2012-02-121-4/+4
|
* Position: Update fullname reference; jQuery => $. Fixes #8029 - Position: ↵Rick Waldron2012-01-191-7/+7
| | | | There is a reference to the global jQuery variable.
* Position: Check for fraction support.Scott González2011-11-021-0/+45
|
* Position: Check to also make sure to only flip if more of the element is ↵kborchers2011-09-161-2/+2
| | | | inside "within"
* Position: Added better collision detection for flip and fit, added visual ↵kborchers2011-08-121-48/+124
| | | | tests for each and updated the unit tests to take the changes into account. In the process, I removed the rounding that was being done to the position since older jQuery couldn't handle the fractions. There was another pull for this same issue and I have merged the unit tests from that pull into this commit. Also added flipfit!
* Position: Add flip-classes. Fixes #5937 - Position: Add ability to determine ↵Benjamin Sterling2011-07-111-1/+17
| | | | if the element is flipped via css
* Position: Coding standards.Scott González2011-06-101-18/+23
|
* Position: added check for undefined value of offset. Fixed #7458 - ↵tashekelahi2011-06-091-1/+1
| | | | ui.position offset property creates error when set to undefined
* Fix visual test in IE6 and move the new helper functions for getting ↵David Murdoch2011-05-261-6/+9
| | | | scrollbar properties to $.position
* updated tests to account for scrollbar width/heightDavid Murdoch2011-05-261-1/+1
|
* Now takes scrollbar width into account in collision detectionDavid Murdoch2011-05-261-4/+30
|