Demo 1: basic

Demo 2: one at a time

Demo 3: auto-close

More script and css style : www.htmldrive.net