GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Tooltip translation when hovering above a gender icon MF

Click to view RSS...
Author
Posted Monday, July 10, 2006 - Post #11828
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Important Contributors
FamilyTrees.GenoPro.com
Customers
Translator
GenoPro version: 2.0.1.6

Last Login: Tuesday, December 16, 2008
Posts: 390, Visits: 1,271
Presently the tooltip text (alt=) when hovering above a gender icon MF (for family) cannot be translated. To do so, I changed the following code line in Util.vbs from:
StrHtmlImgFamily = Util.FormatString("<img src='images/family_{}.gif' class='icon' alt='family'/> ", strGenders)
To:
StrHtmlImgFamily = Util.FormatString("<img src='images/family_{}.gif' class='icon' alt='{}'/> ", strGenders, dic("Family"))
It works but to be checked.


Edited: Tuesday, July 11, 2006 by GenoProSupport
Posted Tuesday, July 11, 2006 - Post #11830
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 6:33 AM
Posts: 3,339, Visits: 25,600
Thanks for that, I'll make the change into my current revisions. Actually 'alt' should not generate a tooltip, and doesn't work with Firefox. Apparently 'title' should be used instead. I'll need to add both for compatibility.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Tuesday, July 11, 2006 by Ron
Posted Tuesday, July 11, 2006 - Post #11831
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Important Contributors
FamilyTrees.GenoPro.com
Customers
Translator
GenoPro version: 2.0.1.6

Last Login: Tuesday, December 16, 2008
Posts: 390, Visits: 1,271
Ron,
Actually my comment was mainly to keep this Gender_MF family icon consistent with the other 2 Gender_M & F icons, i.e. actually translatable.
I didn’t realise that tooltips weren’t shown with Firefox. To tell you the truth, I personally rather prefer not to see any tooltips, in this case, because 1) there’s no link behind the icons, 2) the users can easily figure out what the icons stand for without the need for an explanatory tooltip text and 3) it will avoid possible translation problem in the future.
So, it’s up to you to add up or not the “Title” option.
But this “Title” tip was quite useful to me because I made up and inserted an Image Map (with “Alt=…), showing the guests names, from a wedding photo and, effectively with firefox, I couldn’t see any guests names. I changed “Alt” into “Title” and I can now see everybody’s name.
Thank you.
By the way, knowing that differences exist between browsers, do you also test other browsers like Opera, … as I noticed that, so far in this forum, only MSIE and Firefox have been mentioned? For info, with Opera, for example, I noticed that the panes border is only shown as a straight line!
JC
Posted Saturday, July 15, 2006 - Post #11944
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 6:33 AM
Posts: 3,339, Visits: 25,600
jcguasp (7/11/2006)
By the way, knowing that differences exist between browsers, do you also test other browsers like Opera, … as I noticed that, so far in this forum, only MSIE and Firefox have been mentioned? For info, with Opera, for example, I noticed that the panes border is only shown as a straight line!

I generally only test with IE & FF mainly because Opera's SVG rendering engine doesn't quite cut it at present and I don't have direct access to a Mac to check out Safari.

 The next revision of the report templates will generate XHTML that is fully compliant with the W3C XHTML 1.0 Transitional standard.  This should hopefully reduce, but unfortunately not eliminate, the number of cross-browser issues.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse