check this webiste:
http://www.ramziarabi.com/portfolio/art-portfolio/
when you click on an image it opens itself on top of the webpage without hiding it or opening new page. I'm assuming this is done by JavaScript, but can someone explain how? provide some code I can use to do that?