- var hashCopy = $.extend({}, hash);
- $('#foo').animate(hash, 0, function() {
+ var hashCopy = jQuery.extend({}, hash);
+ jQuery('#foo').animate(hash, 0, function() {
$foo.animate({width:'100px'}, 200, function () {
// should finish after unqueued animation so second
order.push(2);
$foo.animate({width:'100px'}, 200, function () {
// should finish after unqueued animation so second
order.push(2);
$foo.queue("fx", [ "sample", "array" ]);
var arr = $foo.queue();
isSet(arr, [ "sample", "array" ], "queue() got an array set with type 'fx'");
$foo.queue("fx", [ "sample", "array" ]);
var arr = $foo.queue();
isSet(arr, [ "sample", "array" ], "queue() got an array set with type 'fx'");
ok( x.is(":visible"), "is visible" );
x.toggle();
ok( x.is(":hidden"), "is hidden" );
ok( x.is(":visible"), "is visible" );
x.toggle();
ok( x.is(":hidden"), "is hidden" );
var visible = {
Normal: function(elem){},
"CSS Hidden": function(elem){
var visible = {
Normal: function(elem){},
"CSS Hidden": function(elem){
.text("This is a long string of text.");
return "";
},
"JS Auto": function(elem,prop){
.text("This is a long string of text.");
return "";
},
"JS Auto": function(elem,prop){
.text("This is a long string of text.");
return "";
},
"CSS 100": function(elem,prop){
.text("This is a long string of text.");
return "";
},
"CSS 100": function(elem,prop){
return prop == "opacity" ? 1 : 100;
},
"CSS 50": function(elem,prop){
return prop == "opacity" ? 1 : 100;
},
"CSS 50": function(elem,prop){
return prop == "opacity" ? 0.5 : 50;
},
"CSS 0": function(elem,prop){
return prop == "opacity" ? 0.5 : 50;
},
"CSS 0": function(elem,prop){
return prop == "opacity" ? 1 : 100;
},
"50": function(elem,prop){
return prop == "opacity" ? 0.50 : 50;
},
"0": function(elem,prop){
return prop == "opacity" ? 1 : 100;
},
"50": function(elem,prop){
return prop == "opacity" ? 0.50 : 50;
},
"0": function(elem,prop){