add: var backgroundStyle = h.getStyle(start, "background-color"); backgroundColor = backgroundStyle ? backgroundStyle.toLowerCase() : "transparent"; backgroundColor = (backgroundColor == "transparent") ? "rgb(221, 221, 221)" : backgroundColor; 
context: dojo.lfx.html.explode = function(/*DOMNode*/ start,								 /*DOMNode*/ endNode,								 /*int?*/ duration,								 /*Function?*/ easing,								 /*Function?*/ callback){	// summary: Returns an animation that will 	// start:	// endNode:	// duration: Duration of the animation in milliseconds.	// easing: An easing function.	// callback: Function to run at the end of the animation.	var h = dojo.html;	start = dojo.byId(start);	endNode = dojo.byId(endNode);	var startCoords = h.toCoordinateObject(start, true);	var outline = document.createElement("div");	h.copyStyle(outline, endNode);	if (endNode.explodeClassName) { outline.className = endNode.explodeClassName; }	with(outline.style){		position = "absolute";		display = "none";		// border = "1px solid black";	}	dojo.body().appendChild(outline);	with(endNode.style){		visibility = "hidden";		display = "block";	}	var endCoords = h.toCoordinateObject(endNode, true);	with(endNode.style){		display = "none";		visibility = "visible";	}	var props = { opacity: { start: 0.5, end: 1.0 } };	dojo.lang.forEach(["height", "width", "top", "left"], function(type){		props[type] = { start: startCoords[type], end: endCoords[type] }	});		var anim = new dojo.lfx.propertyAnimation(outline, 		props,		duration,		easing,		{			"beforeBegin": function(){				h.setDisplay(outline, "block");			},			"onEnd": function(){				h.setDisplay(endNode, "block");				outline.parentNode.removeChild(outline);			}		}	);	if(callback){		anim.connect("onEnd", function(){ callback(endNode, anim); });	}	return anim; // dojo.lfx.Animation}
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/html.js/buggy/www/resources/dojo-ajax/src/lfx/html.js