I need to know how to do something similar to the light box script (but just one part of it).

When you click a link, a box appears horizontally and vertically centered on the screen, above all the content (z-index) and then the transparency of the screen changing.


I do not need all the extras like light box has, just a simple click and a box appears centered on the screen like said.

How would I go about this?