Support » Plugin: NextGEN Scroll Gallery » Double Thumbnails in IE9

  • Resolved platzh1rsch

    (@platzh1rsch)


    Hey there,
    I am using Scrollgallery on a customer website.
    I admit I had to adjust the CSS and even some small parts of the core php so I don’t know for sure if the problem occurs with the original source code as well 🙂
    Anyway: the gallery is looking perfectly on Firefox, Chrome and Safari.
    It also is looking OK in IE7 and IE8, but somehow in IE9 every thumbnail seems to be generated twice.

    You can see the gallery in action here:
    http://www.moanas.ch/honestly/

    Would appreciate any help.

    Thanks in advance.

    http://wordpress.org/extend/plugins/nextgen-scrollgallery/

Viewing 1 replies (of 1 total)
  • Well I resolved it myself (or more exactly: did a workaround) by adding this to nggScrollGallery.php:

    $out .= '
    						});
    						/* remove duplicate thumbnails (IE workaround) */
    						if (parseInt(jQuery(".thumbareaContent img.img-0").length) > 1) {
    							var biggest = jQuery(".thumbareaContent img[class*=\'img-\']").last().attr("class");
    							var num = parseInt(biggest.substring(4))+1;
    							for (var i = 1; i <= num; i++) {
    								jQuery(".thumbareaContent img:nth-child("+i+")").hide();
    							}
    						}

Viewing 1 replies (of 1 total)
  • The topic ‘Double Thumbnails in IE9’ is closed to new replies.