I am working on a gallery that uses fancybox popup functionality. My goal is to display an image on the left side and accompanying text on the right side within the Fancybox Popup window. If the text happens to be too lengthy, I would like users to be able to scroll down to read it while keeping the image fixed in the top left corner of the fancybox.
I have experimented with using position:fixed
and background-position:fixed
, but encountered issues where part of the image gets hidden outside the boundaries of the fancybox due to fixed positioning being calculated from the viewpoint.
The version of Fancybox I am using is 2.1.4.
You can view my site here:
Does anyone know how I can achieve fixing the image on the left side inside a fancybox popup?