Results 1 to 6 of 6

Thread: PHP Photo Album script v2.11 issues with Firefox 3.6.16

  1. #1
    Join Date
    Apr 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default PHP Photo Album script v2.11 issues with Firefox 3.6.16

    1) Script Title:

    PHP Photo Album script v2.11

    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamici...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?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    There may be other errors, but firstly, make sure to close your starting <body> tag on the page, which now reads:

    Code:
    <body bgcolor="#0E062B"
    It should obviously be:

    Code:
    <body bgcolor="#0E062B">
    DD Admin

  3. #3
    Join Date
    Apr 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.
    DD Admin

  5. #5
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.
    DD Admin

  6. #6
    Join Date
    Apr 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •