DMXzone Google Maps 2 Support Product Page
Answered
Info box Hyperlinks and Custom box size
Asked 07 Sep 2014 12:26:58
1
has this question
07 Sep 2014 12:26:58 p k posted:
I want to give the values in Info Boxes a dynamic Hyperlink.On which page can i edit the code for this, and what line?
I want to give Infobox a custom size, because dynamic values (streetnames) looks like it contains a page word break or <br/> and there is an scrollbar added to the Infobox.
Replies
Replied 08 Sep 2014 08:10:07
08 Sep 2014 08:10:07 Teodor Kuduschiev replied:
Hello P k,
could you please provide a link to your page? Also - what datasource type are you using?
could you please provide a link to your page? Also - what datasource type are you using?
Replied 08 Sep 2014 08:23:01
08 Sep 2014 08:23:01 p k replied:
datasource is mysql
files are on a public server and IP's need to be whitelisted
i dont know if this topic is private or public,
can i send you private message?
files are on a public server and IP's need to be whitelisted
i dont know if this topic is private or public,
can i send you private message?
Replied 08 Sep 2014 08:39:01
08 Sep 2014 08:39:01 Teodor Kuduschiev replied:
You can send the link to:
Replied 08 Sep 2014 09:11:08
08 Sep 2014 09:11:08 p k replied:
Sure, email coming your way.
I do see following changes when using Firefox and Chrome:
Chrome displays scrollbar and break text
Firefox displays no scrollbar and breaks text
IE displays scrollbar and breaks text
I do see following changes when using Firefox and Chrome:
Chrome displays scrollbar and break text
Firefox displays no scrollbar and breaks text
IE displays scrollbar and breaks text
Replied 08 Sep 2014 09:37:24
08 Sep 2014 09:37:24 p k replied:
I think the infobox doesn't contain a <br/> but the infobox has a limited size and therefor is breaking the Streetnames in half
Replied 17 Sep 2014 07:49:18
17 Sep 2014 07:49:18 p k replied:
I still havent received an solution to why the infobox cant have a fixed size
Replied 17 Sep 2014 13:16:45
17 Sep 2014 13:16:45 p k replied:
Regarding adding hyperlinks to Google maps infobox has been solved by myself.....
I found the code at the page where the google maps div is placed.
Navigate to the code where it begings with:
Now find the following code line
Add the A href to add a hyperlink. Its important to replace any " double qoutes with ' single qoutes as an example combined with a php variable:
I found the code at the page where the google maps div is placed.
Navigate to the code where it begings with:
<script type="text/javascript"> // <![CDATA[ jQuery(document).ready( function() { jQuery("#map1").dmxGoogleMaps(
Now find the following code line
"html":
Add the A href to add a hyperlink. Its important to replace any " double qoutes with ' single qoutes as an example combined with a php variable:
"html": "<a href='index.php?Object=<?php echo $row_People['ID']; ?>'><?php echo $row_People['Full Name']; ?></a>"
Replied 17 Sep 2014 13:18:37
17 Sep 2014 13:18:37 p k replied:
Please give a solution for the customized infobox height and width, thanks
Replied 17 Sep 2014 14:40:05
17 Sep 2014 14:40:05 Teodor Kuduschiev replied:
Hi,
In your css add:
In your css add:
.gmap_marker { overflow: hidden; white-space: nowrap; }
Replied 17 Sep 2014 14:52:19
17 Sep 2014 14:52:19 p k replied:
that worked perfectly, thanks!
Replied 30 Mar 2024 00:13:36
30 Mar 2024 00:13:36 User replied:
You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant shipment records