Try removing the comma after "left: 0" on line 8. Firefox doesn't seem
to mind the trailing comma but IE completely breaks. You see this with
mostly with literal notation.

On Apr 24, 11:06 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> On PC IE (v. 7.0) only, I'm getting a JS error on line 9, saying
> "Error: Expected identifier string, or number."  Here's the code
>
> function slideIn(id) {
>         hideAllSubNavs();
>         if (IsHidden(id))
>                 toggleDiv(id);
>         $('#' + id).animate(
>                 {
>                         left: 0,
>                 },                            // line 9
>                 "normal"
>         );
>
> }   // slideIn
>
> This, of course, works fine on Firefox.  Could someone tell me how to
> heal the pain on IE?
>
> Thanks, - Dave

Reply via email to