Please is there anyone to help me understand what I'm doing wrong in my attempt of mixing highlighted sidebar and mouseover event ?
On 25 jan, 00:30, Brice <[email protected]> wrote: > On 25 jan, 00:00, Rossko <[email protected]> wrote:> > 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 > > > Your mapiconmaker.js doesn't seem to be a valid javascript. > > http://boucard.brice.perso.neuf.fr/geoculture/stable/js/mapiconmaker.js > > Actually, I'm not using mapiconmarker.js (even if I call it), but I > simply use two images (png) instead of "drawing" markers. > > > > - 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. > > > Your sidebar HTML looks like > > <div id='..'><a href="javascript:myclick(' ...') onmouseover='...' > > onmouseover='...' onmouseout='...'></a><br></div> > > You're only allowed one mouseover attribute, you should combine them > > I tried achieved to combine them (as you can see in this version > :http://boucard.brice.perso.neuf.fr/geoculture/stable/lieux_test.html) > but I still have an issue using the variables linkid or lastlinkid : > in both case, I've got an error according to Firebug : > document.getElementById(lastlinkid) is null and I don't understand > why. > > 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 [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.
