Hey All, The viewportCenter() plugin is now in beta, and is available here:
http://www.reindel.com/blog/src/jquery_viewport_center/ A few things to note: Unlike the center() plugin, this is a mechanism for centering in the viewport, not the parent element. You won't have to download the Dimensions plugin in order to get it to work, as it only relies on the core CSS height() and width() methods. These are the instructions that are also in the source of the HTML: "There are currently no optional settings available for the viewportCenter() method. Just like most jQuery plugins, you can call this method on any element. The plugin will take that element, remove it from the DOM, and append it to the body. It will then give it a position property value of "absolute", and based upon the calculated width/height, it will center it in the viewport window. It will account for the scroll height and width, so that the element will be positioned exactly in the center of the viewport." This is a great little tool for performing a simple task. It should work in IE 6+, Firefox 1.5+, Safari 1.3+, and although not tested, probably Opera 9+. Let me know if you think any optional settings would be useful to include. Brian