Right Lightbox
Reported by Douwe M. | January 20th, 2010 @ 05:10 PM
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 January 20th, 2010 @ 05:15 PM
hmm... honestly I didn't know that, will do something about that some day
-
Douwe M. January 20th, 2010 @ 05:55 PM
Another suggestion:
Element.include({ lightbox: function() { Lightbox.show(this); return this; } });
-
MadRabbit March 19th, 2010 @ 07:26 PM
- 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.