As Yi Jiang already said, the “smallest” is completely dependent on your specific needs, if you want everything that Fancybox does, I hardly doubt that there is a way to use this plugin.
However, you can take a look at others and see if they fit your needs, you should check out this list of lightbox scripts , many of which are smaller than Fancybox, but you still have to evaluate them and see if they fit your needs.
Last but not least, you can always write your own by reading the tutorial . That is, if you want to write your own. But then again, if you have such specific needs, you should know that no one will come and write some code for you for free.
Ivo Wetzel
source share