NextGEN Scroll Gallery
[resolved] Double Thumbnails in IE9 (2 posts)

  1. platzh1rsch
    Posted 3 years ago #

    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:

    Would appreciate any help.

    Thanks in advance.


  2. platzh1rsch
    Posted 3 years ago #

    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();

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Scroll Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic