How to use xxx.html as custom lightbox?

I have this html file separate from the main scheduler page. How can I use it as the custom lightbox?