<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> </head> <body> <mce:script language="javascript"><!-- function DriveList(){ var folder=document.Drive.Name.options[document.Drive.Name.selectedIndex].value; document.frames['Computer'].location.href=folder; } function FolderChoose(){ var location=document.UserLocation.FolderLocation.value; document.frames['Computer'].location.href=location; } // --></mce:script> <Form NAME="Drive"> <p><font size="2">选择一个盘符</font> <select NAME="Name" οnchange="DriveList();"> <option value="C:/">C:/ Drive</option> <option value="D:/">D:/ Drive</option> <option value="E:/">E:/ Drive</option> <option value="F:/">F:/ Drive</option> </select> </Form> <form NAME="UserLocation"> <p><font size="2">直接输入路径:</font> <input type="text" name="FolderLocation" length="25" size="20" /> <input type="button" value="打开" οnclick="FolderChoose();" /></p> <p><font size="2">实例: C:/Program Files/Internet Explorer</font></p> </form> <iframe name="Computer" src="about:blank" mce_src="about:blank" width="100%" height="60%"></iframe> </body> </html> 不支持FF