Board Logo

Using Lightbox with Tigra Scroller...
TheRiddler - 5/19/2008 at 12:02 PM

Hey guys,

I solved the majority of the problems I was experiencing, but in moving from the old scroller that worked fine with Lightbox I failed to even think about realizing that the Tigra Scroller definitely cannot in the way I'm trying to use it. I'm taking the thumbnail images from the 'content' field of the scroll.tplX.js file, so I figured I'd put the Lightbox initiator in there, too, as such:

'content': '<a href="../images/bigPic.jpg" rel="lightbox[collection]"><img src="../images/thumbPic.jpg" height="263" width="550"></a>',

The thumbnail becomes clickable and acknowledges the existence of the Lightbox script, but doesn't perform correctly. The full-size version of the thumbnail opens in the iFrame instead of in front of the entire site with the background darkened as expected. It's peculiar; the default arrow cursor changes into a magnifying glass giving the user the ability to zoom in on different parts of a shrunken version of the full-size image. That's nifty, but I'd prefer Lightbox's regular behavior for my purposes. Is there a way to incorporate it in a way that allows it to work correctly while observing Tigra Scroller's particularities?

Thanks in advance,
The Riddler


tigra - 5/19/2008 at 02:20 PM

try adding target="_parent" or target="_top" to the link tag


TheRiddler - 5/19/2008 at 04:07 PM

It works in that it no longer does but it did, but now it only opens as an image in the same window in which the website exists, like going to another page that's just the big image. That seems to be on the right track, though Lightbox is still being ignored for some reason.


TheRiddler - 5/19/2008 at 04:16 PM

I appreciate the attempt, though.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/