Right Lightbox
Reported by Douwe M. | 2010-01-20 17:10:39 UTC
I'm sorry to say, but I think you misunderstood part of the Lightbox 'standard'...
When one wants to show an album using Lightbox, he shouldn't use
lightbox[roadtrip], but
lightbox[albumname], with albumname as
anything he wants. This way he can use more than one album on one
page.
roadtrip is just an example album name, not some
magic word that automagically makes your lightbox links an
album.
It could be that you did indeed understand the 'standard', and
this is just your way of implementing it. In that case I suggest
you set roadtripRule to something like
a[rel='lightbox[]'],
a[rel='lightbox[album]'] or
a[rel='lightboxalbum]'] by default, as
lightbox[roadtrip] makes no sense in most cases, only
when the subject is, well, a roadtrip.
Comments and changes to this ticket
-

MadRabbit 2010-01-20 17:15:29 UTC
hmm... honestly I didn't know that, will do something about that some day
-

-

Douwe M. 2010-01-20 17:55:40 UTC
Another suggestion:
Element.include({ lightbox: function() { Lightbox.show(this); return this; } }); -

MadRabbit 2010-03-19 19:26:19 UTC
- State changed from new to resolved
Implemented the multiple albums support feature. Will be published soon.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.