The CSS3 / Javascript Chasing Arrow Lightbox source code can be viewed in the demo page and / or the .zip file.