模拟select选择器

<form method="post">

        <div class="selectly" id="s1">
               Select col1...
        </div>
    <select class="select" name="select" id="select" style="opacity:0; filter:alpha(opacity=0);" onchange="s1.innerHTML=this.value">
      <option value="Select col1...">Select col1...</option>
      <option value="1111">1111</option>
      <option value="22222">22222</option>
      <option value="333">333</option>
    </select>
        
        
      </form>
View Code
*html{ background-image:url(about:blank); background-attachment:fixed; 
/* 解决固定层在IE6下闪的问题 */}
.fixeder{
    100%; height:100px;
    position:fixed; clip:rect(0 100% 100% 0); _position:absolute;
    
    /* 底部 */
    left:0px; 
    /*_bottom:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);*/
    _top: expression(documentElement.scrollTop + "px"); 
    /*_left:expression(document.documentElement.scrollLeft + document.documentElement.clientWidth - offsetWidth);*/ z-index:999;
}
View Code
原文地址:https://www.cnblogs.com/fanxiaowu/p/4447004.html