PDA

View Full Version : PHP Photo Album script v2.11 issues with Firefox 3.6.16



glere
04-21-2011, 06:23 PM
1) Script Title:

PHP Photo Album script v2.11

2) Script URL (on DD):

http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm

3) Describe problem:

installed this and the when clicking on a thumbnail which is supposed to invoke onphotoclick event handler/lightbox, script does nothing on firefox on PC/Mac.

Works fine on IE and safari.

test page here.

http://www.sequimbeachrentals.com/phototest.html

ideas?

ddadmin
04-21-2011, 10:00 PM
There may be other errors, but firstly, make sure to close your starting <body> tag on the page, which now reads:


<body bgcolor="#0E062B"

It should obviously be:


<body bgcolor="#0E062B">

glere
04-22-2011, 02:57 AM
Thanks so much for looking into this; I caught the syntax issue on body too and fixed but made no difference.

Is there some kind of DHTML not supported in firefox issue here?

This positively works in IE 7/XP SP 2, but not on Firefox 3.6/XP, or Firefox 3.6/OS X 10.6.

On firefox, the thumbnails come up and are clickable, but clicking does nothing. Have been playing with the arguments to:

onphotoclick:function(thumbref, thumbindex, thumbfilename){thumbnailviewer.loadimage("http://www.sequimbeachrentals.com/homepix/large/edge_dining.jpg", "fit2screen") to no avail.


Also, a small screen element "page 1" is missing that shows up on IE/Safari.

ddadmin
04-22-2011, 07:00 AM
Hmm weird, I would have thought fixing the unclosed <body> tag issue would do it. Right now Firefox is complaining of a JavaScript error:


Error: albumdiv is null
Source File: http://www.sequimbeachrentals.com/ddphpalbum.js
Line: 53

typically associated with invalid HTML nesting or markup on the page, though with the fix that should no longer be the case. I'll try and post back when I find out more about what's going on.

ddadmin
04-22-2011, 03:34 PM
Checking your page now, it seems you've modified your layout, and the gallery now works in FF. It's quite possible the table cell that the gallery was previously embedded inside has something to do with the problem.

glere
04-22-2011, 04:08 PM
yes; stripped all the table code, and it is working; so will fiddle with table code and see if I can integrate it into the old page. Thanks.