我有以下的HTML代碼,我不能在所有瀏覽器完全正確的工作:光標不改變USEMAP /地區的情況下指針
<div id ="right_header">
<img id = "usemapsignin" src="/images/sign-in-panel-wo-FB.png" usemap = "#signin">
</div>
<map name = "signin" >
<area shape = "rect" coords = "30,10, 150, 50" target = "_blank" alt = "signin" id="signin"
onMouseOver="document.images['usemapsignin'].style.cursor='pointer'"
onMouseOut="document.images['usemapsignin'].style.cursor='auto'"/>
<area shape = "rect" coords = "0,113, 172, 150" target = "_blank" alt = "restowner" id = "restowner"
onclick = "alert('Hello Restaurant Owner!')" />
</map>
我想,當移到改變光標指針這是usemap的一部分。但它不適用於Chrome/Safari。
任何幫助將不勝感激。
完美!謝謝 –