Custom Query (7259 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (46 - 48 of 7259)

Ticket Resolution Summary Owner Reporter
#9224 worksforme using toggleClass('myClass', 1000) does not animate the BenEllis
Description

http://jsfiddle.net/BenEllis/vxhUN/1/

reproduced in IE9, Firefox 19.02, Chrome 26.0.1410.64 m in 64-bit Windows 7 Enterprise

When a switch parameter is not supplied, the toggleClass method does not work when specifying animation parameters.

It looks fairly obvious from the jquery.ui.effect.js code below that the wrong parameters are being passed to animateClass,

toggleClass: (function( orig ) {
		return function( classNames, force, speed, easing, callback ) {
			if ( typeof force === "boolean" || force === undefined ) {
				if ( !speed ) {
					// without speed parameter
					return orig.apply( this, arguments );
				} else {
					return $.effects.animateClass.call( this,
						(force ? { add: classNames } : { remove: classNames }),
						speed, easing, callback );
				}
			} else {
				// without force parameter
				return $.effects.animateClass.call( this,
					{ toggle: classNames }, force, speed, easing );
			}
		};

I have a patch with a fix for this and Ticket #9223 that I will attach shortly.

#5142 duplicate using the submit event with modal form dialog Rwhitbeck
Description

See forum: http://forum.jquery.com/topic/using-the-submit-event-with-modal-form-dialog

#6643 fixed using range and step options makes jquery change min and max poplix
Description

if i set {range: true, min: 5845,max: 12345,step:500} (note [12345-5845] % 500 =0] the slider is initialized with 12500 as max and 6000 as min

demo: http://jsfiddle.net/FRjVN/6/

Note: See TracQuery for help on using queries.