Hi,
I'm no javascript expert - so have hit a brick wall with this.
I have a spry repeat list of image thumbnails. I want to use lightbox to show the enlarged images when they are clicked, but lightbox won't work because it is initialiseing before the spry list is populated.
How can I overcome this problem specifically?
I have seen on Adobe forums that this code could help - but do I also have to disable the original initialisation? where is this and how can I do it?
Spry.Data.Region.addObserver("content", { onPostUpdate: function() { lightbox.init(); }});
Thanks,
Richard
I'm no javascript expert - so have hit a brick wall with this.
I have a spry repeat list of image thumbnails. I want to use lightbox to show the enlarged images when they are clicked, but lightbox won't work because it is initialiseing before the spry list is populated.
How can I overcome this problem specifically?
I have seen on Adobe forums that this code could help - but do I also have to disable the original initialisation? where is this and how can I do it?
Spry.Data.Region.addObserver("content", { onPostUpdate: function() { lightbox.init(); }});
Thanks,
Richard