Bartosz Dawida Posted October 23, 2011 at 03:55 PM Share Posted October 23, 2011 at 03:55 PM I want to attach onmouseover event to listing titles to show map Tooltip in detail page - as it works on blogview page. (in detail page I created map with nearby listings and list from the markers which are shown on the map, described in this thread: http://www.reviewsforjoomla.com/forum/index.php?topic=13961.0) I added class and id to link in listing titles exactly as in blogview page. id="jr_listing[iD]" class="jr_listingTitle" and I coppied code from: com_jreviews_addons/geomaps/views/themes/geomaps/geomaps/map_results_thtm to: com_jreviews_addons/geomaps/views/themes/geomaps/modules/geomaps.thtml jQuery('.jr_listingTitle').each(function(i){ jQuery('#'+this.id) .bind('mouseover',function(){ GeomapsResults.panToCenter(); var id = this.id.replace('jr_listing',''); GeomapsResults.switchMarkerImageById(id,'_hover'); GeomapsResults.showTooltipById(id); GeomapsResults.getStreetViewById(id); }) .bind('mouseout',function(){ var id = this.id.replace('jr_listing',''); GeomapsResults.switchMarkerImageById(id,''); GeomapsResults.closeTooltip(); }); } ); } But nothing happens. Can I get help? Link to comment
Alejandro Posted October 23, 2011 at 09:42 PM Share Posted October 23, 2011 at 09:42 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts