Reply To: POI list links anchored to map on page

Home Forums MapPress Support POI list links anchored to map on page Reply To: POI list links anchored to map on page

#12461
Chris
Keymaster

Hi,

That’s an interesting one, I’m not sure but you might try removing the ‘return false’ – it cancels the normal event handling for the anchor (since normally there is no ‘#’ anchor), so it probably prevents moving the focus to your anchor.

Altenatively, you could use jQuery, to explicitly focus the anchor.  For example:

mapp0.getPoi(10).open(); jQuery('#myanchor').focus(); return false;

By the way, you can also modify the poi list template if you’d prefer to use that instead of the table plugin.  It’s called ‘map_poi_list.php’ and there is some info in the documentation about how to copy it to your theme.