📄 create_virtual_cd_step_3.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 driveNumber = top.cvcd.driveNumber;
var savePath = top.cvcd.savePath;
//萁
var container1=new container("0");
var container2=new container("1");
var radioStyle = new UIStyle();
radioStyle.setStyle("controlimg/radiobutton.jpg",12,12,12,0);//(picture,width,height,startX,startY)
radioStyle.setReversalPosition(0,0);
radioStyle.setDisablePosition(24,0);
radioStyle.setDisableSelectedPosition(36,0);
var rb_1 = new radioButton();
var rb_2 = new radioButton();
var rb_3 = new radioButton();
var rb_4 = new radioButton();
var rb_5 = new radioButton();
rb_1.applyStyle(radioStyle);
rb_1.setValue("0");
rb_1.attachMeToContainer("container1");
rb_1.setDefault();
rb_1.oncheck = function() {
objListItem.Disable();
speedConfig.style.visibility = 'hidden';
}
rb_2.applyStyle(radioStyle);
rb_2.setValue("1");
rb_2.attachMeToContainer("container1");
rb_2.oncheck = function() {
objListItem.Enable();
if (top.cvcd.diskType == 7 && objListItem.value == 5){
speedConfig.style.visibility = 'visible';
}
}
rb_3.applyStyle(radioStyle);
rb_3.setValue("0");
rb_3.attachMeToContainer("container2");
rb_4.applyStyle(radioStyle);
rb_4.setValue("1");
rb_4.attachMeToContainer("container2");
rb_4.setDefault();
rb_5.applyStyle(radioStyle);
rb_5.setValue("2");
rb_5.attachMeToContainer("container2");
var speedValue = new Array(0x01,0x02,0x04,0x08,0x10,0x20,0xFF);
function Init(){
applyButton();
chkBox_1=new checkBox("chkbox",true);
chkBox_1.onCheck=function (){
container2.Enable();
//rb_4.Enable();
//rb_5.Enable();
//rb_3.check();
}
chkBox_1.onUncheck=function (){
container2.Disable();
//rb_4.Disable();
//rb_5.Disable();
}
chkBox_1.apply();
if (top.cvcd.diskType == 2 || top.cvcd.diskType == 3){
container1.Disable();
}
var dValue = "";
var objDownList = new downListCreator();
var arrDownList = new Array();
if (top.cvcd.diskType == 7){
arrDownList[0] = "SecuROM DVD|3";
arrDownList[1] = "Safedisk DVD|4";
arrDownList[2] = "Starforce DVD|5";
dValue = "Default";
}else if (top.cvcd.diskType == 5 || top.cvcd.diskType == 8){
arrDownList[0] = "Safedisk/LaserLock/SecuROM|0";
arrDownList[1] = "SecuROM*New/CD-Cops|1";
dValue = "Safedisk|LaserLock|SecuROM";
}else if (top.cvcd.diskType == 4){
arrDownList[0] = "Safedisk/LaserLock/SecuROM|0";
arrDownList[1] = "SecuROM*New/CD-Cops|1";
arrDownList[2] = "StarForce3|2";
arrDownList[3] = "Tages|6";
dValue = "Safedisk|LaserLock|SecuROM";
}
objListItem = objDownList.getCtrl(arrDownList,'obj_value','selType',dValue,30);
objListItem.onChange = function(){
if (top.cvcd.diskType == 7 && this.value == 5){
speedConfig.style.visibility = 'visible';
}else{
speedConfig.style.visibility = 'hidden';
}
}
objListItem.Disable();
var speedList = new downListCreator();
var arrSpeed = new Array();
arrSpeed[0] = "1X|0";
arrSpeed[1] = "2X|1";
arrSpeed[2] = "4X|2";
arrSpeed[3] = "8X|3";
arrSpeed[4] = "16X|4";
arrSpeed[5] = "32X|5";
arrSpeed[6] = "Max|6";
speedListItem = speedList.getCtrl(arrSpeed,'obj_val','selSpeed',"Max",15);
previous.style.visibility = 'visible';
next.style.visibility = 'visible';
cancel.style.visibility = 'visible';
advanced.style.visibility = 'visible';
showui();
var addInfo = memory.CreateShareMemory("discInfo",10240);
if (addInfo) return false;
discData = top.cvcd.Label + "{VD}" + top.cvcd.Description + "{VD}" + top.cvcd.Author + "{VD}" + top.cvcd.Password + "{VD}" + top.cvcd.Confirm + "{VD}" + top.cvcd.driveProgram + "{VD}" + top.cvcd.Eject + "{VD}" + top.cvcd.Comment;
//discData = "1111111111111";
memory.SetShareMemData(10240,discData);
//alert(memory.GetShareMemData(10240));
}
function chkboxAction(chkboxObj){
if (eval(chkboxObj + ".checked")){
eval(chkboxObj + ".setChecked(false);");
}else{
eval(chkboxObj + ".setChecked(true);");
}
}
function showui(){
$("CVCD_Title").innerHTML = GS("CVCD_Title");
$("CVCD_Step3_Title").innerHTML = GS("CVCD_Step3_Title");
$("CVCD_Step3_Prompt_1").innerHTML = GS("CVCD_Step3_Prompt_1");
$("CVCD_Step3_Prompt_2").innerHTML = GS("CVCD_Step3_Prompt_2");
$("CVCD_Step3_Label_1").innerHTML = GS("CVCD_Step3_Label_1");
$("CVCD_Step3_Label_2").innerHTML = GS("CVCD_Step3_Label_2");
$("speedLabel").innerHTML = GS("CVCD_Step3_speedLabel");
$("CVCD_Step3_Label_3").innerHTML = GS("CVCD_Step3_Label_3");
$("CVCD_Step3_Label_4").innerHTML = GS("CVCD_Step3_Label_4");
$("CVCD_Step3_Config_1").innerHTML = GS("CVCD_Step3_Config_1");
$("CVCD_Step3_Config_2").innerHTML = GS("CVCD_Step3_Config_2");
$("CVCD_Step3_Config_3").innerHTML = GS("CVCD_Step3_Config_3");
$("previous").setValue(GS("Button_Previous"));
$("next").setValue(GS("Button_Next"));
$("cancel").setValue(GS("Button_Cancel"));
$("advanced").innerHTML = GS("CVCD_Step3_Label_5");
}
</script>
<body onKeydown="event.returnValue=disableBack();" onLoad="Init();" onUnload="eraseMem();">
<object id="memory" style="WIDTH: 0px; HEIGHT: 0px; visibility:hidden " classid="clsid:FAA9C374-4C76-4F32-A3C7-31C5AE338972"></object>
<table width="540" height="495" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><table width="509" border="0" cellpadding="0" cellspacing="0" style="margin-top:38px;">
<tr>
<td valign="top"><table width="509" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2"><span class="PageTitle" id="CVCD_Title">Create Virtual CD</span></td>
</tr>
<tr>
<td colspan="2" style="padding-top:7px;"><img src="img/CreateAudioCD_02.jpg" width="507" height="1"></td>
</tr>
<tr>
<td height="350" colspan="2" valign="top"><table width="509" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" class="PageStep" id="CVCD_Step3_Title" style="padding-top:10px;"></td>
</tr>
<tr>
<td colspan="2" class="PageText" id="CVCD_Step3_Prompt_1" style="padding-top:20px;"></td>
</tr>
<tr>
<td width="150" colspan="2" style="padding-top:10px;"><table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150"><span style="float:left;"><script>rb_1.displayButton();</script></span><span class="PageText" onClick="rb_1.check();" style="cursor:default;" id="CVCD_Step3_Label_1"></span></td>
<td> </td>
</tr>
<tr>
<td><span style="float:left;"><script>rb_2.displayButton();</script></span><span class="PageText" onClick="rb_2.check();" style="cursor:default;" id="CVCD_Step3_Label_2"></span></td>
<td><div id="selType"></div></td>
</tr>
<tr id="speedConfig" style="visibility:hidden;">
<td class="PageText" id="speedLabel"></td>
<td><div id="selSpeed"></div></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" class="PageText" id="CVCD_Step3_Prompt_2" style="padding-top:10px;"></td>
</tr>
<tr>
<td colspan="2" 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 width="480"><table width="470" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" class="PageText" id="CVCD_Step3_Label_3"></td>
</tr>
<tr>
<td height="20" colspan="3"><span id="chkbox" style="float:left;"></span><span class="PageText" onClick="chkboxAction('chkBox_1');" style="cursor:'default';" id="CVCD_Step3_Label_4"></span></td>
</tr>
<tr>
<td width="160" valign="bottom"><span style="float:left;"><script>rb_3.displayButton();</script></span><span class="PageText" onClick="rb_3.check();" style="cursor:default;" id="CVCD_Step3_Config_1"></span> </td>
<td width="160" valign="bottom"><span style="float:left;"><script>rb_4.displayButton();</script></span><span class="PageText" onClick="rb_4.check();" style="cursor:default;" id="CVCD_Step3_Config_2"></span></td>
<td width="160" valign="bottom"><span style="float:left;"><script>rb_5.displayButton();</script></span><span class="PageText" onClick="rb_5.check();" style="cursor:default;" id="CVCD_Step3_Config_3"></span></td>
</tr>
</table></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="20" colspan="2" valign="bottom"></td>
</tr>
</table></td>
</tr>
<tr>
<td align="right" class="PageSubTitle" id="advanced">Advanced </td>
<td align="right" valign="bottom"><button cstyle="rit" onClick="history.back();" id="previous" style="visibility:hidden;">Previous</button>聽聽聽<button cstyle="rit" onClick="nextPage();" id="next" style="visibility:hidden;">Next</button>聽聽聽<button cstyle="rit" onClick="location='Select_A_CD_DVD.htm';" id="cancel" style="visibility:hidden;">Cancel</button></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
<script language="javascript" type="text/javascript">
function eraseMem(){
memory.CloseShareMemory();
}
function setAdvanced(){
window.external.Navigate("mainui/setAdvanced.htm?lab=" + top.cvcd.Label + "&desc=" + top.cvcd.Description + "&author=" + top.cvcd.Author + "&pwd=" + top.cvcd.Password + "&cfm=" + top.cvcd.Confirm + "&prg=" + top.cvcd.driveProgram + "&cmt=" + top.cvcd.Comment,600, 400);
var Infomation = window.external.GetStaticData();
//alert(Infomation);
if (Infomation){
arrInfo = Infomation.split("{VD}");
}
window.external.SetStaticData("");
}
function nextPage(){
if (top.cvcd.objectX.GetVolumeInfo(driveNumber).split(",")[0] != top.cvcd.Serial){
RIT_popMsg('',264,180,'Alert',GS("CVHD_diskError") + top.cvcd.Serial,'alert');
return false;
}
var discInfo = memory.GetShareMemData(10240).split("{VD}");
top.cvcd.Label = discInfo[0];
top.cvcd.Description = discInfo[1];
top.cvcd.Author = discInfo[2];
top.cvcd.Password = discInfo[3];
top.cvcd.Confirm = discInfo[4];
top.cvcd.driveProgram = discInfo[5];
if (discInfo[6] == "true"){
top.cvcd.Eject = true;
}else{
top.cvcd.Eject = false;
}
top.cvcd.Comment = discInfo[7];
if (container1.value == 0){
buildType = 0;
Protect = 0;
}else if (container1.value == 1){
buildType = 1;
Protect = objListItem.value;
}
if (chkBox_1.checked){
Compress = container2.value;
}else{
Compress = 0;
}
top.cvcd.buildType = buildType;
if (top.cvcd.diskType == 7 && objListItem.value == 5){
top.cvcd.buildspeed = speedValue[parseInt(speedListItem.value)];
}else{
top.cvcd.buildspeed = 0xFF;
}
if (Protect == "") Protect = 0;
top.cvcd.Protect = Protect;
top.cvcd.Compress = Compress;
if (top.cvcd.diskType == 5 || top.cvcd.diskType == 8){
location = 'Create_Audio_CD.htm';
}else{
location = 'Create_Virtual_CD_step_6.htm';
}
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -