📄 vcd_library.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">
<script language="javascript" src="js/comm.js" type="text/javascript"></script>
<script language="javascript" src="js/function.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>
<style type="text/css">
<!--
.STYLE1 {
color: #FFFFFF;
font-size: 11px;
line-height: 10px;
}
.STYLE2 {
color: #FFFFFF;
font-size: 10px;
}
-->
</style>
</head>
<script language="javascript" type="text/javascript">
var VCDs = 0;
var isAdd = true;
var errVCD=0;
function VCDSelected(para){
//alert(para);
VCDs = para;
errVCD=0;
if (para){
img_1.background = 'img/main_052.jpg';
b_del.background = 'img/main_055.jpg';
if(parent.vd_selectednode_id==127)
{
b_del.background = 'img/main_055_d.jpg';
}
if(para==2)
{
img_1.background = 'img/main_052_d.jpg';
errVCD=1;
}
}else{
img_1.background = 'img/main_052_d.jpg';
b_del.background = 'img/main_055.jpg';
}
}
function overAct(btnobj,para){
if(parent.vd_selectednode_id==""&¶=='053')
return false;
if(parent.vd_selectednode_id==127&¶=='055')
return false;
if(parent.vd_selectednode_id>=100&¶=='053')
return false;
if(errVCD==1&¶=='052')
return false;
if (((para != '052' && para != '055') || VCDs>0) && ((para != '056' && para != '057' && para != '054') || isAdd)){
btnobj.background = "img/main_" + para + "_b.jpg";
}
}
function outAct(btnobj,para){
if(parent.vd_selectednode_id==""&¶=='053')
return false;
if(parent.vd_selectednode_id==127&¶=='055')
return false;
if(parent.vd_selectednode_id>=100&¶=='053')
return false;
if(errVCD==1&¶=='052')
return false;
if (((para != '052' && para != '055') || VCDs>0) && ((para != '056' && para != '057' && para != '054') || isAdd)){
btnobj.background = "img/main_" + para + ".jpg";
}
}
function downAct(btnobj,para){
if(parent.vd_selectednode_id==""&¶=='053')
return false;
if(parent.vd_selectednode_id==127&¶=='055')
return false;
if(parent.vd_selectednode_id>=100&¶=='053')
return false;
if(errVCD==1&¶=='052')
return false;
if (((para != '052' && para != '055') || VCDs>0) && ((para != '056' && para != '057' && para != '054') || isAdd)){
btnobj.background = "img/main_" + para + "_c.jpg";
}
}
function upAct(btnobj,para){
if(parent.vd_selectednode_id==""&¶=='053')
return false;
if(parent.vd_selectednode_id==127&¶=='055')
return false;
if(parent.vd_selectednode_id>=100&¶=='053')
return false;
if(errVCD==1&¶=='052')
return false;
if (((para != '052' && para != '055') || VCDs>0) && ((para != '056' && para != '057' && para != '054') || isAdd)){
btnobj.background = "img/main_" + para + "_b.jpg";
}
}
function showui(){
$("b_refresh").innerHTML = GS("VCDLibrary_btn_7");
$("img_1").innerHTML = GS("VCDLibrary_btn_1");
$("b_eject").innerHTML = GS("VCDLibrary_btn_2");
$("b_search").innerHTML = GS("VCDLibrary_btn_3");
$("b_del").innerHTML = GS("VCDLibrary_btn_4");
$("b_add").innerHTML = GS("VCDLibrary_btn_5");
$("b_integer").innerHTML = GS("VCDLibrary_btn_6");
}
</script>
<body>
<object id="memory" style="WIDTH: 0px; HEIGHT: 0px; visibility:hidden " classid="clsid:FAA9C374-4C76-4F32-A3C7-31C5AE338972"></object>
<OBJECT name="QuerySelectOcx" ID="QuerySelectOcx" CLASSID="CLSID:A0078B54-0DC6-4078-B523-9E7ED7C1B0E3" width = "0" height = "0" style="display:none;"></OBJECT>
<table width="547" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><table width="547" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="22" background="img/main_051.jpg" align="right"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="46" height="20" background="img/main_058.jpg" class="MenuSubFont" id="b_refresh" style="cursor:hand; padding-left:25px;" onClick="Do_Refresh();" onMouseDown="downAct(this,'058');" onMouseUp="upAct(this,'058');" onMouseOver="overAct(this,'058');" onMouseOut="outAct(this,'058');"></td>
<td width="40" height="20" background="img/main_052_d.jpg" class="MenuSubFont" id="img_1" style="cursor:hand; padding-left:31px;" onClick="jumpMenu(1);" onMouseDown="downAct(this,'052');" onMouseUp="upAct(this,'052');" onMouseOver="overAct(this,'052');" onMouseOut="outAct(this,'052');"></td>
<td width="40" height="20" background="img/main_053_d.jpg" class="MenuSubFont" id="b_eject" style="cursor:hand; padding-left:31px;" onClick="jumpMenu(0);" onMouseDown="downAct(this,'053');" onMouseUp="upAct(this,'053');" onMouseOver="overAct(this,'053');" onMouseOut="outAct(this,'053');"></td>
<td width="46" height="20" background="img/main_054.jpg" class="MenuSubFont" id="b_search" style="cursor:hand; padding-left:25px;" onClick="Do_search();" onMouseDown="downAct(this,'054');" onMouseUp="upAct(this,'054');" onMouseOver="overAct(this,'054');" onMouseOut="outAct(this,'054');"></td>
<td width="40" height="20" background="img/main_055_d.jpg" class="MenuSubFont" id="b_del" style="cursor:hand; padding-left:31px;" onClick="Do_delete();" onMouseDown=" downAct(this,'055');" onMouseUp="upAct(this,'055');" onMouseOver="overAct(this,'055');" onMouseOut=" outAct(this,'055');"></td>
<td width="46" height="20" background="img/main_056.jpg" class="MenuSubFont" id="b_add" style="cursor:hand; padding-left:25px;" onClick="Do_add();" onMouseDown="downAct(this,'056');" onMouseUp="upAct(this,'056');" onMouseOver="overAct(this,'056');" onMouseOut="outAct(this,'056');"></td>
<td width="46" height="20" background="img/main_057.jpg" class="MenuSubFont" id="b_integer" style="cursor:hand; padding-left:20px;" onClick="Do_internetimg();" onMouseDown="downAct(this,'057');" onMouseUp="upAct(this,'057');" onMouseOver="overAct(this,'057');" onMouseOut="outAct(this,'057');"></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top"><input type="file" name="file1" style="width:0px;height:0px;display:none;">
<object classid="clsid:A56CA636-227F-4839-887E-1933386804C0" id="obj1" name="obj1" width="100%" height="473">
</object></td>
</tr>
<script language="javascript">
obj1.initVIVOcX(window.external.GetProductID());
function jumpMenu(para)
{
if(para == 0&&parent.vd_selectednode_id!="")
{
if(parent.vd_selectednode_id<100)
obj1.EjectVCD(parent.vd_selectednode_id);
}
if(para == 1&&VCDs > 0&&errVCD!=1)
{
obj1.OnFrameMenuInsertVCD();
}
}
var nid2;
document.body.onload=function()
{
applyButton();
showui();
//Do_Refresh();
//obj1.SetAllVDAutorun(0);
}
function update1(Nid)
{
nid2=Nid;
obj1.UpdataListView(Nid);
}
function Do_Refresh(){
//obj1.RefurbishItem(0);
top.obj1.ReCreateTreeCtrl();
}
function Do_insert()
{
var dl=obj1.GetVirDriverList()+"|";
window.external.Navigate("mainui/Select_Drive.htm?dl1="+dl,265, 147);
var GetD = window.external.GetStaticData("GetD");
if(GetD!="")
{
obj1.InsertVCD(GetD);
}
window.external.SetStaticData("");
}
function Do_eject()
{
var dl=obj1.GetVirDriverList()+"|";
window.external.Navigate("mainui/Select_Drive1.htm?dl1="+dl,265, 147);
var GetD = window.external.GetStaticData();
if(GetD!="")
{
obj1.EjectVCD(GetD);
}
window.external.SetStaticData("");
}
function refreshlist()
{
obj1.UpdataListView();
}
function Do_search()
{
//window.external.Navigate("mainui/Search_L_VCD.htm", 600, 400);
if (isAdd){
window.external.Navigate("mainui/Search_L_VCD.htm?handle="+obj1.GetVIVSafeHwnd(), 600, 400);
}
//var result = window.external.GetStaticData();
// if(result!=""){
// var flist=result.split("|");
// for(var i=0;i<flist.length-1;i++){
// if (flist[i]) obj1.AddVCDFile(flist[i]);
// }
// }
}
function Do_delete(){
if (VCDs > 0&&parent.vd_selectednode_id!=127){
if (obj1.GetSelectVCDInUsed()){
RIT_popMsg('',264,180,'Error',GS("-61404"),'alert');
return false;
}
window.external.Navigate("mainui/deleteVCDconfirm.htm", 350, 150);
var result = window.external.GetStaticData();
if (result != '0'){
if (result == '1'){
var returnStatus = obj1.DeleteVCDFile(true);
}else if (result == '2'){
var returnStatus = obj1.DeleteVCDFile(false);
}
obj1.RefurbishItem(0);
setTimeout(defaultBtn,1);
}
}
if(VCDs==0){
if(obj1.GetCurrFolderInUsed()){
RIT_popMsg('',264,180,'Error',GS("-61404"),'alert');
return false;
}
// var delFalg = RIT_popMsg('',264,180,'Error',GS("deleteConfirm"),'confirm');
// if(delFalg=="yes"){
obj1.DeleteVCDFolder();
// }
}
}//function Do_delete
function Do_delFolder(para)
{
parent.obj1.DelFolder(para);
}
function defaultBtn(){
$("img_1").background = "img/main_052_d.jpg";
$("b_del").background = "img/main_055_d.jpg";
}
function changePassword(para){
window.external.Navigate("mainui/changePassword.htm?para=" + para, 350, 193);
var result = window.external.GetStaticData();
if (result){
returnData = result.split("{VD}");
var returnStatus = obj1.SetVCDPassword(returnData[0],returnData[1]);
//alert(returnStatus);
if (returnStatus){
RIT_popMsg('',264,180,'Error',GS("VCDLibrary_Alert_2"),'info');
}else{
RIT_popMsg('',264,180,'alert',GS("VCDLibrary_Alert_3"),'info');
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -