• Resolved ronthai

    (@ronthai)


    Hi,
    In IE8 (and probably all) gallery.js gives an error on line 210 – col 5
    I am no programmer, but I looked and have no idea.
    I know Firefox also has the same error (ctrl-shift-J) only Firefox does not show it publicly.
    Anyone have an idea on how to re-write that little bit of error in gallery.js (e.style is line 210, but col 5 is empty, because e.style starts at col 17, according to Notepad++)
    else {
    var oh=e.offsetHeight-ho-1;
    e.style.height=oh+(Math.abs(h))+’px’;
    }
    The plugin works great, just not like errors showing. Not so professional look towards your blog visitors.

    Thank you and regards, Ron

    http://wordpress.org/extend/plugins/slideshow-gallery-pro/

Viewing 1 replies (of 1 total)
  • Plugin Author cpres

    (@cpres)

    Thanks ronthai

    I switched the javascript code to this and the error seems to have conceded:

    if (oh + h > 1) {e.style.height=oh+(Math.abs(h))+'px';}

    Thanks for bringing it to my attention. The fix will be apart of 1.4 update so make sure to do the update!

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Slideshow Gallery Pro] gallery.js error’ is closed to new replies.