I am currently using the jQuery center plugin to center my div element and so far it works to an extend where it does center it to the containing parent container. What I want it to do is to center it to the current browser viewport center. How can that be done?
My setup is a simple link when clicked, a div will pop up like a modal that I want centered into the current browser viewport center.