📄 load_virtual_hard_drive_image.htm
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Create Audio CD</title>
<link href="css/main.css" rel="stylesheet" type="text/css">
</head>
<script language="javascript" src="js/comm.js" type="text/javascript"></script>
<script language="javascript">
// import js document
_import("function");
//_import("main_only");
_import("language");
_import("langSet");
_import("webmenuevent");
_import("control");
</script>
<script language="javascript" type="text/javascript">
//ݿʼ
var FileSystem = Request("FileSystem");
var DriveNumber = Request("DriveNumber");
var DiskSize = Request("DiskSize");
//ݽ
var chars = new Array("A:","B:","C:","D:","E:","F:","G:","H:","I:","J:","K:","L:","M:","N:","O:","P:","Q:","R:","S:","T:","U:","V:","W:","X:","Y:","Z:") //̷
var VirtualInfo = new ActiveXObject("VHDCom.VHDInterface.1");
function Init(){
applyButton();
var arrType = new Array("NTFS","FAT16","FAT32");
objPath.CreateTFDlg(0,"img|IMG");
setTimeout(setInfo,100);
showui();
}
function showui(){
$("loadvhd_Title").innerHTML = GS("loadvhd_Title");
$("loadvhd_step1_title").innerHTML = GS("loadvhd_step1_title");
$("loadvhd_step1_Label_1").innerHTML = GS("loadvhd_step1_Label_1");
$("loadvhd_step1_Label_2").innerHTML = GS("loadvhd_step1_Label_2");
$("loadvhd_step1_Label_3").innerHTML = GS("loadvhd_step1_Label_3");
$("loadvhd_step1_Label_4").innerHTML = GS("loadvhd_step1_Label_4");
$("previous").setValue(GS("Button_Previous"));
$("finish").setValue(GS("Button_Finish"));
$("cancel").setValue(GS("Button_Cancel"));
}
</script>
<body onKeydown="event.returnValue=disableBack();" onLoad="Init();">
<table width="540" height="495" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><table width="509" height="412" border="0" cellpadding="0" cellspacing="0" style="margin-top:41px;">
<tr>
<td valign="top"><table width="509" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="509" colspan="2" class="PageTitle" id="loadvhd_Title"></td>
</tr>
<tr>
<td colspan="2" style="padding-top:7px;"><img src="img/CreateAudioCD_02.jpg" width="507" height="1"></td>
</tr>
<tr>
<td colspan="2" class="PageStep" id="loadvhd_step1_title" style="padding-top:10px;"></td>
</tr>
<tr>
<td height="40" colspan="2" align="center" style="padding-top:10px;"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="6" height="6"><img src="img/CreateAudioCD_11.jpg" width="6" height="6" /></td>
<td height="6" background="img/CreateAudioCD_12.jpg"></td>
<td width="6" height="6"><img src="img/CreateAudioCD_13.jpg" width="6" height="6" /></td>
</tr>
<tr>
<td width="6" background="img/CreateAudioCD_14.jpg"></td>
<td><object width="497" border="0" height="254" id="objPath" name="objPath" classid="clsid:4CA5E8A7-A2B4-4F68-BA0A-7A223368EF3E">
</object></td>
<td width="6" background="img/CreateAudioCD_15.jpg"></td>
</tr>
<tr>
<td width="6" height="6"><img src="img/CreateAudioCD_16.jpg" width="6" height="6" /></td>
<td height="6" background="img/CreateAudioCD_17.jpg"></td>
<td width="6" height="6"><img src="img/CreateAudioCD_18.jpg" width="6" height="6" /></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" colspan="2" class="PageText"><span id="loadvhd_step1_Label_1"></span> <span id="fileSystem" style="float:none;"></span> <span id="loadvhd_step1_Label_2"></span> <span id="driveLetter" style="float:none;"></span> <span id="loadvhd_step1_Label_3"></span> <span id="Size" style="float:none;"></span> </td>
</tr>
<tr>
<td width="70" height="25" valign="top" class="PageText"><span id="loadvhd_step1_Label_4"></span></td>
<td width="539" valign="top" class="PageText" height="30"><div id="Description" style="width:400px; height:30px; overflow:auto; word-break:break-all; border:double #818181 1px;"></div></td>
</tr>
<tr>
<td height="35" colspan="2" align="right" valign="bottom"><span id="testView"></span>
<button cstyle="rit" onClick="history.back();" id="previous">Previous</button> <button cstyle="rit" onClick="Finish()" id="finish">Finish</button> <button cstyle="rit" onClick="location='main_vhd.htm';" id="cancel">Cancel</button></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
<script language="javascript" type="text/javascript">
function Finish(){
if (objPath.GetCurPath().substr(objPath.GetCurPath().length-4,4).toLowerCase() != ".img"){
RIT_popMsg('',264,180,'Alert',GS("loadvhd_step1_Alert"),'alert');
}else{
top.vhd.imgPath = objPath.GetCurPath();
location = 'Create_Virtual_Hard_Drive_step_5_1.htm';
}
}
function setInfo(){
if (getType(VirtualInfo.GetImageType(objPath.GetCurPath()))){
fileSystem.innerHTML = getType(VirtualInfo.GetImageType(objPath.GetCurPath()));
}else{
fileSystem.innerHTML = "";
}
if (VirtualInfo.GetImageDrive(objPath.GetCurPath())){
driveLetter.innerHTML = chars[VirtualInfo.GetImageDrive(objPath.GetCurPath())];
}else{
driveLetter.innerHTML = "";
}
Size.innerHTML = VirtualInfo.GetImageDiskSize(objPath.GetCurPath());
Description.innerHTML = VirtualInfo.GetImageDes(objPath.GetCurPath());
setTimeout(setInfo,100);
}
function getType(val){
if (val == 12){
return "FAT12";
}else if (val == 16){
return "FAT";
}else if (val == 32){
return "FAT32";
}else if (val == 255){
return "NTFS";
}
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -