Topic: Juicebox.js Problem [SOLVED]

I am suddenly having a problem with a website that is using Juicebox,js  to display a slideshow.

The page I'm having a problem with is http://www.lapisbear.com/products.html

This site has been running fine for almost 2 years now, and today I find that when I load this page it will run fine for several minutes, and then at some point it just locks up. It appears that the juicebox.js becomes non-responsive. It happens on various machines, ( both windows, and MAC), at various locations, and various browsers, (IE11, Firefox, Chrome, Safari).

Firefox gives me the following message:

     "Warning: Unresponsive script"

       "A script on this page may be busy, or it may have stopped responding.
       You can stop the script now, open the script in the debugger, or let the script continue.

       Script: http://www.lapisbear.com/galleries/prod … uicebox.js line 14 > eval:1"



When this happens, Firefox stops responding, and is using 100% of my macs CPU. I have to Force Quit the browser before I can use it again.

It also happens when I load the file from my local copy, so I don't think it's an issue with my hosting site.

Any ideas?

Re: Juicebox.js Problem [SOLVED]

After investigating further, I found that the problem started when one of the galleries on the page, (Misc), had been downsized to only 2 images.
After about 5 or 6 cycles of displaying the same 2 images, the juicebox.js script goes south. If I add just one more image to the gallery, everything appears to work properly.

    I realize that a slideshow with only 2 images is not much of a slideshow, but Perhaps juicebox.js is not handling a 2 image gallery gracefully? Is there a rule somewhere that requires more than 2 images in a slideshow?

Re: Juicebox.js Problem [SOLVED]

I notice that your gallery uses Juicebox-Pro v1.2.0.
Please upgrade to the current version (v1.4.2) and your problem should be solved.
There was a bug in v1.2.0 affecting 2-image galleries which was fixed in v1.3.0.

Instructions for downloading the current version and for upgrading existing galleries can be found on the Upgrading Juicebox support page.

4 (edited by theheadmaster 2014-11-16 21:38:36)

Re: Juicebox.js Problem [SOLVED]

It looks like that did the trick. It works perfectly now.

Thank you, Steven, for such a quick response.

Re: Juicebox.js Problem [SOLVED]

That's great!
Thank you for posting back to let me know.