0

On a recent project, I decided to make use of Ajax to make a dynamic Shopping cart. When a user adds to their basket, the basket decends from the top of the screen and displays their contents.

Each item should show a small thumbnail image on each line which it does, for a split second and then they vanish inexplicably!!

Has anyone encountered this issue before?

http://www.arightgoodyarn.com - find some wool and add to basket - the more items, the more apparent the issue is!!!

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by SolidSolutions
0

i can't see what is wrong for sure that is causing this. The source of the image is correct in the source for the page, but inspecting the element shows no source. That would seem like there is some javascript overwriting the img attribute.

There are 2 things I would change though:

1. There is a duplicate call to 2 .js files. I would remove the extra calls:

<script src="scripts/jquery.js" language="javascript" type="text/javascript"></script>
and
<script src="scripts/ajax.js"></script>

2. There is a call to an invalid file path:
<link rel="stylesheet" type="text/css" href="stickytooltip.css" />

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.