aboutsummaryrefslogtreecommitdiffstats
path: root/src/offset.js
Commit message (Collapse)AuthorAgeFilesLines
* Make sure that when multiple variables are being declared that assignments ↵John Resig2010-11-091-5/+11
| | | | are each done on their own line.
* Make sure that we don't attempt to handle scrolling when the node is ↵John Resig2010-10-141-5/+8
| | | | disconnected from the document. Fixes #7190.
* Return the zeroed-out bounding box instead of passing it on.jeresig2010-10-101-1/+1
|
* Adjust fallback top/left to just be 0 for disconnected DOM nodes. Follow-up ↵John Resig2010-09-291-1/+1
| | | | to cf672a2e7a886cac5ae62f6772c6b4b43b19a2fc, thanks to @jitter for the catch.
* Make sure that .offset() doesn't fail against disconnected DOM nodes. Fixes ↵John Resig2010-09-281-3/+9
| | | | #4996.
* Unify the means of detecting a window across the library. Fixes jQuery UI ↵jeresig2010-09-221-1/+1
| | | | bug #5438 and jQuery bugs #6575 and 6088.
* Applied the RegExp issues reported by Jeff Robinson here: ↵jeresig2010-09-221-3/+6
| | | | http://jmrware.com/articles/2010/jqueryregex/jQueryRegexes.html Additionally broke out all remaining inline RegExp. Fixes #7062.
* Split apart jQuery.css into jQuery.css (computed values) and jQuery.style ↵jeresig2010-09-161-9/+9
| | | | (currently set values).
* Make sure that jQuery works even when the individual modules are loaded ↵jeresig2010-09-081-0/+4
| | | | separately AND jQuery.noConflict(true) is used. Fixes #7011.
* First pass at unifying the various CSS methods in jQuery (jQuery.style, ↵John Resig2010-09-051-12/+12
| | | | jQuery.curCSS, and jQuery.css are now all under jQuery.css).
* Fixed an issue with setting offset of absolutely positioned element that has ↵Brandon Aaron2010-03-221-6/+18
| | | | no position values ("auto"). Fixes #5781.
* Fix setting only one property at a time in .offset({})Brandon Aaron2010-03-221-5/+8
|
* Fixed some cases where expression, expression was used and shouldn't be.jeresig2010-03-011-3/+8
|
* Use correct window reference in offset to work properly cross-frame. Fixes ↵brandonaaron2010-02-271-4/+11
| | | | #6190.
* fixed offset(coordinates) returns null when no matching elements in jQuery ↵Karl Swedberg2010-01-241-8/+8
| | | | object (fixes ticket #5888)
* Re-ordering the args to setOffset() in case people were relying upon the old ↵jeresig2010-01-071-3/+3
| | | | order (doubtful).
* Added in support for .offset(Function).jeresig2010-01-071-10/+15
|
* Rather than declaring empty anonymous functions all around, introduce and ↵jeresig2009-12-311-1/+1
| | | | use a single empty function. Thanks to Matt Kruse for the suggestion.
* Standardize on using double-quotes for string literals.jeresig2009-12-211-19/+19
|
* Made a number of spacing changes to bring the code more-inline with the ↵jeresig2009-12-211-11/+32
| | | | jQuery Core Style Guideline.
* Fixed the case where getComputedStyled was assumed to exist if ↵John Resig2009-11-071-2/+2
| | | | getBoundingClientRect did (which isn't the case on the Playstation 3). Fixes #5467.
* offset is now a setterBrandon Aaron2009-09-151-6/+37
|
* Fix for #4972. Dreamweaver CS4 crashes on offset module. Thanks mike.helgesonBrandon Aaron2009-07-251-2/+1
|
* revision 6494 accidentally reverted some changes to offset moduleBrandon Aaron2009-07-251-33/+64
|
* add scrollTop/Left tests and fix for IEBrandon Aaron2009-07-241-76/+43
|
* Standardize on using .nodeName in place of .tagName. Fixes jQuery bug #4923.John Resig2009-07-191-3/+3
|
* Rewrote .offsetParent() to work against the full jQuery set, added tests. ↵John Resig2009-07-191-5/+7
| | | | Fixes #4922.
* Made a number of stylistic changes to the offset code (braces, declarations, ↵John Resig2009-07-191-30/+61
| | | | etc.).
* fix for #4906Brandon Aaron2009-07-171-14/+17
|
* fixing a few more memory leaks in IEBrandon Aaron2009-04-221-0/+2
|
* offset returns null for window and document elements. fixes #4136 againBrandon Aaron2009-04-221-2/+2
|
* remove radix param for parseFloat callsBrandon Aaron2009-04-221-11/+11
|
* width, height, scrollLeft, and scrollTop now work with windows and documents ↵Brandon Aaron2009-04-221-9/+17
| | | | other than just the one it was loaded in (like iframes and popups)
* clean up offset. #4456 thanks pbcommBrandon Aaron2009-04-211-19/+17
|
* fix for #4439, offset.initialize can cause the page to jumpBrandon Aaron2009-03-301-4/+2
|
* remove trailing spacesBrandon Aaron2009-03-231-3/+3
|
* fix for #4115Brandon Aaron2009-03-191-4/+3
|
* fix for #4263, better support for nested fixed position elementsBrandon Aaron2009-03-191-1/+6
|
* using parseFloat for offset and position methods and removed num helper methodBrandon Aaron2009-03-171-11/+11
|
* return null when no matched elements exist for offset and positionBrandon Aaron2009-03-171-29/+29
|
* some clean up in the offset methodBrandon Aaron2009-03-171-10/+11
|
* Added some missing spaces - helps to calm XHTML error messages in Safari.John Resig2009-01-201-1/+1
|
* Moved from the old JSMin to using YUIMin for compressing the jQuery source. ↵John Resig2009-01-041-1/+1
| | | | 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.
* Added a missing semicolon.John Resig2008-12-201-1/+1
|
* Removing remaining strict-mode warnings.John Resig2008-12-191-1/+1
|
* Standardized the type checks across core. isFunction and isArray now use ↵John Resig2008-11-171-1/+1
| | | | 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.
* fix the long standing 2px offset issue in QuirksMode in IEBrandon Aaron2008-11-131-3/+4
|
* new offset method, faster and no more browser detectionBrandon Aaron2008-11-101-90/+75
|
* core: fixed #2993: .offsetParent() will now return the body element in all ↵Scott González2008-06-061-1/+1
| | | | browsers for fixed position elements.
* core: fixed offset method for FF3 - FF3 seems to have problems reporting the ↵Paul Bakaus2008-05-251-1/+1
| | | | correct values with getBoundingClientRect on the body element