posted 11 years ago
In my application i used this code for getting map link,I am getting when i am click on that link ,but i am not getting that map when i am right click on that link and then click on open in new window or open in new tab
can you give suggestion for that,how can i approach
Code::
<script type="text/javascript">
function mapWindow(str){
window.open("http://www.map.google.com","_blank","menubar=yes,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,");
return false;
}
</script>
<h:outputLink id="map" styleClass="commandLink"
onclick="return mapWindow('#{displaySearch.status}');">
<h:outputText id="text2" styleClass="outputText"
value="#{msg['label.findahealthcareprovidersearchresult.map']}"></h:outputText>
</h:outputLink>