Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / how to mouse over tool tips?

how to mouse over tool tips?

Locked

Views: 988

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
10 Jan 2010, 7:03 PM
#1
makoshark avatar

makoshark

Zen Follower

Join Date:
Jun 2007
Location:
Laurinburg, NC
Posts:
165
Plugin Contributions:
0

how to mouse over tool tips?

I am using the latest version of Zen Cart. I what to know were I can find the code for the tooltips for Zen Cart. I have set up a LAMP server that I do experiments on and I want to modify the tool tips and/or expand them. I would also like to discover if there is a way to keep the tool tip data in MySQL. I am teaching myself PHP, but don't assume I know anything! :cool:. Were to the current tooltips get there info from?
Thanks James Nilandsplace.com

11 Jan 2010, 3:14 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: how to mouse over tool tips?

What tool tips?

11 Jan 2010, 6:24 AM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: how to mouse over tool tips?

What you may be taking for tooltips are alt text in link or image code. Those come from a variety of sources, some constants, some generated based on product/category location/name... None of them will be hard-coded in PHP files, though (except for language defines).

11 Jan 2010, 7:01 PM
#4
wolfkin avatar

wolfkin

New Zenner

Join Date:
Dec 2009
Location:
Toronto, Ont
Posts:
19
Plugin Contributions:
0

Re: how to mouse over tool tips?

if it helps i believe the 'tool tips' you refer to are from the title attribute. so if you see image code

<img src="/images/sample.png" width="100" height="100" alt="Replacement Text" title="tooltip text" />
13 Jan 2010, 4:14 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: how to mouse over tool tips?

Zen Cart's default code generates alt text from relevant information like the category or product name, and sets the title to the same as the alt text. You would need to do some extensive customizing to get different title text.