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

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

image - python get coordinates (pixels) of corresponding points from clicks -