Figured out the problem. Array.indexOf is not supported by Opera 9.27
or IE.
On May 29, 1:41 pm, Keri Henare [EMAIL PROTECTED] wrote:
Opera 9.27 throws up this error:
Event thread: click
Error:
name: TypeError
message: Statement on line 80: Type mismatch (usually a non-object
value used where an object is required)
Backtrace:
Line 81 of linked script
file://localhost/Users/kerihenare/Sites/adhub2/skin/js/functions.js
$(this).animate({left :
(fusionSlider.panelPositions.indexOf(position) - 1) * $
(fusionSlider._slider).width()}, 300);
CODE:
panelArrange : function(x) {
$(fusionSlider._slider).children(fusionSlider._panels).show();
x = x + 1;
if (x == fusionSlider.panelPositions.length) x = 0;
$(fusionSlider._slider).children(fusionSlider._panels + ':eq('+
x +')').hide();
$(fusionSlider._slider).children(fusionSlider._panels).each(
function(i) {
var position = i - 1;
if (position 0) position =
fusionSlider.panelPositions.length - 1;
$(this).animate({ left:
(fusionSlider.panelPositions.indexOf(position) - 1) * $
(fusionSlider._slider).width()}, '300'); // -- LINE 80
}
);
}