aboutsummaryrefslogtreecommitdiffstats
path: root/src/fx.js
Commit message (Collapse)AuthorAgeFilesLines
* added curly braces around all if/else statementsKarl Swedberg2009-11-281-42/+57
|
* Allowing falsy values to be passed as a speed for hide().Scott Gonzalez2009-11-131-1/+1
|
* Allowing falsy values to be passed as a speed for show().Scott Gonzalez2009-11-131-1/+1
|
* Made sure that animate callbacks get executed even when no properties are ↵John Resig2009-11-071-1/+5
| | | | passed in. Fixes #5459.
* Moved a bunch of methods out of the jQuery-specific Sizzle code into ↵John Resig2009-10-261-0/+8
| | | | more-appropriate files, in jQuery itself.
* jquery fx: closes #2542. show/hide(0, fn) wasn't calling the callback. Ariel Flesler2009-09-151-2/+2
|
* Fix for animating hyphenated CSS properties. Fixes #4156.John Resig2009-07-251-0/+8
|
* Standardize on using .nodeName in place of .tagName. Fixes jQuery bug #4923.John Resig2009-07-191-5/+5
|
* Standardizing on .test() and .exec() - moving away from using .match() for ↵John Resig2009-07-191-1/+1
| | | | RegExp. Fixes jQuery bug #4113.
* jquery fx: Exposing the ticking functionAriel Flesler2009-06-021-14/+20
|
* remove trailing spacesBrandon Aaron2009-03-231-11/+11
|
* decoupling styles retrieval from the attr methodBrandon Aaron2009-03-221-4/+4
|
* fix for #4204, fadeTo shows hidden elements before animatingBrandon Aaron2009-03-181-1/+2
|
* fix show issue in IE 6. "olddisplay" is sometimes undefined and IE 6 does ↵Brandon Aaron2009-02-161-5/+5
| | | | not like setting style.display to undefined. also second for loop was mistakenly nested within the first for loop.
* Landing a fix for a case where the animation timer wasn't getting stopped ↵John Resig2009-02-131-1/+2
| | | | (thanks Arrix). Fixes bug #4001.
* Added a performance improvement to .hide()/.show() that helps to prevent ↵John Resig2009-02-091-1/+13
| | | | constant reflows from occurring. Fixes #4038.
* jquery fx: sync animations were being left on jQuery.timers (double callback)Ariel Flesler2009-01-141-10/+6
| | | | jQuery.timerId is now a local var and it's not null'ed anymore.
* jquery fx: Shortening the code additions on [6037].Ariel Flesler2009-01-051-12/+17
|
* Made hide, show, toggle, slideUp, slideDown, and slideToggle animate margins ↵John Resig2009-01-051-13/+18
| | | | and paddings in addition to height, width, and opacity (results in a much-smoother animation).
* Fixed an issue that was introduced by [5743] (which didn't have a test case, ↵John Resig2009-01-021-8/+5
| | | | either - that has been resolved). This fixed #3739.
* jquery data: Closes #3539. Exposed jQuery.queue. Moved all the data and ↵Ariel Flesler2008-12-301-48/+0
| | | | queue functions to their own module. Made the dequeue function more generic(designed to be used on functions). Closes #3748. Reverted a previous modification.
* jquery fx: Fixed redundant codeAriel Flesler2008-12-251-2/+2
|
* jquery fx: Closes #3219. jQuery.fn.toggle can accept a boolean argument ↵Ariel Flesler2008-12-251-5/+8
| | | | indicating show/hide.
* Rewrote the hide and show methods to fix the issue with Safari not hiding ↵John Resig2008-12-191-22/+45
| | | | distached elements. Fixed #1239, #2233, #3038, #3343, #3395. They're also faster now, as well.
* Made a mistake in the patch for #3618, landing fix.John Resig2008-11-181-1/+1
|
* Standardized the type checks across core. isFunction and isArray now use ↵John Resig2008-11-171-4/+4
| | | | 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.
* jquery core: closes #3541. Added isArray.Ariel Flesler2008-10-291-2/+2
|
* jquery fx: closes #3496. $.fx.off = true; turns off animations.Ariel Flesler2008-10-221-1/+1
|
* jquery fx: closes #3495. Animations are synchronous when duration is 0.Ariel Flesler2008-10-181-6/+4
|
* jquery fx: closes #3128. Saved some bytes when creating custom animations, ↵Ariel Flesler2008-07-031-20/+13
| | | | using macros. Thanks Mike Helgeson.
* fx: 1) patch from Ariel removes the need of adding properties like ↵Paul Bakaus2008-06-241-10/+6
| | | | scrollTop and scrollLeft specifically to fx.step - The priority order is style[prop] ? style[prop] : elem[prop], 2) fixed the height/width case - it wasn't possible to animate obj.height/obj.width if there wasn't a style attr.
* jquery ajax: renamed $.fx.speeds.def to _default to match $.fx.step._default ↵Ariel Flesler2008-06-201-2/+2
| | | | naming convention.
* jquery ajax: making Paul's last change([5735]) shorter.Ariel Flesler2008-06-201-1/+2
|
* fx: animate() can now animate any property on a generic object or native ↵Paul Bakaus2008-06-201-7/+5
| | | | wrapper (i.e. window.outerWidth)
* jquery fx: removing a needless comment after the last commit.Ariel Flesler2008-05-161-1/+0
|
* jquery fx: removing 2 unnecessary isFunction calls, options.complete is ↵Ariel Flesler2008-05-161-2/+2
| | | | ALWAYS a function.
* jquery: removing unnecessary trailing and leading spaces & tabs.Ariel Flesler2008-05-131-32/+32
|
* jquery event & fx: tidying some comments.Ariel Flesler2008-05-131-1/+2
|
* jquery fx & event: replaced the use of .apply(), where .call() could had ↵Ariel Flesler2008-05-121-6/+6
| | | | been used.
* jquery fx: adding jQuery.fx.def as default speed for animationsAriel Flesler2008-05-021-2/+3
|
* mainly made the code shorter:Ariel Flesler2008-04-291-30/+36
| | | | | | | | | | | - removed some needless if's - replace multiple "var x" for one, comma separated declaration. - added a local fn called now() for the (new Date)s - fixed the indentation of a block, and a typo in a comment. - used fn instead of prototype where possible - jquery fx: exposed the speeds hash as jQuery.fx.speeds. Also fixed (again) line endings
* jquery event: jQuery.toggle can accept more than 2 functions, closes #2378Ariel Flesler2008-04-291-1/+1
|
* jquery core: simplified the code using the new jQuery.makeArray from [5314] ↵Ariel Flesler2008-04-241-2/+1
| | | | where possible.
* Fixed an edge case in show() where the css says the display should be none. ↵David Serduke2008-01-121-0/+3
| | | | In that case force 'block' so it will actually show.
* Fixed #2080 by removing the check for nodeType != 1. It was put in to limit ↵David Serduke2007-12-201-3/+0
| | | | the queuing to just dom objects (ie not text nodes and comment nodes), but the queuing functionality is being used more broadly than I realized so the check is now removed.
* Fixed #1781 for warnings created on load by FF javascript.options.strict == ↵David Serduke2007-12-161-2/+2
| | | | true.
* show is now element aware (#960)Brandon Aaron2007-12-081-6/+7
|
* Fixed #1039 and #1733 by going through the core API and making them text ↵David Serduke2007-12-071-0/+6
| | | | node and comment node safe.
* Added enchancement for #1994 by adding two parameters to .stop() which give ↵David Serduke2007-11-301-10/+24
| | | | | | | additional functionality. The first parameter clearQueue will clear the queue on the necessary DOM elements so all animation will stop. The second parameter will cause the currently playing animation to immediately complete including reseting original styles on show and hide and calling the callback function. If no parameters are passed it will work as it always did. While adding unit testing I noticed the stop() unit test wasn't working correctly because the element was hidden so I fixed it and added more unit tests around the new functionality. I also added a cursor:pointer to the css (because for a long time I didn't know they were clickable).
* Fixed #1942 but running jQuery.css() before jQuery.curCSS(). This way when ↵David Serduke2007-11-271-2/+2
| | | | the property is width or height it gets the values through calculation instead of just css first. This appears to fix the problem in Opera without hurting any of the other browsers.