I have following image map code.
<area shape="rect" coords="213,109,320,256" href="embedded-processors" alt="Embedded Processor" class="embeded-processor" />
I can retrieve attribute coords it return “213,109,320,256”, for position div I want DIV position based on this co-ords.
Like top value is 213 and left is 109px.
How I can retrieve each value and save it in local variable.
This creates an array with all values of
coords. You can then access the top value bycoord[0]and the left value bycoord[1].