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

HTML DOM tabIndex 屬性

定義和用法

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

語法

areaObject.tabIndex=tabIndex

實例

下面的例子可展示圖像映射中區(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>
冷水江市| 比如县| 沅陵县| 万安县| 台中县| 通辽市| 潮州市| 赤壁市| 泸溪县| 社旗县| 抚顺县| 静海县| 军事| 长海县| 浦东新区| 界首市| 深州市| 浮山县| 白水县| 桂平市| 东乌珠穆沁旗| 阿瓦提县| 县级市| 阳东县| 新疆| 康保县| 西林县| 达拉特旗| 澄城县| 卢湾区| 波密县| 木兰县| 永兴县| 绍兴市| 永昌县| 枣庄市| 曲阜市| 揭西县| 新化县| 夹江县| 邮箱|