Re: [Google Maps API v3] Re: infowindow content

2011-10-10 Thread Andrew Leach
On 10 October 2011 15:44, rmcguire  wrote:
> from what I have here:
>
> var contentString = "West SalesJohn Doe>""mailto:j...@meadowlarkco.com"";;
>
> then I pass contentString into
>
> infowindow.setContent(contentString);

All that will do is put the text into the infoWindow. It won't create
a mailto link. For that you need to insert
"j...@meadowlarkco.com"

var contentString="..";

Note the alternating quote styles.

> Also if I wanto add img's do I just do an ?

Yes, as I said. Again, you need to be careful about nesting
apostrophes with the outer quotes.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: infowindow content

2011-10-10 Thread rmcguire
from what I have here:

var contentString = "West SalesJohn Doe""mailto:j...@meadowlarkco.com"";;

then I pass contentString into

infowindow.setContent(contentString);


Also if I wanto add img's do I just do an ?


thanks





On Oct 7, 12:26 pm, Andrew Leach  wrote:
> On 7 October 2011 19:01, rmcguire  wrote:
>
>
>
> > is it possible to add a mailto for the email address.also if we
> > want to add images can you simply do a  tag within my content
> > string?
>
> Yes to both. You do need to be careful about nesting quotes correctly.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: InfoWindow content and resize issue

2010-11-04 Thread CSharp
Please also take note underneath the map on the page. Scroll down to
the bottom of the page on initial load. The containers I'm trying to
illustrate is below the map. Once you click on a marker on the map, the
container disappears from the page and gets loaded into the InfoWindow
as it should, but the InfoWindow doesn't show up.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.