Lightbox Mousein/Mouseout problem

A Lightbox is opened from the page - as you have done. However, closing a Lightbox is done from the Lightbox’s code itself. See the sample code snippets in the API .

For what you are trying to do (mouseIn/mouseOut) you should use a Box .