Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OnMouseOver with OsCommerce


nlaur86

Recommended Posts

Posted

I am trying to use onmouseover to show informations about products when I put the mouse over a product in best_sellers box.

The problem is that it doesn't work. I am trying to use this script: DHTML Tooltips.

So, in boxes/best_sellers.php I am trying to add this code:

 

$bestsellers_list .= '<li'.$kk.'><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $best_sellers['products_id']) . '" onmouseover="Tip('Text with <img src=\'images/' .$best_sellers['products_image']\'>image.')" onmouseout="UnTip()"><strong>' . $separ . $count . '</strong>. ' . $best_sellers['products_name'] . '</a></li>';

 

So, what is wrong here? I am trying to show: Picture of the product, name and price with a fade effect for the popup div.

 

Please, help! :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...