How to create image gallery that is not popping up?

Hello! I am wondering how can I create image gallery that is not popping up. The one caught my eyes was something like http://jamiemakeup.com/

Is it jquery or simply CSS? Thanks!