Finally I found a good light-box which really matches the name “Light box” in FancyBox.It is a jQuery based light window. It has very less features while compare with any other light box, but simple to use. Compatible with all browsers.


Go here to find it :

You need to add the below javascript in addition to the jquery js file.

<script type="text/javascript" src="path-to-file/jquery.fancybox.js"></script>

To create a link to open in fancybox, call the function fancybox. For example, if you have a link pointing an image


The window automatically resize with image. If you put title attribute, it shows the title below with the light window.

Instead of image, you can point a file. If you need to open that file in iframe, use class=“iframe”

Visit for more usability.