<div class="codetitle"> <span><a style="CURSOR: pointer" data="39406" class="copybut" id="copybut39406" onclick="doCopy('code39406')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code39406"> <br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <br><html xmlns="http://www.w3.org/1999/xhtml"> <br><head> <br><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <br><title>statistics test</title> <br><link type="text/css" rel="stylesheet" href="../css/statistics.css"/> <br><script src="../js/jquery.js"></script> <br><style type="text/css"> <br>.dropdiv{ <br>width: 177px; <br>height: 16px; <br>overflow: hidden; <br>float: left; <br>font-size: 13px; <br>font-family: "微软雅黑"; <br>position: relative; <br>padding: 5px; <br>} <br>.drpdown{ <br>width: 214px; <br>height: 24px; <br>font-size: 13px; <br>font-family:"微软雅黑"; <br>position: relative; <br>border:none; <br>padding-top:4px; <br>background:url(../images/dropdown.png) repeat-x; <br>} <br>.drpdown:active{ <br>width: 214px; <br>height: 24px; <br>font-size: 13px; <br>font-family:"微软雅黑"; <br>position: relative; <br>border:none; <br>padding-top:4px; <br>background:url(../images/dropdown.png) repeat-x; <br>} <br>.droparrow{ <br>width:27px; <br>height:27px; <br>background:url(../images/droparrow.png) no-repeat; <br>float:right; <br>} <br>.droparrow:hover{ <br>width:25px; <br>height:25px; <br>background:url(../images/droparrow.png) no-repeat; <br>float:right; <br>border:#F00 1px solid; <br>} <br>.dropmiandiv{ <br>margin-left:40px; <br>width:214px; <br>border: 2px solid #aaaaaa; <br>background:url(../images/dropdown.png) repeat-x; <br>height: 26px; <br>} <br>.chooseItems{ <br>border:#666 2px solid; <br>} <br>.chooseItems .chooseItem{ <br>font-size: 13px; <br>font-family: "微软雅黑"; <br>padding: 5px; <br>} <br>.chooseItems .chooseItem:hover{ <br>background:#09F; <br>} <br></style> <br></head> <br><br><body> <br><br><div class="dropmiandiv" quest ="select1"> <br><div id ="select1" displayMember="-1" valueMember ="请选择" class="dropdiv">请选择</div> <br><div class="droparrow"></div> <br></div> <br><div class="chooseItems" answer ="select1" style="display:none; position:absolute;"> <br><div class="chooseItem" displayMember="0" valueMember ="独立注册译员">独立注册译员</div> <br><div class="chooseItem" displayMember="1" valueMember ="供应商译员">供应商译员</div> <br><div class="chooseItem" displayMember="2" valueMember ="供应商">供应商</div> <br><div class="chooseItem" displayMember="3" valueMember ="代理商">代理商</div> <br></div> <br><br><div class="dropmiandiv" quest ="select2" style="position:absolute;top:200px;"> <br><div id ="select2" displayMember="-1" valueMember ="请选择" class="dropdiv">请选择</div> <br><div class="droparrow"></div> <br></div> <br><div class="chooseItems" answer ="select2" style="display:none; position:absolute;"> <br><div class="chooseItem" displayMember="0" valueMember ="独立注册译员">独立注册译员</div> <br><div class="chooseItem" displayMember="1" valueMember ="供应商译员">供应商译员</div> <br><div class="chooseItem" displayMember="2" valueMember ="供应商">供应商</div> <br><div class="chooseItem" displayMember="3" valueMember ="代理商">代理商</div> <br></div> <br><br> </div>