If it's the mouseovers on the sidebar from that yelp page that you're
interested in, they do it all with Prototype.observe.
for(var i=1;i<=NEARBY_BIZ_COUNT;i++){
var el_index = $('nearby_biz_name_'+i);
if(el_index){
Element.observe(el_index,'mouseover',showPopupIndex);
Element.observe(el_index,'mouseout',hidePopupIndex);
}
}
where showPopupIndex and hidePopupIndex call
markers[index].showMouseOver(target);
and
markers[index].hideMouseOver();
respectively.
The sidebar on that page IS dynamically generated, it's just that it's
dynamically generated in the server code rather than in Javascript.
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---