📄 main_bak1.htm
字号:
$("bartwo").style.backgroundImage="url(images/left_click_menu2.gif)";
$("barthree").style.backgroundImage="url(images/left_click_menu_1.gif)";
}
else if(num==3)
{
$("barone").style.backgroundImage="url(images/left_click_menu3_1.gif)";
$("bartwo").style.backgroundImage="url(images/left_click_menu2_1.gif)";
$("barthree").style.backgroundImage="url(images/left_click_menu.gif)";
}
}
var isMove = true;//vindow move flag
document.body.onload=function()
{
Marktest.InitWebMenu();
var version=langobj.GetVersionSign(window.external.GetProductID());
//alert(version);
if(version!=0)
{
//Marktest.WhetherShow(34, 0);
Marktest.UpdateItemState(32,0,0);
}
else
{
//Marktest.WhetherShow(34, 1);
Marktest.UpdateItemState(32,0,1);
}
var showpage=globalset.GetShowPageSetting();
//alert(showpage);
if(showpage==0)
{
changeMenu(1);
}
else if(showpage==1)
{
changeMenu(0);
}
//Marktest.WhetherShow(32707,0);
/*// Set the language for every "Div"
document.getElementById("Main_DriverClone_Main").innerHTML = GS("Main_DriverClone_Main");
document.getElementById("Main_DriverClone_Backup").innerHTML = GS("Main_DriverClone_Backup");
document.getElementById("Main_DriverClone_Restore").innerHTML = GS("Main_DriverClone_Restore");
document.getElementById("Main_DriverClone_Clone").innerHTML = GS("Main_DriverClone_Clone");
document.getElementById("Main_Menu_Operations").innerHTML = GS("Main_Menu_Operations");
document.getElementById("Main_Menu_Operations_BackupDrivers").innerHTML = GS("Main_Menu_Operations_BackupDrivers");
document.getElementById("Main_Menu_Operations_BackupFile").innerHTML = GS("Main_Menu_Operations_BackupFile");
document.getElementById("Main_Menu_Operations_StartupDisk").innerHTML = GS("Main_Menu_Operations_StartupDisk");
document.getElementById("Main_Menu_Operations_RestoreDrivers").innerHTML = GS("Main_Menu_Operations_RestoreDrivers");
document.getElementById("Main_Menu_Operations_RestoreFile").innerHTML = GS("Main_Menu_Operations_RestoreFile");
document.getElementById("Main_Menu_Operations_ClonePartition").innerHTML = GS("Main_Menu_Operations_ClonePartition");
document.getElementById("Main_Menu_Operations_CloneDisk").innerHTML = GS("Main_Menu_Operations_CloneDisk");
document.getElementById("Main_Menu_Operations_UpgradeDisk").innerHTML = GS("Main_Menu_Operations_UpgradeDisk");
document.getElementById("Main_Menu_Operations_Exit").innerHTML = GS("Main_Menu_Operations_Exit");
document.getElementById("Main_Menu_Tools").innerHTML = GS("Main_Menu_Tools");
// document.getElementById("Main_Menu_Tools_StartupDisk").innerHTML = GS("Main_Menu_Tools_StartupDisk");
document.getElementById("Main_Menu_Tools_CheckImage").innerHTML = GS("Main_Menu_Tools_CheckImage");
document.getElementById("Main_Menu_Tools_MountImage").innerHTML = GS("Main_Menu_Tools_MountImage");
document.getElementById("Main_Menu_Tools_UnmountImage").innerHTML = GS("Main_Menu_Tools_UnmountImage");
document.getElementById("Main_Menu_Help").innerHTML = GS("Main_Menu_Help");
document.getElementById("Main_Menu_Help_Help").innerHTML = GS("Main_Menu_Help_Help");
document.getElementById("Main_Menu_Help_AboutDC").innerHTML = GS("Main_Menu_Help_AboutDC");
document.getElementById("Main_Menu_Help_AboutUs").innerHTML = GS("Main_Menu_Help_AboutUs"); */
}
</script>
<div id="menu_layer" >
<OBJECT id="Marktest" style="WIDTH: 136px; HEIGHT: 20px" classid="clsid:3383C77E-98BC-4259-BADC-E7C4C196A1D5"
VIEWASTEXT>
<PARAM NAME="_Version" VALUE="65536">
<PARAM NAME="_ExtentX" VALUE="11853">
<PARAM NAME="_ExtentY" VALUE="8467">
<PARAM NAME="_StockProps" VALUE="0">
</OBJECT>
</div>
<map name="Map_1">
<area shape="rect" coords="1,1,100,22" href="#" onClick="changeMenu(1);return false;" onFocus="this.blur();">
</map>
<map name="Map_2">
<area shape="rect" coords="101,1,200,22" href="#" onClick="changeMenu(0);return false;" onFocus="this.blur();">
</map>
<map name="Map">
<area shape="rect" coords="76,2,125,19" href="#" onClick="window.IframeLeftUI.obj1.CreateNewCabinet();">
<area shape="rect" coords="133,2,192,19" href="#" onClick="window.IframeLeftUI.obj1.DeleteSelCabinet();"></map></body>
</html>
<script language="javascript" type="text/javascript">
function LButtonDblClk(itemdata)
{
window.IframeLeftUI.obj1.SelectThisItem(itemdata);
}
function jumpmain()
{
window.IframeLeftUI.location="ListVCD.htm";
}
function changeMenu(para){
if (para == 0){
menuTag.src = "img/main_048.jpg";
menuTag.useMap = "#Map_1";
menu.style.display = "none";
menu_1.style.display = "none";
menu_2.style.display = "block";
setTimeout("jumpmain()",100);
window.IframeMainUI.location="VCD_Library.htm";
Marktest.UpdateItemState(14,0,0);
Marktest.UpdateItemState(15,0,0);
Marktest.UpdateItemState(20,0,0);
Marktest.UpdateItemState(23,0,0);
Marktest.UpdateItemState(24,0,0);
}else{
menuTag.src = "img/main_006.jpg";
menuTag.useMap = "#Map_2";
menu.style.display = "block";
menu_1.style.display = "block";
menu_2.style.display = "none";
window.IframeMainUI.location="Main_Quick_Start_1.htm";
Marktest.UpdateItemState(14,0,1);
Marktest.UpdateItemState(15,0,1);
Marktest.UpdateItemState(20,0,1);
Marktest.UpdateItemState(23,0,1);
Marktest.UpdateItemState(24,0,1);
}
}
</script>
<script language="javascript" type="text/javascript">
//////////////////////////////////////// Globle var for top menu
var sdObj = document.createElement("div")
var menuUpObj = null;
var submenuIsOpen = false;
var currentOpenedTopMenuButton = null;
var fffa;
var globeTopMenuListArray;
fffa=getCloseTopMenuFunction(null);
//////////////////////////////////////// Globle var for top menu end
//add menu list into array
var topMenuListArr=new Array();
//topMenuListArr.push(document.getElementById("fileTopMenu"));
//topMenuListArr.push(document.getElementById("toolsTopMenu"));
//topMenuListArr.push(document.getElementById("helpTopMenuA"));
globeTopMenuListArray = topMenuListArr;
//add menu list into array finish
for (i=0;i<topMenuListArr.length;i++) {
//set every menu mouseover effect
topMenuListArr[i].onmouseover=function() {
isMove=false;
this.style.backgroundColor="#316AC5";
this.style.color="#ffffff";
if(submenuIsOpen) {
try {
currentOpenedTopMenuButton.style.backgroundColor="";
currentOpenedTopMenuButton.style.color="#000000";
currentOpenedTopMenuButton=null;
menuUpObj.style.visibility="hidden";
sdObj.style.visibility="hidden";
}
catch(e){}
iniTopMenu(this);
}
}
//set every menu mouseout effect
topMenuListArr[i].onmouseout=function() {
if (!submenuIsOpen) {
isMove=true;
this.style.backgroundColor="";
this.style.color="#000000";
}
}
}
////////////////////////////////////////////////////////////////
///////////////////////////Hot key///////////////////////////////////
var hotKeyList=new Array();
var ctrlHotKeyList=new Array();
declareAltHotKey("O",showFileMenu);
declareAltHotKey("T",showToolsMenu);
declareAltHotKey("H",showHelpMenu);
//declareCtrlHotKey("K",toBackupMainPage);
//declareCtrlHotKey("T",toRestoreMainPage);
var bodyClickAction=document.body.onclick;
document.body.onclick=getFunction(bodyClickAction);
function getFunction(clickf) {
return function() {
try { clickf(); }
catch(e){}
try {
menuUpObj.style.visibility="hidden";
sdObj.style.visibility="hidden";
}
catch(e){}
submenuIsOpen=false;
}
}
/////////////////Menu event///////////////////
//var VCDITEMVIEW = new ActiveXObject("VCDITEMVIEW.VcdItemViewCtrl.1")
function ocxMenuEvent(id)
{
switch (id)
{
case 16:window.external.OnClose();break;
case 14:
GetFilepath("vdr","Path");
var result = window.external.GetStaticData();
if(result!="")
{
window.IframeLeftUI.obj1.ImportVCDList(result);
}
break;
case 15:
GetFilepath("vdr","Save");
var result = window.external.GetStaticData();
if(result!="")
{
//window.IframeLeftUI.obj1.ImportVCDList(result);
window.IframeLeftUI.obj1.ExportVCDList(result);
}
break;
case 23:
VCDITEMVIEW.SwitchIdeCDRom(0);
break;
case 24:
VCDITEMVIEW.SwitchIdeCDRom(1);
break;
case 20:
window.external.Navigate("mainui/Conversion.htm", 500,400 );
//Click_Menu_Help_Homepage();
break;
case 32:
//Click_Menu_Help_Help();
window.external.Navigate("mainui/sn.htm", 430,300 );
break;
case 33:
//Click_Menu_Help_Help();
window.external.Navigate("mainui/about.htm", 500,400 );
break;
case 32707:Click_Menu_Help_EnterSerialNumber();break;
case 32708:Click_Menu_Help_About();break;
}
}
function Click_Menu_Tool_Backup()
{
Main_Container.unCheckAll();
window.open("Backup.html","IframeMainUI");
}
function Click_Menu_Tool_Restore()
{
Main_Container.unCheckAll();
window.open("restore.html","IframeMainUI");
}
function Click_Menu_Tool_Upgrade()
{
Main_Container.unCheckAll();
window.open("clone.html","IframeMainUI");
}
function Click_Menu_Tool_Unmount()
{
window.external.Navigate("mainui/unmountibp.htm",530,439);
}
function Click_Menu_Help_Homepage()
{
window.open("http://www.farstone.com");
}
function Click_Menu_Help_Help()
{
}
function Click_Menu_Help_EnterSerialNumber()
{
window.external.Navigate("mainui/SetSN.htm",370, 232);
}
function Click_Menu_Help_About()
{
}
</script>
<script language="javascript">
//functions for sub page use
/////////////////// mask
function maskFunction()
{
obj=document.getElementById("maskDiv");
obj.style.width="800px";
obj.style.display="";
}
/////////////////
function demaskFunction()
{
obj=document.getElementById("maskDiv");
obj.style.width="800px";
obj.style.display="none";
}
/////////////////////
////////////////
function maskLeftMenu()
{
window.external.PendClose(true);
Main_Container.Disable();
}
////////////////////
function demaskLeftMenu()
{
window.external.PendClose(false);
Main_Container.Enable();
}
</script>
<script id="clientEventHandlersVBS" language="vbscript">
<!--
sub Marktest_OnCommandNotify(ByVal uID, ByVal strGroupName, ByVal nParaAvailFlag)
if (nParaAvailFlag = 0) then
'MsgBox( "CommandEvent" & vbcrlf & "uID:" & uID)'
ocxMenuEvent uID
else
MsgBox( "ChangeGroupEvent" & vbcrlf & "TargetGroupName:" & strGroupName)
end if
end sub
-->
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -