3 * @class jQuery.plugin.footHovzer
6 var $hovzer
, footHovzer
, $spacer
;
9 if ( $hovzer
=== undefined ) {
10 $hovzer
= $( '<div id="jquery-foot-hovzer"></div>' ).appendTo( 'body' );
16 * Utility to stack stuff in an overlay fixed on the bottom of the page.
20 * var hovzer = $.getFootHovzer();
21 * hovzer.$.append( $myCollection );
26 * @return {jQuery.footHovzer}
28 $.getFootHovzer = function () {
29 footHovzer
.$ = getHovzer();
35 * @class jQuery.footHovzer
40 * @property {jQuery} $ The stack container
44 * Update dimensions of stack to account for changes in the subtree.
51 if ( $spacer
=== undefined ) {
52 $spacer
= $( '<div>' ).attr( 'id', 'jquery-foot-hovzer-spacer' );
53 $spacer
.appendTo( $body
);
55 // Ensure CSS is applied by browser before using .outerHeight()
56 setTimeout( function () {
57 $spacer
.css( 'height', getHovzer().outerHeight( /* includeMargin = */ true ) );
64 * @mixins jQuery.plugin.footHovzer