Brandon Aaron
|
2937d645cb
|
fix for #4439, offset.initialize can cause the page to jump
|
2009-03-30 07:59:31 +00:00 |
|
Brandon Aaron
|
f8ef75eb91
|
remove trailing spaces
|
2009-03-23 01:55:17 +00:00 |
|
Brandon Aaron
|
10303c37a1
|
fix for #4115
|
2009-03-19 03:17:38 +00:00 |
|
Brandon Aaron
|
c0cdbf8b94
|
fix for #4263, better support for nested fixed position elements
|
2009-03-19 02:54:57 +00:00 |
|
Brandon Aaron
|
aabf635cfe
|
using parseFloat for offset and position methods and removed num helper method
|
2009-03-17 21:07:11 +00:00 |
|
Brandon Aaron
|
a37cccc882
|
return null when no matched elements exist for offset and position
|
2009-03-17 20:50:17 +00:00 |
|
Brandon Aaron
|
36b4a9ba33
|
some clean up in the offset method
|
2009-03-17 20:43:46 +00:00 |
|
John Resig
|
7647cebc39
|
Added some missing spaces - helps to calm XHTML error messages in Safari.
|
2009-01-20 15:46:40 +00:00 |
|
John Resig
|
434b87b8a2
|
Moved from the old JSMin to using YUIMin for compressing the jQuery source. Additionally landed some improvements from #3770 which dramatically reduce the filesize. The final minifed + gzipped size of jQuery went from 19817 bytes to 18063 bytes.
|
2009-01-04 15:29:27 +00:00 |
|
John Resig
|
6f2f1830a4
|
Added a missing semicolon.
|
2008-12-20 14:39:36 +00:00 |
|
John Resig
|
0935f4a0b1
|
Removing remaining strict-mode warnings.
|
2008-12-19 04:36:28 +00:00 |
|
John Resig
|
ab551c2b14
|
Standardized the type checks across core. isFunction and isArray now use Object.prototype.toString to verify the type, .constructor use was removed in favor of typeof, typeof checks now use ===, undefined checks use === undefined. All of this is outlined in the new style guidelines: http://docs.jquery.com/JQuery_Core_Style_Guidelines#Type_Checks. Fixes bug #3618.
|
2008-11-17 16:32:05 +00:00 |
|
Brandon Aaron
|
464535e096
|
fix the long standing 2px offset issue in QuirksMode in IE
|
2008-11-13 02:35:02 +00:00 |
|
Brandon Aaron
|
5c21e44fce
|
new offset method, faster and no more browser detection
|
2008-11-10 02:39:03 +00:00 |
|
Scott González
|
fa48ad1d1b
|
core: fixed #2993: .offsetParent() will now return the body element in all browsers for fixed position elements.
|
2008-06-06 00:28:33 +00:00 |
|
Paul Bakaus
|
6141984b71
|
core: fixed offset method for FF3 - FF3 seems to have problems reporting the correct values with getBoundingClientRect on the body element
|
2008-05-25 13:18:01 +00:00 |
|
Brandon Aaron
|
82ba3709ee
|
Reverted back to using the num helper method in offset.js
|
2008-05-15 20:29:52 +00:00 |
|
Brandon Aaron
|
de6520b50e
|
Added some unit tests for position method. Fixed issue with position in IE.
|
2008-05-15 19:38:00 +00:00 |
|
Ariel Flesler
|
831625c43e
|
jquery offset: reducing more the code size.
|
2008-05-14 18:06:59 +00:00 |
|
Ariel Flesler
|
ac324c97e3
|
jquery offset: reducing the code size.
|
2008-05-14 17:54:54 +00:00 |
|
Ariel Flesler
|
3f5ff3097c
|
jquery: removing unnecessary trailing and leading spaces & tabs.
|
2008-05-13 01:45:58 +00:00 |
|
Scott González
|
bd41548792
|
core: make sure all source files end with a single blank line.
|
2008-04-30 19:35:17 +00:00 |
|
Brandon Aaron
|
aea452f162
|
Merged dimensions with core
|
2008-04-29 03:26:06 +00:00 |
|
Brandon Aaron
|
9de35ce3e7
|
Small optimization to offset (thanks Ariel Flesler)
|
2008-04-21 22:54:46 +00:00 |
|
John Resig
|
d44ddef720
|
Made outerHeight/outerWidth accept .outerWidth(true) to include the margin. If any options are passed in it's assumed that you want the margin included.
|
2008-03-15 19:00:07 +00:00 |
|
John Resig
|
8f14ee1dd5
|
Imported the innerHeight and outerHeight methods from the Dimensions plugin.
|
2008-03-15 18:53:40 +00:00 |
|
John Resig
|
e71e4a47f3
|
Landed a minor fix for AIR (in the offset method).
|
2008-02-06 03:48:22 +00:00 |
|
Brandon Aaron
|
e2fc993334
|
offset: make sure there is a parent node to work on while calculating scroll offsets (#2073)
|
2007-12-19 19:07:12 +00:00 |
|
Brandon Aaron
|
add0681f90
|
offset: make sure border width always gets calculated in pixels
|
2007-12-19 19:05:34 +00:00 |
|
Brandon Aaron
|
d7f5a0835b
|
Fixed #2064
|
2007-12-17 14:37:26 +00:00 |
|
David Serduke
|
feb9051c0e
|
Fixed #1781 for warnings created on load by FF javascript.options.strict == true.
|
2007-12-16 01:03:50 +00:00 |
|
Brandon Aaron
|
58c640fb1c
|
Added more unit tests for offset. Fixed an offset issue relating to table header cells in Opera
|
2007-12-12 16:55:55 +00:00 |
|
Brandon Aaron
|
e317bb7105
|
offset now uses clientLeft and clientTop instead of calculating html border in IE
|
2007-12-04 20:54:23 +00:00 |
|
Brandon Aaron
|
a9add215ea
|
offset: fixes for correct body offsets in safari and mozilla (thanks Wizzud)
|
2007-09-26 22:28:00 +00:00 |
|
Brandon Aaron
|
595d125365
|
offset: added fixed position support and fixed opera issue with borders on absolute and relative parents
|
2007-09-21 21:41:56 +00:00 |
|
Brandon Aaron
|
c9899a74ac
|
offset: do not add borders for table cells
|
2007-09-18 18:08:35 +00:00 |
|
Brandon Aaron
|
415a0916b5
|
remove box global var from offset
|
2007-09-17 18:20:51 +00:00 |
|
Brandon Aaron
|
4c5f091d22
|
safari2 should just check the browser and version
|
2007-09-11 02:13:00 +00:00 |
|
Brandon Aaron
|
ed51be1622
|
Include scroll offsets for everything but inline and table-row elements
|
2007-09-11 01:08:51 +00:00 |
|
Brandon Aaron
|
2608bae438
|
Couple of fixes to the offset method
|
2007-09-11 00:43:12 +00:00 |
|
John Resig
|
15a78f8fea
|
Reintroduced .offset() as a default include, added original author credits.
|
2007-09-08 18:02:39 +00:00 |
|
John Resig
|
28ee5c6922
|
Added the new .offset() method, directly imported from Dimensions (heavily worked over by both Brandon and John).
Original source:
http://brandonaaron.net/jquery/issues/dimensions/new_offset/jquery.offset.js
|
2007-09-08 14:44:29 +00:00 |
|