Tooltip translation when hovering above a gender icon MF
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Tooltip translation when hovering above a gender icon MF Expand / Collapse
Author
Message
Post #11828 Posted 7/10/2006 10:43:20 PM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the translation of GenoPro This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: 9/30/2008 12:25:17 PM
GenoPro Version: 2.0.1.6
Posts: 453, Visits: 1,202
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.
Post #11830 Posted 7/11/2006 6:16:58 AM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 5:35:26 AM
GenoPro Version: 2.0.1.6
Posts: 1,101, Visits: 5,103
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"
Post #11831 Posted 7/11/2006 8:01:41 AM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the translation of GenoPro This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: 9/30/2008 12:25:17 PM
GenoPro Version: 2.0.1.6
Posts: 453, Visits: 1,202
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
Post #11944 Posted 7/15/2006 7:23:29 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 5:35:26 AM
GenoPro Version: 2.0.1.6
Posts: 1,101, Visits: 5,103
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"
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 8:06 AM

Copyright 1998-2008 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.