On Apr 15, 8:23 am, David K-C <[email protected]> wrote:
> Having looked at the example you gave me, I can't seem to get it
> working.
>
> I checked your source code in your example, and I can't see the div
> showing. Is there any chance you could have a look at my code and tell
> me where i'm going wrong?
>
> I've included the line you gave me, and set the div so that it should
> appear. Again, your help is greatly appreciated....

Have you looked at your javascript errors?

I get (in IE):
Line: 58
Error: 'document.getElementById(...)' is null or not an object

        <div id=advert">in here</div>

You are missing a double quote...

   -- Larry


>
> On Apr 14, 4:38 pm, Andrew Leach <[email protected]>
> wrote:
>
>
>
> > On Apr 14, 4:18 pm, David K-C <[email protected]> wrote:
>
> > > also, I'm not sure how relevant this is, but the markers I've set up
> > > are pulled from a mysql database, via an external php file I call into
> > > the map. Ideally, I'd like to specify the image so that it's relevant
> > > to each marker. Eg marker number 1 calls up a file named image001.jpg,
> > > and so on.
>
> > > Thanks in advance to you (or anyone else for that matter!) for any
> > > reply...
>
> > If you put a div with an id of "advert" on your page, then the one
> > line of code I supplied will populate it. You can position and style
> > <div id="advert"> any way you want.
>
> > To tie a particular image to a particular marker, pass the url of the
> > image to your createMarker function so you can use it there, in much
> > the same way as you do with its location and HTML content. You could
> > store that URL within your database.
>
> > Seehttp://www.acleach.me.uk/gmaps/infowindow-iframe.htmforsome
> > ideas.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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?hl=en.

Reply via email to