rem: var oprop = {};    var s=node.style; s.visibility="hidden"; s.display="";    var nodeHeight = dojo.contentBox(node).h;  s.visibility=""; s.display="none";  var anim = dojo.animateProperty(node, {	"height": { start: 1, end: function(){ return nodeHeight; } } }, duration, easing);  dojo.connect(anim, "beforeBegin", function(){ oprop.overflow = s.overflow; oprop.height = s.height; s.overflow = "hidden"; s.height = "1px"; dojo.style(node, 'display', ''); });  dojo.connect(anim, "onEnd", function(){ s.overflow = oprop.overflow; s.height = oprop.height; if(callback){ callback(node, anim); } }); anims.push(anim); }); 
add: n.push(dojo.byId(node)); }); 
context: 	dojo.forEach(nodes, function(node){		var oprop = {};	// old properties of node (before we mucked w/them)		// get node height, either it's natural height or it's height specified via style or class attributes		// (for FF, the node has to be (temporarily) rendered to measure height)		var s=node.style;		s.visibility="hidden";		s.display="";//		var nodeHeight = dojo.html.getBorderBox(node).height;//FIXME: ok to use contentbox?		var nodeHeight = dojo.contentBox(node).h;		s.visibility="";		s.display="none";		var anim = dojo.animateProperty(node,			{	"height": {					start: 1, // 0 causes IE to display the whole panel					end: function(){ return nodeHeight; } 				}			}, 			duration, 			easing);			dojo.connect(anim, "beforeBegin", function(){			oprop.overflow = s.overflow;			oprop.height = s.height;			s.overflow = "hidden";			s.height = "1px"; // 0 causes IE to display the whole panel			dojo.style(node, 'display', '');		});				dojo.connect(anim, "onEnd", function(){ 			s.overflow = oprop.overflow;			s.height = oprop.height;			if(callback){ callback(node, anim); }		});		anims.push(anim);	});
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/428a31a191afb9c23bd1d17984e4128be613be27/fx.js/clean/fx.js