I would like the facebox overlay to cover only a given part div, not the entire screen.
I changed “body” in facebox.js, but nothing changes
$("body").append('<div id="facebox_overlay" class="facebox_hide"></div>')
Any ideas on how this can be done?
The
#facebox_overlayis position absolute, which will not recognize static parent position. If you position your containerrelative, orabsolute– it should then only fill the container.CSS: