Add this at line 105 (after the "if( data['usejs'] ) ... loop)
// JCC: Just use JQ to center it, not size it.
jQuery('#' + data['name']).css('top', (jQuery(window).height() / 2) - (jQuery('#message').outerHeight() / 2) );
jQuery('#' + data['name']).css('left', (jQuery(window).width() / 2) - (jQuery('#message').outerWidth() / 2) );
This keeps my dimensions and centers it in the middle of the screen.
Also, I didn't like how it just "appeared", so I changed lines 263 and 264 in the "popoverajax.php" application to use "display:none" instead of "visibility:hidden"
This allows me to do stuff like:
jQuery('#' + data['name']).show('slow');
in the po_loadMessageBox() function so that the popover sort of fades in nicely.
Granted, I hacked the plugin to get exactly what I want, but I would be awesome if you could code that sort of stuff into the settings as options ... what easing to use when showing the plugin, keep the dimensions on center, colors, rounded corners, padding, background colors, etc.
That way, we can totally get the look and feel that we want without having to hack. More options the better!
Another question is all of the .js and .css files. Seems to be a lot of duplication and I wasnt sure of which to modify/override.
Thanks for listening.