右键鼠标退出页面 dn001 2009-06-21 08:39:10 <!-- 完整的HTML代码如下: --> <HTML> <HEAD> <TITLE>网页教学网-特效代码->>磁盘浏览器</TITLE> <SCRIPT LANGUAGE="JavaScript"> function DriveList() { var folder=document.Drive.Name.options[ document.Drive.Name.selectedIndex].value; document.frames[ 'MyComputer'].location.href = folder; } function FolderChoose() { var location=document.UserLocation.FolderLocation.value; document.frames[ 'MyComputer'].location.href = location; } // End --> </script> </HEAD> <BODY BGCOLOR=#D5D5D5 vlink=#0000FF> <center> <CENTER> <FORM NAME="Drive"> <font size="2">选择一个盘符: </font> <SELECT NAME="Name" onChange="DriveList();"> <OPTION VALUE="A:">A: Drive</OPTION> <OPTION VALUE="C:">C: Drive</OPTION> <OPTION VALUE="D:">D: Drive</OPTION> <OPTION VALUE="E:">E: Drive</OPTION> </SELECT> </FORM><FORM NAME="UserLocation"> <font size="2">在此输入一个路径: </font> <INPUT TYPE="text" name="FolderLocation" length="25" size="20"><font size="2"> </font> <INPUT TYPE="button" value="打开" onClick="FolderChoose();"><font size="2"> 如: C:Program Files</font></FORM> <IFRAME NAME="MyComputer" SRC="about:blank" WIDTH="49%" HEIGHT="63%"></IFRAME> </CENTER> <P> <a name="source"></a> </center> </body> </html>