<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 495,comments - 227,trackbacks - 0
    <Html>
    <Head>
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    //定義 select 原值
    var oldValue,oldText;
    //select下拉框的onkeydown事件,修改下拉框的值
    function catch_keydown(sel)
    {
    switch(event.keyCode)
    {
      case 13: //回車(chē)鍵
      event.returnValue = false;
      break;
      case 27: //Esc鍵
      sel.options[sel.selectedIndex].text = oldText;
      sel.options[sel.selectedIndex].value = oldValue;
      event.returnValue = false;
      break;
      case 8: //空格健
      var s = sel.options[sel.selectedIndex].text;
      s = s.substr(0,s.length-1);
      if (sel.options[sel.selectedIndex].value==sel.options[sel.selectedIndex].text)
      {
       sel.options[sel.selectedIndex].value=s;
       sel.options[sel.selectedIndex].text=s;
      }
      event.returnValue = false;
      break;
    }
    if (!event.returnValue && sel.onchange)
      sel.onchange(sel)
    }

    //select下拉框的onkeypress事件,修改下拉框的值
    function catch_press(sel){
    if(sel.selectedIndex>=0){
    var s = sel.options[sel.selectedIndex].text + String.fromCharCode(event.keyCode);
    if (sel.options[sel.selectedIndex].value==sel.options[sel.selectedIndex].text)
    {
      sel.options[sel.selectedIndex].value=s;
      sel.options[sel.selectedIndex].text=s;
    }
    event.returnValue = false;
    if (!event.returnValue && sel.onchange)
      sel.onchange(sel)
    }
    }

    //select下拉框的onfocus事件,保存下拉框原來(lái)的值
    function catch_focus(sel) {
    oldText = sel.options[sel.selectedIndex].value;
    oldValue = sel.options[sel.selectedIndex].value;
    }

    //恢復(fù)select下拉列表當(dāng)前選中的值
    function LoadSelect(obj,value)
    {
    for (var i=0; i< obj.options.length; i++)
      if (obj.options[i].value == value)
      {
      obj.selectedIndex = i;
      break;
      }
    }

    //select 選擇框鼠標(biāo)上移時(shí)提示選擇的內(nèi)容
    function selMouseOver(obj)
    {
    with (document.all.div_hint)
    {
      innerText = obj.options[obj.selectedIndex].text;
      if (innerText.length > 0)
      {
      innerText = " " + innerText + " ";
      style.display = "block";
      style.left = event.clientX + 16;
      style.top = event.clientY;
      }
    }
    }

    //select 選擇框鼠標(biāo)移開(kāi)時(shí)消失
    function selMouseOut(obj)
    {
    with (document.all.div_hint)
    {
      style.display = "none"
    }
    }
    //-->
    </SCRIPT>
    </Head>
    <Body>
    <!--調(diào)用-->
    <select style='width:130px;z-index:-1' name='tmpSel' onmouseover=selMouseOver(this) onmouseout=selMouseOut(this) onkeydown=catch_keydown(this) onkeypress=catch_press(this) onfocus=catch_focus(this)>
    <option value=''></option>
    </select>

    <!--提示塊-->
    <div id=div_hint style="font-size:12px;color:red;display:none;position:absolute; z-index:2; top:200;background-color: #F7F7F7; layer-background-color: #0099FF; border: 1px #9c9c9c solid;filter:Alpha(style=0,opacity=80,finishOpacity=100);"></div>
    </Body>
    </Html>
    posted on 2006-09-07 11:13 SIMONE 閱讀(592) 評(píng)論(0)  編輯  收藏

    只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 久久久久亚洲精品美女| 三上悠亚电影全集免费| 精品日韩亚洲AV无码| 亚洲国产精品专区在线观看 | 亚洲人成网站看在线播放| 国产亚洲精品成人AA片新蒲金 | 亚洲AV无码专区国产乱码4SE| 免费看少妇作爱视频| 羞羞的视频在线免费观看| 亚洲色图激情文学| 激情内射亚洲一区二区三区| 亚洲精品无码久久久久| 国产高清免费视频| 免费萌白酱国产一区二区三区 | 国产精品黄页在线播放免费| 国产精品青草视频免费播放| 综合一区自拍亚洲综合图区| 亚洲αv在线精品糸列| 亚洲人成影院在线观看| 国产乱子伦精品免费无码专区| 国产v精品成人免费视频400条| 亚洲视频在线观看免费| 亚洲区视频在线观看| 亚洲乱码国产一区网址| 5555在线播放免费播放| 美女视频黄a视频全免费网站色窝 美女被cao网站免费看在线看 | 国产成人A亚洲精V品无码| 亚洲日本va午夜中文字幕久久 | 青青免费在线视频| 亚洲AV噜噜一区二区三区| 亚洲色偷偷综合亚洲AV伊人蜜桃| 亚洲乱人伦精品图片| 亚洲一区二区三区久久| 久久精品国产亚洲av麻豆蜜芽 | 1000部免费啪啪十八未年禁止观看| 久久国产乱子精品免费女| 国产好大好硬好爽免费不卡| 久久亚洲精品无码网站| 久久久久亚洲精品无码网址色欲| 亚洲av中文无码乱人伦在线观看| 亚洲精品福利在线观看|