I have an oscommerce web site with a cart in the header which shows/hides the content when you hover over it. What I'm trying to do is alternate the row color of the part that drops down when items have been added to the cart but I'm just not getting it right no matter what I try and despite the many articles and tutorials that I've read up on it as well as the very many posts here in the forum. My knowledge of Jquery and XML is not quite what it should be yet, though I am learning slowly.

I'd really appreciate it if someone could please have a look at my file and guide me in the right direction.

its working for me now and I'm able to style as i want but I did notice my pc is taking a bit of strain when I add an item to the cart - I wish someone could just confirm that what I've done is indeed correct or show me a better way to do things.

Melanie

ScallioXTX
—
2011-04-06T21:59:49Z —
#3

Looks okay to me. The JS is indeed pretty heavy and could be optimized, but the idea you implemented is correct :tup:

Although one could say you could give all <tr>s a background color and then only give the ones that a need a different color a class. But that's quite nit picky