GenoPro Home
|
Get Started With My Genealogy Tree
|
Buy
|
Login
|
Privacy
|
Search
|
Site Map
GenoPro Support Forum
Home
Search
Tags
Who's On
Welcome Guest
(
Login
|
Register
)
Recent Posts
Popular Topics
Home
»
GenoPro
»
Report Generator
»
Report Generator Bugs
»
Map popup not appearing for individuals and families (fix)
Map popup not appearing for individuals and families (fix)
Rate Topic
Topic View
Topic Options
Author
HarryCaper
Posted Friday, June 17, 2011
-
Post #28583
Forum Guru
FamilyTrees.GenoPro.com
Customers
GenoPro version: 3.1.0.1
Last Login: Thursday, June 2, 2022
Posts: 108,
Visits: 1,280
Apologies this bug is entirely on me - I commented one of the necessary changes but was so busy commenting I didn't insert the actual change. doh!
I should have included this modified function in the util.vbs (the critical addition being the inclusion of onclick='showPopUpFrame("""");')
Function StrHtmlImgMap(o)
If o.Session("gMap") = True Then ' i.e. there are some geo-tagged
PLaces
for this
individual
/
family
Dim strAlt
strAlt=StrDicExt("AltgMap" & o.Class, "", "Display a Google Map showing geo-tagged places associated with this " & Dic(o.Class),"", "2010.12.10")
StrHtmlImgMap =
Util.FormatString
(" <a href='gmap.htm?id={},classId={},name={}' target='popup' onclick='showPopUpFrame("""");'><img src='
images
/pin.gif' class='icon' alt='{&t}' title='{3&t}'/> </a> ", o.ID, o.Class, Replace(
Util.UrlEncode
(o),"+","%20"), strAlt) 'ShowPopup removed from google map initiation code, to allow map of all people to appear in _detail
End If
End Function
btw - more than happy for you to drop my monika from the theme names
Edited:
Saturday, June 18, 2011 by
HarryCaper
genome
Posted Saturday, June 18, 2011
-
Post #28584
Legendary Master
Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1
Last Login: Yesterday @ 8:45 PM
Posts: 3,422,
Visits: 26,466
Thanks for that. I had just sat down to look into it further and saw your post. I had come to the conclusion that something had changed there but tried to tackle it in a different way by adding showPopUpFrame() to the jquery initialisation in gmap.htm. This didn't work with most browsers. I have pursued this a realised that showPopUpFrame needs a percent argument even if it is a blank string i.e. showPopUpFrame('') (but not null) so I have now changed it to allow null as well so that showPopUpFrame() now works. I'll leave it in gmap.htm as it is tidier than the many 'onclick' attributes.
Will post a skin revision shortly.
btw - more than happy for you to drop my monika from the theme names
O.K. I have already added your moniker to the Author list in
Config.xml
- the
help
is much appreciated.
'lego audio video erro ergo disco'
or "
I read, I listen, I watch, I make mistakes, therefore I learn
"
Similar Topics
Reading This Topic
Active: 4 - 1 guest, 2 members, 0 anonymous.
Online:
Nand
,
Alex
Powered By InstantForum.NET 2010-3-x © 2025
Execution: 0.016.
7 queries.
Compression Enabled.
Search All Forums...
GO
Advanced Search
Rate Topic
Great
Good
Average
Bad
Poor
Rate This Topic
Flat Ascending
Flat Descending
Threaded
Subscribe To Topic
Print This Topic
Goto Topics Forum