Enabling image map when hovering mouse over (HTML) -


i'm attempting enlarge image when hovering mouse on , have image map activated create different links in sections of image. far, sort of works when image map activated, image returns original size (code provided below). there way lock zoomed image when image map activated?

<body> <img onmouseover="zoomimg(this)" onmouseout="zoomoff(this)" border="0" src="map.jpg" alt="map" width="676" height="540" usemap="#map">  <script> function zoomimg(x) {     x.style.height = "1352px";     x.style.width = "1080px"; } function zoomoff(x) {     x.style.height = "676px";     x.style.width = "540px"; } </script> <map name="map">     <area shape="rect" coords="72, 141, 156, 230" href="www.google.com" target="_blank"> </body> 


Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

javascript - Replicate keyboard event with html button -