<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: //回車鍵
      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事件,保存下拉框原來的值
    function catch_focus(sel) {
    oldText = sel.options[sel.selectedIndex].value;
    oldValue = sel.options[sel.selectedIndex].value;
    }

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

    //select 選擇框鼠標上移時提示選擇的內容
    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 選擇框鼠標移開時消失
    function selMouseOut(obj)
    {
    with (document.all.div_hint)
    {
      style.display = "none"
    }
    }
    //-->
    </SCRIPT>
    </Head>
    <Body>
    <!--調用-->
    <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 閱讀(589) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 国产A∨免费精品视频| 亚洲国产欧美一区二区三区| 九九免费精品视频在这里| 免费鲁丝片一级在线观看| 亚洲国产美女精品久久| 免费看美女裸露无档网站| 亚洲图片一区二区| 91在线手机精品免费观看| 久久久久亚洲AV无码观看| 亚洲免费中文字幕| 成人区精品一区二区不卡亚洲| 黄色片在线免费观看| 亚洲日韩精品无码专区加勒比| 毛片免费全部免费观看| 亚洲AV色欲色欲WWW| 亚洲精品偷拍视频免费观看| 免费观看一区二区三区| 亚洲视频小说图片| 在线观看免费a∨网站| 美女露隐私全部免费直播| 亚洲?v无码国产在丝袜线观看| 国产精品无码永久免费888 | 最近最好的中文字幕2019免费| 亚洲最大的成人网| 免费一级毛片在线播放| 中文在线观看永久免费| 亚洲五月六月丁香激情| 啦啦啦高清视频在线观看免费 | 免费在线看黄网站| 亚洲xxxx18| 亚洲AⅤ无码一区二区三区在线| 中文字幕不卡免费高清视频| 亚洲视频在线免费看| 国产麻豆免费观看91| 一个人看的www视频免费在线观看| 亚洲AV无码精品色午夜在线观看| 很黄很色很刺激的视频免费| 日日狠狠久久偷偷色综合免费 | 69精品免费视频| 国产精品亚洲lv粉色| 亚洲国产精品特色大片观看完整版|