<a href="www.amazon.com"/> On Thu, Nov 11, 2010 at 10:24 PM, dac <[email protected]> wrote: > Hey folks. I can't seem to get this to work in HTML with an anchor tag > due to quotations being used twice. I know this is something simple > that I am overlooking and would appreciate any into to get a hyperlink > inside an info window that opens up a new window that reaches a > webpage. > > Here's what I have so far. This info window comes off of a marker--the > marker works and shows fine; same with the titleHTML, but I want the > "content" to be a clickable hyperlink. ex.: visibly shows "http:// > www.amazon.com/" then when you click on it it takes you there. > > Code below obviously just shows the web address as static text. > > > > m2.addEventListener(MapMouseEvent.CLICK, > function(event:MapMouseEvent):void > { > map.openInfoWindow(new LatLng(22.77114, > -112.40159), > new InfoWindowOptions({ > titleHTML: "<b>Title Test</b>", > content: "http://www.amazon.com/", > hasShadow: false, > pointOffset: new Point(15, -30)})); > }); > > THANKS! > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API For Flash" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-maps-api-for-flash?hl=en. > >
-- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en.
