2 * @class jQuery.plugin.footHovzer
5 var $hovzer, footHovzer, $spacer;
8 if ( $hovzer === undefined ) {
9 $hovzer = $( '<div id="jquery-foot-hovzer"></div>' ).appendTo( 'body' );
15 * Utility to stack stuff in an overlay fixed on the bottom of the page.
19 * var hovzer = $.getFootHovzer();
20 * hovzer.$.append( $myCollection );
25 * @return {jQuery.footHovzer}
27 $.getFootHovzer = function () {
28 footHovzer.$ = getHovzer();
34 * @class jQuery.footHovzer
39 * @property {jQuery} $ The stack container
43 * Update dimensions of stack to account for changes in the subtree.
50 if ( $spacer === undefined ) {
51 $spacer = $( '<div>' ).attr( 'id', 'jquery-foot-hovzer-spacer' );
52 $spacer.appendTo( $body );
54 // Ensure CSS is applied by browser before using .outerHeight()
55 setTimeout( function () {
56 $spacer.css( 'height', getHovzer().outerHeight( /* includeMargin = */ true ) );
63 * @mixins jQuery.plugin.footHovzer