Weird Error (possibly timing issue)? AND a question
I started looking at Shadowbox this morning and am quite happy with the way it works (after having struggled all weekend with Lightbox). Here's what I have:
I am trying to load a series of images (gallery) that is generated from a Rails page. My interface is actually a AJAX set of libraries (SmartClient). When a user clicks on "Show Image", currently I load a SmartClient object (modal window) that pulls the set of image thumbnails from the Rails page and display them. These thumbnails all have the following format:
Here's my 2 problems
1) Somehow, unless I have a debugger (FF) or an alert between the init and setup, I get the following JS error:
[Break on this error] element.attachEvent("on" + name, wrapper);
If I put a debugger and let it "run" it works fine.
2) The next/previous/close links are not clickable somehow. I can do use keys to navigate or close the shadowbox, but the links themselves do not work.
Also, I had a question:
Is there a way for the user to "select" a particular image from the album/gallery? If they like an image, they should be able to add to their cart. So I was wondering if I can somehow provide a select-able functionality to the images?