I need a command that opens a dialog every time I click on a link ...
<map name="Mapeamento">
<div id="dialog" title="Imagem1">
<p>Informação 1</p>
<p>Informação 2</p>
</div>
<script>
$( "#dialog" ).dialog({autoOpen: false});
</script> <area shape="poly" coords="1020,240,1000,225,1020,210,1040,215" href="ABRIR A DIALOG APARTIR DAQUI">
I tried things like: href="Image1" , for example, but nothing worked.
I have to use the href command because I'm using the image mapping function. I've searched in many places, but none said how to transform a certain area by area shape into a link that opens a dialog box ... Thank you in advance!