I've looked closer to that point but I don't understand... I see that
the lastlinkid is declared before the createmarker function and filled
inside that function so maybe here is the problem but it seems to be
the same in the Mike Williams' example (http://econym.org.uk/gmap/
example_map2c.htm) I used.

I really don't see where is the problem.

And why the background of the label doesn't change when I click on the
lable in the sidebar ?

Thanks for your help.


On 24 jan, 21:20, Alchemy Code <lukasz.kosz...@gmail.com> wrote:
> Hi,
>
> you're getting an error (check your firebug console):
>
> document.getElementById(lastlinkid) is null
> document.getElementById(lastlinkid).style.background="#ffffff";
>
> on:
>
> 82.       GEvent.addListener(map,"infowindowclose", function() {
> 83.        document.getElementById
> (lastlinkid).style.background="#ffffff";
> 84.       });
>
> take a closer look on that, maybe there's the source of your problems.
>
> Cheers,
> Lucas
>
> ----
> blog.alchemycode.pl
>
> On 24 Sty, 17:52, Brice <crl.br...@gmail.com> wrote:
>
> > Hi,
>
> > I have tried to mix the highlighted sidebar tutorial with the Sidebar
> > mouseovers tutorial from econym.org.uk but I have some problems as you
> > can see there 
> > :http://boucard.brice.perso.neuf.fr/geoculture/stable/lieux_test.html
>
> > - creating the sidebar : no problem
> > - mouseover and mouseout on markers to change the marker layout : no
> > prolem
> > - mouseover and mouseout on the labels in the sidebar to change the
> > markers layout : no problem
> > - click on the label in the sidebar to display the infoWindowHtml :
> > when a infoWindowHtml is opened, I need to double-click on the label
> > to show the corresponding InfoWindow. I don't understand why.
> > - the clicked label in the sidebar isn't highlighted and I can't
> > figure what is the problem.
> > - I'd like to make the mouseover on the label in the sidebar changing
> > the marker display and opening the InfoWindow but I don't know how to
> > make that.
>
> > Thanks for your help.

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

Reply via email to