Forums / Templates, Stylesheets, Page Layout / How to remove products name flyout during mouseover?

How to remove products name flyout during mouseover?

Views: 636

Results 1 to 4 of 4
13 Oct 2011, 1:53 PM
#1
idc1 avatar

idc1

Zen Follower

Join Date:
Jul 2011
Posts:
139
Plugin Contributions:
0

How to remove products name flyout during mouseover?

If you go to http://skippypages.com/zen-cart-v1.3.9h-full-fileset-10262010/index.php?main_page=index&cPath=1080 and mouseover any item you will notice

  1. a larger image pops up with the product name in the upper left of the image box

  2. a flyout with the products name in a separate box

I am trying to remove the 2nd flyout. I have found where I can take out products_name in the includes>modules>your_template>product_listing.php but the problem is that it also removes the text noted in #1 above which I would like to keep.

Any suggestions on what I'm missing?

Thanks

ZC 1.5.5
Add ons: - Column/Grid 1.3.8 - Dual pricing 1.7 - ImageHandler3

27 Oct 2011, 6:19 PM
#2
idc1 avatar

idc1

Zen Follower

Join Date:
Jul 2011
Posts:
139
Plugin Contributions:
0

Re: How to remove products name flyout during mouseover?

Any thoughts out there?

ZC 1.5.5
Add ons: - Column/Grid 1.3.8 - Dual pricing 1.7 - ImageHandler3

27 Oct 2011, 6:39 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: How to remove products name flyout during mouseover?

The second "flyout" is something your browser does. It is reading the ALT tag in your <img src> code in the html.

Zencart automatically puts the product title into these ALT tags, when it builds the page.

You cannot "easily" stop this from happening. To stop the generation of ALT tags is not advised as they:

  1. Are needed to validate your HTML
  2. Search engines may penalise you for not using them
  3. They are needed by blind people, who are likely to have special software on their computers that "read out" the alt tag of an image when they hover over it. As they can't SEE the image, their software speaks out whatever is in the alt tag.

In the UK, you would be breaking the law (Disability Discrimination Act) if your software fails to work for disabled people...

20 years a Zencart User

27 Oct 2011, 7:08 PM
#4
idc1 avatar

idc1

Zen Follower

Join Date:
Jul 2011
Posts:
139
Plugin Contributions:
0

Re: How to remove products name flyout during mouseover?

Thanks for the input Schoolboy. That is interesting to know how it is used for those with disabilities.

Maybe I should explain my reason for wanting to remove it, and you may be able to offer other creative suggestions.

It seems to flyout for about 5 seconds, and sometimes it may cover an important part of the image. Would there be a simple way to reduce the flyout time or the size?

ZC 1.5.5
Add ons: - Column/Grid 1.3.8 - Dual pricing 1.7 - ImageHandler3