[問題] Image map 的 CSS style
想請問 Image map 內要怎麼判斷有onclick的範圍再給pointer的滑鼠游標?
document.write('<td height="29" colspan="2" align="center" valign="middle">');
document.write('<img src="xxx.gif" width="186" height="162" usemap="#Control"
style="cursor:pointer;"/>');
document.write('<map name="Control">');
document.write('<area shape="POLYGON" coords="xxxxx" id="Up" alt="move"
onclick="Function(3,3);" />');
因為某些判斷的關係,所以必須要使用到document.write的方式
而如果我把有area的地方也加上 href="#" 會變成點下去時候會出現邊框
CSS要怎麼做才能讓有onclick的範圍再出現pointer的滑鼠游標? 其他沒有作用範圍則是
default
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.42.52.187
→
08/24 14:48, , 1F
08/24 14:48, 1F
→
08/24 14:50, , 2F
08/24 14:50, 2F
→
08/24 15:10, , 3F
08/24 15:10, 3F
→
08/24 15:11, , 4F
08/24 15:11, 4F
→
08/24 15:11, , 5F
08/24 15:11, 5F
→
08/24 15:20, , 6F
08/24 15:20, 6F