Closed beefchimi closed 8 years ago
The reason why you asking for cloning instead of moving is because the inline content gets hidden after closing? The script moves the content because cloning can bring problems like multiple same ID`s.
Well, its not just that it gets hidden. The content gets moved and the fancybox-placeholder is put in its place. Then, once you close the fancybox, the inline content is returned to its original position, yet it retains the style="display:none;" added by fancybox.
So, if I had the option to avoid this entirely, and just clone the content without the use of IDs, that would be ideal. I see your point though about the concern for multiple IDs and the issues that arise. Any chance this is a feature that could make it into future releases?
I have an fancybox gallery of inline content. The problem is, when fancybox is launched, it moves the inline content into the fancybox window, rather than cloning it. This content is now still hidden even after closing fancybox. It would be very helpful to have the option to .clone() the gallery content.