Hello. In a mashup I’m unable to override the ‘Mashups’ settings
POI Click: Open POI vs Go to post
by using mashupClick=”poi” or mashupClick=”post”.
Whatever I try the behaviour is always dictated by the Mashups settings not the shortcode parameter i.e. I can successfully alter the behaviour using the settings but never by using mashupClick.
Also I’m using hidden=”true” but my map continues to appear. Does ‘hidden’ work with mashups?
What I want is two distinct behaviours on the same page:
(1) a map with poilist that shows an infobox when either the icon or poilist entry is clicked.
(2) a poilist without a map that will open the post when the poi entry is clicked.
Sorry for the confusion, the documentation was incorrect – I’d updated the readme.txt but not the documentation page. It’s corrected now.
The mashup click setting is global, as you noticed. All mashups must have the same behavior.
<div id='hiddenmap' style='display:none'>
<a href="#" onclick="jQuery('#hiddenmap').show(); mapp0.resize();">Click to show map</a>