internet explorer - jQuery, IE and invalid argument -
edit:
OP here. OK, the problem is on the jQuery.JS archive I have just downloaded the last one, uncompressed, and the error 4619 has been changed to 4 characters.
I went to that line and there is a '}' symbol LOL ... Did I mention that I hate internet explorer?
I do not know how to fix it, there is a bug within the structure: s
/ edit
OK That's the way! I hate internet explorer: D -
I have created a slide with jQuery to animate a small image gallery.
Works beautifully on Firefox, Safari and IE8.
However, on IE 7, it returns an error error on script:
Line: 20
Character: 31759
Error: Invalid argument
url: http-: //www-imagina.com.uy/bentancorleborgne/ page_id = 2
I have a pair that is running script on page , But since error pops when I try to slide the gallery, I go through this error:
// javascript document $ (document) .ready (function () {Var tablaWidth = ParseFloat ($ ('imagenesWrapper table.') CSS ('width'), 10); .. on tdWidth = parseFloat ($ ('.imagenesWrapper table tr td') CSS ('width'), 10) + parseFloat ( $ ('.imagenesWrapper table tr td') CSS (. 'Margin-right'), 10); on cantCeldas = tablaWidth / tdWidth - 1; posActual = 0; var leftCSS = 1; if (cantCeldas == 1) Hide $ ('#leftArrow'). (); $ ('# RightArrow') Hide () ;.} else {$ ('# rightArrow.') Show () ;.} $ ('# rightArrow') Click (function () {If (leftCSS & lt; TablaWidth) {posActual + = 1; / * Line code 20 ****************************************************************************************** / LeftCSS = moverTabla (posActual, cantCeldas, tdWidth); // Möter Tabla function (move in English) returns the left css value because this is required on this function for 'if'}};); Click on $ ('# LeftArrow') (function () {if (posActual> 0) {posActual - = 1; leftCSS = moverTabla (posActual, cantCeldas, tdWidth);}}) }); Function propeller table (pos, canitidad, tdWidth) {var leftCSS = pos * tdWidth; $ ('ImagenesWrapper table'). Animate ({left: '-' + leftCSS + 'px'}, 'slow'); Mostly Acklut Flechas (Paus, Cantidad); Return css; } Function mostly octalar flachas (paus, canidad) {// most-ochluttsfacha eziquarda, if (pause == 0) $ ('# left arrow'). Hide (); And if ($ ('# leftArrow'). CSS ('display') == 'none') $ ('# leftArrow'). Show (); // Most- ocultar flecha derecha if (pos == cantidad) $ ('# rightArrow'). Hide (); Otherwise if ($ ('# right arrow'). Css ('display') == 'none') $ ('#erpower') Show (); }
I have no clue what is happening. Is anyone enough to provide some help or clues?
Thank you very early
I think you're calculating some values Is it always an integer to get the left css value? IE7 may not be happy if you are trying to animate it by cheating it using demiles I.e. animate ({left: 4.3102918px})
Just one idea. Consider the rounding.
Comments
Post a Comment