[jQuery] i think i fix some bug
i think i fix some bug,now it can work well in ie,bug in ff still has
some bug when ff window's width is too small.
see here
// bind key and mouse events
bind(1, el, opts);
if (full) {
pageBlock = lyr3[0];
pageBlockEls = $(':input:enabled:visible',pageBlock);
if (opts.focusInput)
setTimeout(focus, 20);
}
else {
center(lyr3[0], opts.centerX, opts.centerY);
}
//fix center: use Alexandre Magno's Center Plugin ,I added
lyr3.center({vertical:false});
//fix blockPage cann't full over whole page when the ie window's
width is too small, I add
$(window).resize(function(){
lyr1.width( $("body").width() );
lyr2.width( $("body").width() );
});
};
// remove the block
function remove(el, opts) {