code: function( element ) {
  		var placeholder,
  			cssPosition = element.css( "position" ),
  			position = element.position();
  
  		// Lock in margins first to account for form elements, which
  		// will change margin if you explicitly set height
  		// see: http://jsfiddle.net/JZSMt/3/ https://bugs.webkit.org/show_bug.cgi?id=107380
  		// Support: Safari
  		element.css( {
  			marginTop: element.css( "marginTop" ),
  			marginBottom: element.css( "marginBottom" ),
  			marginLeft: element.css( "marginLeft" ),
  			marginRight: element.css( "marginRight" )
  		} )
  		.outerWidth( element.outerWidth() )
  		.outerHeight( element.outerHeight() );
  
  		if ( /^(static|relative)/.test( cssPosition ) ) {
  			cssPosition = "absolute";
  
  			placeholder = $( "<" + element[ 0 ].nodeName + ">" ).insertAfter( element ).css( {
  
  				// Convert inline to inline block to account for inline elements
  				// that turn to inline block based on content (like img)
  				display: /^(inline|ruby)/.test( element.css( "display" ) ) ?
  					"inline-block" :
  					"block",
  				visibility: "hidden",
  
  				// Margins need to be set to account for margin collapse
  				marginTop: element.css( "marginTop" ),
  				marginBottom: element.css( "marginBottom" ),
  				marginLeft: element.css( "marginLeft" ),
  				marginRight: element.css( "marginRight" ),
  				"float": element.css( "float" )
  			} )
  			.outerWidth( element.outerWidth() )
  			.outerHeight( element.outerHeight() )
  			.addClass( "ui-effects-placeholder" );
  
  			element.data( dataSpace + "placeholder", placeholder );
  		}
  
  		element.css( {
  			position: cssPosition,
  			left: position.left,
  			top: position.top
  		} );
  
  		return placeholder;
  	}
docs: Creates a placeholder element so that the original element can be made absolute