mobile devices with 6.03

Page: 1

Author Post
Member
Registered: Mar 2011
Posts: 25
I have a mobile-optimized page with multiple images using floatbox version 6.03, but when I click on an image to enlarge, the image fills the page, and there's nothing I can do to move to the next image, or close the current image, aside from hitting the browser "back" button.

If I replace my new floatbox with an older version (I had 5.7.2), it works normally with my android phone.
Administrator
Registered: Aug 2008
Posts: 3382
It sounds like Floatbox isn't loading - perhaps because it's not properly installed, or perhaps you just need to flush the browser cache - and the link is just navigating to the linked image. Hence the back-button takes you back to the original page.

If the above hints don't trigger a fix, have you got a link to a page I can look at to see what's going on?
Member
Registered: Mar 2011
Posts: 25
The only "installation" I did was to copy the downloaded floatbox folder into my main directory. Here are two pages. gallery1.html is pointing to an older version of floatbox, and gallery2.html to the new version. The only difference between them is the two lines in the <head> section.

http://test10.ssih.com/mobile/gallery1.html

http://test10.ssih.com/mobile/gallery2.html
Administrator
Registered: Aug 2008
Posts: 3382
Gallery2 doesn't work in desktop browsers either. The reason is because the floatbox js and css files are not on the server at the referenced location.

Here's the debug console output:
Quote
GET http://test10.ssih.com/floatboxnew/floatbox.css 404 (Not Found) gallery2.html:9
GET http://test10.ssih.com/floatboxnew/floatbox.js 404 (Not Found) gallery2.html:10
Member
Registered: Mar 2011
Posts: 25
I'm sorry, there was a typo in my script. It should be looking in the right place now.
Member
Registered: Mar 2011
Posts: 25
I probably wasn't clear in my last post. The problem is still there, but I've removed the typo from the test file.
Administrator
Registered: Aug 2008
Posts: 3382
That's not version 6.0.3 you've got attached to gallery2: it's an old version 4.24. However, the options.js file in that folder is of a format that works only with version 5 and later. The 4.24 install is waiting for an options.js file of a format that it understands, but that never arrives.

Please copy the floatbox folder and all its contents from the downloaded floatbox_603.zip file to your server, set your floatbox.js and floatbox.css files to that fresh install, and I'm sure everything will run fine. The only customization in the current invalid options.js file is your license keys, so I suggest just copying those into the new pristine options file that comes with the 6.0.3 package.
Member
Registered: Mar 2011
Posts: 25
Wow - that's bizarre. Thanks for checking that for me. I'll download a fresh copy.

Page: 1