I suspect your right Tony with regards the line –
$("#ProductDetails .ProductTinyImageList").width($("#ProductDetails .ProductTinyImageList").width()+4);
But that initself did not seem to complete the picture. I still need to look closer at this IE section it seems. And I am sure I shall need help here… What ever I do messes things...
Here is where I am..The figure of 207 from earlier, was I felt sure, the result of iterative maths based on the number of ‘child’ inputs – thumb nail images detected for the product. If right, a simple one line change might be all thats needed here to complete the single line of thumb nails I require.
So I simply add 5 to the line -
Var visible = MaxVisibleTinyImages ;
Var visible = MaxVisibleTinyImages + 5;
You get
visible which is currently calculated as 3 (it seems) and adding 5 make 8 the required number to be shown. A quick test to see if I was right suggests the red outline shown in the image below is now the new div container for ImageCarouselBox and is about equal to 8 thumb nails. So I now check this.
In ISC admin I set up a test sample of 8 images to represent the make up of max number of colours (4) at two images per product. In Firefox and Opera, all 8 are shown and all 8 work normally – image rollovers okay, zoom okay and I can use the shopping cart normally. Change the thumb nail count to 4 same working result, I then tried 2 thumb nails etc etc. There is the impression I have sorted my problem out -
In IE show 2 thumb nails and the rollovers etc wok okay. Zoom works, shopping cart works. However, when I made the thumb nail count 4 they show but positioned midway in section (based on area shown in red above image). This is true for 8 images. In fact after a page showing just 2 thumb nails with out issue, adding more, and now you see lower left of browser window - 'DONE but with errors on page'. A subtle observation is that the image that is zoom active has now moved upwards a pixel or two and is underlapping the section header lable. This layer shift maybe unrelated, but you can use the thumb nail rollovers, but not use the zoom. So this suggests the carousel section has been affected by IE clearly not playing ball !
I have added numbers to the script below, here and there (stabs in the dark) and saw no changes, errors yes, but changes no.. I have no idea why IE needs this so-called fix or what exactly it is doing. I thought, wrongly, that whatever was used above would be passed down to this section and made IE safeand with an in theory, no need to change code.
But here is where my very limigted knowledge of JS ends and where the lap of gods (yourselves) might step in.. This is the only place I can think is where my final problem might be in here someplace, although how this has affected the zoom I have no idea. I maybe looking in the wrong place regarding the zoom or it is the right place and the image underlapping a header is why zoom does not work?!! Questions questions?
// end this floating madness
$('#ImageScrollNext').after('<br clear="all" />');
// pad the carousel box to center it
$('#ProductDetails .ImageCarouselBox').css('padding-left', Math.floor(($("#ProductDetails .ProductThumb").width() - (visible * CarouselImageWidth) - (2 * CarouselButtonWidth)) / 2));
// IE 6 doesn't render the carousel properly, the following code is the fix for IE6
if($.browser.msie && $.browser.version.substr(0,1) == 6) {
$("#ProductDetails .ProductTinyImageList").width($("#ProductDetails .ProductTinyImageList").width()+4);
var liHeight = $("#ProductDetails .ProductTinyImageList li").height();
$("#ProductDetails .ProductTinyImageList").height(liHeight+2);
}
I THINK if I can get IE to work as I can with Firefox and Opera I would have found (with Tonys finger pointing) a crude mod for future ISC owners. anybody have any ideas...???