最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

HTML DOM tabIndex 屬性

定義和用法

tabIndex 屬性可設(shè)置或返回某個(gè)區(qū)域的 tab 鍵控制次序。

語(yǔ)法

areaObject.tabIndex=tabIndex

實(shí)例

下面的例子可展示圖像映射中區(qū)域的 tab 鍵控制次序:

<html>
<head>
<script type="text/javascript">
function showTabIndex()
{
var sun=document.getElementById('sun').tabIndex;
var mercury=document.getElementById('mercury').tabIndex;
var venus=document.getElementById('venus').tabIndex;

document.write("Tab index of Sun: " + sun);
document.write("<br />");
document.write("Tab index of Mercury: " + mercury);
document.write("<br />");
document.write("Tab index of Venus: " + venus);
}
</script>
</head>
<body>

<img src ="planets.gif"
width="145" height="126"
alt="Planets"
usemap ="#planetmap" />

<map name="planetmap">
<area shape ="rect" coords ="0,0,82,126"
href ="sun.htm" id="sun" tabIndex="1" />
<area shape ="circle" coords ="90,58,3"
href ="mercur.htm" id="mercury" tabIndex="2" />
<area shape ="circle" coords ="124,58,8"
href ="venus.htm" id="venus" tabIndex="3" />
</map>

<input type="button" onclick="showTabIndex()"
value="Show tabIndex" />

</body>
</html>
南宁市| 昭苏县| 祁阳县| 甘谷县| 任丘市| 常熟市| 乌拉特中旗| 锡林郭勒盟| 邓州市| 法库县| 永宁县| 雅江县| 临桂县| 昌平区| 保山市| 明光市| 自治县| 乐陵市| 临夏市| 琼结县| 连云港市| 阿拉尔市| 罗江县| 海淀区| 扶沟县| 德保县| 海口市| 小金县| 元朗区| 阿拉善盟| 新蔡县| 莱西市| 金沙县| 遵化市| 容城县| 交口县| 米林县| 宜章县| 三门峡市| 蚌埠市| 日喀则市|