Commit Graph

52 Commits

Author SHA1 Message Date
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
Rick Waldron
07ec849f62 Position: Update fullname reference; jQuery => $. Fixes #8029 - Position: There is a reference to the global jQuery variable. 2012-01-19 08:21:54 -05:00
Scott González
3de7d8b68c Position: Check for fraction support. 2011-11-02 11:09:00 -04:00
kborchers
7f808b2047 Position: Check to also make sure to only flip if more of the element is inside "within" 2011-09-16 11:52:22 -05:00
kborchers
80bbebd489 Position: Added better collision detection for flip and fit, added visual 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! 2011-08-12 22:19:52 -05:00
Benjamin Sterling
d5452c0ec2 Position: Add flip-classes. Fixes #5937 - Position: Add ability to determine if the element is flipped via css 2011-07-11 19:49:56 -04:00
Scott González
154c5e5fd1 Position: Coding standards. 2011-06-10 16:07:03 -04:00
tashekelahi
19dcac2129 Position: added check for undefined value of offset. Fixed #7458 - ui.position offset property creates error when set to undefined 2011-06-09 21:05:33 -04:00
David Murdoch
40c0088721 Fix visual test in IE6 and move the new helper functions for getting scrollbar properties to $.position 2011-05-26 14:22:12 +00:00
David Murdoch
cde7cc0e6f updated tests to account for scrollbar width/height 2011-05-26 01:15:05 +00:00
David Murdoch
c11ac9c3f3 Now takes scrollbar width into account in collision detection 2011-05-26 00:53:16 +00:00
David Murdoch
e4a42991df Removing unnecessary variables, caching 'within' in tests where its beneficial, and making some other changes based on the code review 2011-05-16 23:46:21 +00:00
David Murdoch
cf96d22532 position now passes all tests! 0/ 2011-05-13 21:57:16 +00:00
David Murdoch
939b6989c7 Update position to work properly when window and/or within element is scrolled. 2011-05-13 20:54:25 +00:00
David Murdoch
2f4da6f13d Update var name to avoid confusion 2011-05-13 19:17:42 +00:00
David Murdoch
b6497996ce Replace comma with semi-colon. How'd that get there? 2011-05-12 13:28:01 +00:00
David Murdoch
9e4e359705 fix spacing and add in a missing comma 2011-05-11 16:52:43 -07:00
David Murdoch
abf3a86c8b Fix issue when window is "within". 2011-05-11 16:44:20 -07:00
David Murdoch
c6afaa1072 Fix #5645 - Position: Allow for arbitrary element to be containing element 2011-05-11 16:30:21 -07:00
Jean-Francois Remy
5e44b3ce88 Position: Handled scrolled windows properly with collision: fit. Fixes #7211 - Position: Collision: fit doesn't work at top of window when scrolled. 2011-05-03 04:38:17 -04:00
Scott González
221dcd7027 Position: Coding standards. 2011-03-22 13:12:03 -04:00
Scott González
6f051d5d6a Position: Merged offset option into my and at options and added support for percentage-based offsets. Fixes #6981 - Position: Merge offset option into my and at options. Fixes #7028 - Position: Allow percent-based offsets. 2011-03-22 12:25:25 -04:00
Scott González
a6fbb47e6a Position: Fixed typo. 2011-03-21 14:02:00 -04:00
Scott González
7fc0cec36f Position: Removed unused refenrece to $.fn.offset. 2011-03-21 14:00:26 -04:00
jzaefferer
6a5eb351c7 Position: Drop offset-as-a-setter from position, 1.9 won't support core
1.3 anymore
2011-02-25 11:16:16 +01:00
Scott González
6e0482a9cb Updated copyright year. 2011-01-17 09:13:18 -05:00
Scott González
c1cc00f609 Position: Fixed calculation of collision dimensions. Fixes #6812 - Position: Collision detection fails on the right side in Internet Explorer. 2011-01-12 08:43:18 -05:00
Scott González
0cc1a0c030 Position: Use $.isWindow() 2010-12-10 14:34:21 -05:00
Scott González
c667cff22d Position: Handle sub-pixel offsets better in Firefox. Fixes #6000 - Position: Sometimes positioning is off by 1px in Firefox. 2010-12-01 11:23:06 -05:00
Scott González
a0847f3a08 Revert "Position: Handle sub-pixel offsets better in Firefox. Fixes #6000 - Position: Sometimes positioning is off by 1px in Firefox."
This reverts commit 32264f7ad1.
2010-10-22 15:25:12 -04:00
Scott González
32264f7ad1 Position: Handle sub-pixel offsets better in Firefox. Fixes #6000 - Position: Sometimes positioning is off by 1px in Firefox. 2010-10-21 23:25:42 -04:00
Scott González
eab0a6dac1 Position: Use a better check for determining if an object is a window. Fixes #6201 - Autocomplete: Broken menu in IE8 Standards Mode when including prototype framework. 2010-10-20 23:47:17 -04:00
Ben Hollis
4b9d5d1b5b Position: Take margin into account when performing collisions. Fixes #5766 - position: collision should take margin into account. 2010-09-03 10:38:44 -04:00
Scott González
52a052be79 Position: Handle $(document) and $(window) for the of option. Fixes #5963 - Position: option 'of' accepts jQuery object unless it wraps document. Fixes #5655 - (Possible) Typo in jquery.ui.position 1.8.1. 2010-08-27 13:34:14 -04:00
Scott González
2acfde9e5e Position: Created center variable for better minification. Fixes #5964 - Combine horizontalDefault and verticalDefault to one variable - possibly named center. 2010-08-27 13:19:51 -04:00
Ben Hollis
7692b6e65f Position: Fix flip collision. Fixes #5932 - Position: flip collision handling is wrong in some cases. 2010-08-11 23:33:49 -04:00
Scott González
8a5d4ca321 All: Added http://jqueryui.com/about to header comments. 2010-07-14 15:45:45 -04:00
Scott González
21aad10e6a All: Define a local undefined variable inside the main closure. 2010-07-13 09:57:58 -04:00
Scott González
536ae6189b Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license. 2010-07-09 09:01:04 -04:00
Scott González
9541bd0bf2 Position: Use parseInt() to prevent fractional pixel values.
Fixes #5280 - ui.position generates different position in static context.
2010-03-26 19:53:43 -04:00
Richard Worth
8360141375 Position: quiet JSLint 2010-03-11 22:16:00 +00:00
Scott González
c9177acec1 Position: Conform to coding standards. 2010-02-14 18:15:32 +00:00
Richard Worth
074153407d Happy New Year 2010-01-20 14:04:26 +00:00
Scott González
010385b2fa Dialog, position: Removed bgiframe option; always use bgiframe when available.
Fixes #5071 - Remove bgiframe option from all plugins.
2010-01-19 23:25:38 +00:00
Scott González
1c31a26b56 Replaced stackfix with bgiframe.
Fixes #5061 - Remove stackfix.
2010-01-14 18:09:07 +00:00
Scott González
90fb45dffa Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests). 2010-01-07 03:19:50 +00:00
Scott González
1d9c22a652 Position: Fixed window detection. 2009-12-24 02:35:19 +00:00