I have searched in google so much. I have gone through many websites to find simple shortcut code to get a small popup. Finally i have written a jquery toggle code. Of course that is not fulfilled my requirement. But i have used it as a primary thing. So now my requirement is a simple very normal coded jquery popup.
It's like:
When i click on login - a pop up has to open.
When i click on register - a simple pop up has to open.
When i click on any link (which has a pop up) it will open without using a bulk code.
And when i click on the other place of the website that pop should be closed.

The above requirement i need (almost all web designers are looking for that only). Can any jquery developer help me.