Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lightbox Won't Work with Spry DataSet

Status
Not open for further replies.

Mav3000

Technical User
Jun 20, 2005
113
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top