Also for ids, it's better to write
$('#item' + slideNum)
than
$('#carousel #item' + slideNum).
On Dec 22, 6:19 am, MorningZ wrote:
> Try replacing "$" with "jQuery" and see if you get the same error
> (this will tell you if it's a conflict or something else)
>
> but it makes no sense that "$" would work on one browser but not
> another, regardless, doing the above will help diagnose
>
> On Dec 22, 3:17 am, Pete wrote:
>
> > I'm trying to build a simple news carousel, click a tab and the
> > corresponding div shows. My Code works in FF, Chrome, Opera and Safari
> > but no luck in IE 6 or 7. I think it has something to do with $,
> > because IE7 is saying there is an Object Expected at that char
> > position.
>
> > Any help is appreciated, my code is below.
>
> >
> >
> >
> >