Hello,
I am trying to create a simple gallery that uses scripty fader and scriptyfader thumbnails to move through images, and then Scriptylightbox 2 to open up a larger version of the image.
When I preview the site, instead of a lightbox popping up the image opens in a standalone window. I’ve looked at the html, and everything seems fine on the surface (class=“popup” is applied).
Hello,
I am trying to create a simple gallery that uses scripty fader and scriptyfader thumbnails to move through images, and then Scriptylightbox 2 to open up a larger version of the image.
When I preview the site, instead of a lightbox popping up the image opens in a standalone window. I’ve looked at the html, and everything seems fine on the surface (class=“popup” is applied).
ScriptyLightbox2 is written to process all of the popup links at page load. ScriptyFader actually removes all the options from the page and stores them in external files. Since they’re not a part of the page when it loads, they are not prepared for their popup. The behavior you are seeing (the standalone window) is the fallback that is built into the Action code for non-scripted browsers.
I could re-write SL2 so that it lazy-loads these links at the moment they are clicked, rather than when the page initially loads, and that would fix the issue for you. But I never anticipated anyone would want to mix those two this way. If I get some time over the week end I may be able to make this change.
Walter
On Feb 20, 2012, at 10:23 PM, Brett wrote:
Hello,
I am trying to create a simple gallery that uses scripty fader and scriptyfader thumbnails to move through images, and then Scriptylightbox 2 to open up a larger version of the image.
When I preview the site, instead of a lightbox popping up the image opens in a standalone window. I’ve looked at the html, and everything seems fine on the surface (class=“popup” is applied).