You give all items the same id
Code:
<a id="quick_view_link" class="quick_view_links"
so the js finds the first instance of that id on the page. You need to tweak it something like
Code:
<a id="quick_view_link' . $listing->fields['products_id'] . '" class="quick_view_links"
which will give an id of #quick_view_link23 for product id 23.
You also need the
Code:
onmouseout="document.getElementById(\'' . quick_view_link . '\')
to handle the id the same way, looking for the specific one being processed.
Treat all cases of ids in this section the same, so that none of the ids is repeated on other products (which is a CSS/HTML no-no).
Bookmarks