1 (edited by harikris2007 2013-07-31 09:55:35)

Topic: Juice box issue with jquery 1.6.4.min.js page not loading....

I'm using Drupal 7 with mobile_jquery  as theme for my mobile website.

Juicebox is used to create a gallery in the website.It is working with desktop browser theme and not working with the mobile theme,

pls check this link http://w3qatar.info/aldarmobi/properties .

When we click on any of the property listed there,that page is not loading...when we check the JS error from the browser


If you go to the page directly ,we can see juice-box is working there...http://w3qatar.info/aldarmobi/al-thumama

i found the following main error

Error: ReferenceError: juicebox is not defined
Source File: http://code.jquery.com/jquery-1.6.4.min.js?mqso3w Line: 3

there is some thing preventing to load the page from a link...May i know the reason.please help me....

Re: Juice box issue with jquery 1.6.4.min.js page not loading....

Try updating the version of jQuery on your web page. The current stable version is v1.10.2. (jQuery v1.6.4 is a couple of years old now.) The 'juicebox.js' file comes bundled with its own version of jQuery and loading an older version of jQuery after loading the 'juicebox.js' file in your web page may cause problems.

Re: Juice box issue with jquery 1.6.4.min.js page not loading....

yes. but my mobile_jquery theme is using that version and if i update or change the version the theme will not load.Could you please suggest me any other solution for this issue.?

Juicebox is really helpful to my needs.

Re: Juice box issue with jquery 1.6.4.min.js page not loading....

I notice that you also load jQuery v1.8.2 in your web page (before loading the 'juicebox.js' file).
I have created a test gallery in which I load jQuery v1.8.2, then 'juicebox.js' and then jQuery v1.6.4 and the gallery still displays OK so check the rest of the code on your web page to see if there is perhaps anything else which might be causing your gallery to not display.
Unfortunately, it is likely to be a difficult page to debug (as it loads many external CSS and JavaScript files) and some trial and error may be required.
Try removing elements from your web page, one at a time until the gallery displays OK and you find the cause of the problem.

5 (edited by harikris2007 2013-08-01 19:33:51)

Re: Juice box issue with jquery 1.6.4.min.js page not loading....

i've corrected the issue by adding the juicebox js to the file directly.The js was not loading to the page due to the jquery 1.6 .now it is ok.

Please check the comment..... http://webwash.net/comment/1299#comment-1299

But i have another question- when i was testing in iphone and android devices the gallery shows only one image with a link to view gallery.When i click on the link we can view it.working perfect.

I want a gallery view like the other browsers ,ie with a large image and thumbnail below it.also with right and left arrows.

How can we set it.I dont want that   view gallery link in mobile devices.The Galaxy note II shows the exact result that i really need .Could you please reply me?

thanks for your valuable support.

Re: Juice box issue with jquery 1.6.4.min.js page not loading....

What you are describing is the gallery's Splash Page. (Please see here for further details on how Juicebox adapts to different devices adn screen sizes.)
You can disable the Splash Page by setting showSplashPage="NEVER" (in JuiceboxBuilder-Pro's 'Customize -> Splash Page' section).
Alternatively, you can force the gallery to be displayed in Large Screen Mode on all devices and in all browsers by setting screenMode="LARGE" (in JuiceboxBuilder-Pro's 'Customize -> General' section).

Re: Juice box issue with jquery 1.6.4.min.js page not loading....

i am talking about this page http://w3qatar.info/aldarmobi/dafna


its  differnt in ios and some android phones. loading a common image with the link view gallery.I want the same as in the firefox or system browsers....also i'm using lite version not pro...please advice me...

Re: Juice box issue with jquery 1.6.4.min.js page not loading....

Both the showSplashPage and screenMode configuration options are available in Juicebox-Pro only (and not in Juicebox-Lite).
It is not possible to override the use of the Splash Page on mobile devices in Juicebox-Lite.