Hey Alex, I'm referring to the little "pop-up" text box that appears when you mouse over the category or product image.
Hey Alex, I'm referring to the little "pop-up" text box that appears when you mouse over the category or product image.
I didn't do a good job of explaining this one. The IH2 hover is good and I want to keep it just the way it is. The "zen-cart" hover is the one I want to hide. If you open the link below, and hover over one of the pics, you will see 2 hover pop-ups.
http://www.sweetzouzou.com/catalog/i...index&cPath=73
You mean the little tooltip box.
Sorry that is part of your computer operating system (WIN98, XP, ect..).
You can turn it off for your computer but it will not have effect on your website or users of your website.
Still you can Google "tool tip".
I found a jscript where you could control the tooltip and one of the functions in the script was a delay. I was thinking of playing around with this but I haven't the time to do so.
M
Yes, thats what I'm talking about. The tool tip pops up on top of the IM2 hover image. I will search as you suggest. Thx!!!!
I decided not to kill the tooltip but changed the text-align to right justify in the hover image box. This will work for now.
http://www.sweetzouzou.com/catalog/i...index&cPath=73
style_imagehover.css
#trailimageid h1 {
font-size: 100%;
font-weight: normal;
margin: 0;
padding: 2px 0px;
text-align: right;
width: 100%;
}
I'm trying to do the same thing. I want to suppress the tooltip on images that are handled by image handler only. Which means my small and medium product images.
I read that if you add title="" to the image src like this,
<img src="http://myshop.com/images/product.png" title="" alt="my cool product">
It will still have an alt for readers and spiders, but won't show a tooltip pop up.
With the IH product pics this is redundant as the title is at the top of the pop-up not to mention the tooltip "pops up" on top of the image label.
If anyone knows where I could generate this I'd really appreciate it.
David
Zen Cart's image function automatically generates alt as well as title tags for images. You can add a title="" parameter, but I'm not sure how that would interact with the title="Image Name" generated by ZC.
Thanks Glenn, I wasn't thinking of adding a second title="" to it. Just emptying the title. I can see when viewing the source, that zen just uses the image name, sans the extension for both alt and title. So it seems to me, that if what I read was correct and both spiders and readers "see" the alt tag, then at this point I'm thinking that just preventing zen from adding (or fetching) the image name to display in the title would give me an empty title=""
I would be happy with that. Even if it means stopping the tooltip site wide. I don't see the point of a tiny box popping up telling us that we are looking at the store's logo. If that info is in the alt tag that should be enough.
If anyone knows different and that the image title serves a more useful purpose, please chime in here.
I do still have a couple of questions, if you've got a minute.
Does zen use the same function (is it the same file) for all the images site wide?
Which file is it? I've tried to track it down but I'm not that zenned yet.
Would I be able to suppress this on just the product images?
Thanks for your help Glenn
David
Last edited by australican; 18 Apr 2010 at 01:47 AM. Reason: clarification
Just adding some info here... I just did a couple of hours of research, on google, W3, SEO sites, and some discussion boards. It seems the general consensus is that while it doesn't hurt to use identical text for alt and title attributes it is redundant EXCEPT for the fact that most browsers use title for the tool tip.
W3 recommends that alt is to describe the image and title is for extra information.
Most are saying alt should describe the img and title should be used like a caption, as in
alt= sail boat on a lake
title= sailing lake Erie
Would be nice if we could "fill out" these tags in zen rather than them using the images name.
David