⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main_bak1.htm

📁 vc-mfc编程实例 很简单的东西,以后回多传自己的东西
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<html>
<head>
<title>main</title>
<style type="text/css">
<!--
#menu_layer {
	position:absolute;
	left:485px;
	top:19px;
	width:136px;
	height:23px;
	z-index:1;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="css/main.css" type="text/css" rel="stylesheet">
<link href="css/main_only.css" type="text/css" rel="stylesheet">
<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");
	var cvcd = new Object();
	var vhd = new Object();
</script>

<script id="tempvar">
langobj.StartWinExe("VDtask.exe");
var imgpath="";
var imgdesc="";
</script>


<script language="javascript" type="text/javascript">
var getallselectname="";
var selectibpid;
var blockFold=false;
// navigation can click flag     true ---- can click        false  -----can't click
var navigationFlag = true;
var timeOutObject;


////////////////////////////////
var Main_Container = new container("0");
var LeftNavigationUIStyleArray=new Array();
for (i=0;i<10;i++)
{
	LeftNavigationUIStyleArray[i]=new UIStyle();
	LeftNavigationUIStyleArray[i].setStyle("ritpic/signlebuttonbackground.jpg",196,21,0,i*21);//(picture,width,height,startX,startY)
	LeftNavigationUIStyleArray[i].setReversalPosition(196,i*21);
	LeftNavigationUIStyleArray[i].setDisablePosition(0,i*21);
	LeftNavigationUIStyleArray[i].setDisableSelectedPosition(196,i*21);
}


/////////////////////////////////////Left navgation button for "Create Virtual CD"
var radio_CreateVirtualCD = new radioButton();
radio_CreateVirtualCD.applyStyle(LeftNavigationUIStyleArray[0]);
radio_CreateVirtualCD.attachMeToContainer("Main_Container");
radio_CreateVirtualCD.setValue("0");
radio_CreateVirtualCD.text = getSimpleFontStyle("Create Virtual CD");
radio_CreateVirtualCD.checkText = getCheckFontStyle("Create Virtual CD");
radio_CreateVirtualCD.oncheck = function() 
{
	//alert("Create Virtual CD");
	window.open("Select_A_CD_DVD.htm","IframeMainUI");
}

/////////////////////////////////////Left navgation button for "Create Virtual Drive"
var radio_CreateVirtualDrive = new radioButton();
radio_CreateVirtualDrive.applyStyle(LeftNavigationUIStyleArray[1]);
radio_CreateVirtualDrive.attachMeToContainer("Main_Container");
radio_CreateVirtualDrive.setValue("1");
radio_CreateVirtualDrive.text = getSimpleFontStyle("Create Virtual Drive");
radio_CreateVirtualDrive.checkText = getCheckFontStyle("Create Virtual Drive");
radio_CreateVirtualDrive.oncheck = function() 
{
	//alert("Create Virtual Drive");
	window.open("Create_Virtual_Drive_step_1.htm","IframeMainUI");
}

/////////////////////////////////////Left navgation button for "backup Drives"
//var radio_BackupDrives = new radioButton();
//radio_BackupDrives.applyStyle(LeftNavigationUIStyleArray[2]);
//radio_BackupDrives.attachMeToContainer("Main_Container");
//radio_BackupDrives.setValue("2");
//radio_BackupDrives.text = getSimpleFontStyle("Backup Drives");
//radio_BackupDrives.checkText = getCheckFontStyle("Backup Drives");
//radio_BackupDrives.oncheck = function() 
//{
//	alert("Backup Drives");
//	//window.open("Backup-Drivers.html","IframeMainUI");
//}


/////////////////////////////////////Left navgation button for "backup Drives"
//var radio_CreateAStartupDisk = new radioButton();
//radio_CreateAStartupDisk.applyStyle(LeftNavigationUIStyleArray[3]);
//radio_CreateAStartupDisk.attachMeToContainer("Main_Container");
//radio_CreateAStartupDisk.setValue("3");
//radio_CreateAStartupDisk.text = getSimpleFontStyle("Create a Start-up Disk");
//radio_CreateAStartupDisk.checkText = getCheckFontStyle("Create a Start-up Disk");
//radio_CreateAStartupDisk.oncheck = function() 
//{
//	alert("Create a Start-up Disk");
//}
//////////////////////////////////

/////////////////////////////////////Left navgation button for "Create Virtual Hard Drive"
var radio_CreateVirtualHardDrive = new radioButton();
radio_CreateVirtualHardDrive.applyStyle(LeftNavigationUIStyleArray[4]);
radio_CreateVirtualHardDrive.attachMeToContainer("Main_Container");
radio_CreateVirtualHardDrive.setValue("4");
radio_CreateVirtualHardDrive.text = getSimpleFontStyle("Create Virtual Hard Drive");
radio_CreateVirtualHardDrive.checkText = getCheckFontStyle("Create Virtual Hard Drive");
radio_CreateVirtualHardDrive.oncheck = function() 
{
	//alert("Create Virtual Hard Drive");
	window.open("Create_Virtual_Hard_Drive_step_1.htm","IframeMainUI");
}
//////////////////////////////////

/////////////////////////////////////Left navgation button for "Save Virtual Hard Drive Image"
var radio_SaveVirtualHardDriveImage = new radioButton();
radio_SaveVirtualHardDriveImage.applyStyle(LeftNavigationUIStyleArray[5]);
radio_SaveVirtualHardDriveImage.attachMeToContainer("Main_Container");
radio_SaveVirtualHardDriveImage.setValue("5");
radio_SaveVirtualHardDriveImage.text = getSimpleFontStyle("Save Virtual Hard Drive Image");
radio_SaveVirtualHardDriveImage.checkText = getCheckFontStyle("Save Virtual Hard Drive Image");
radio_SaveVirtualHardDriveImage.oncheck = function() 
{
	//alert("Save Virtual Hard Drive Image");
	window.open("Save_Hard_Virtual_Drive_step_1.htm","IframeMainUI");
}
//////////////////////////////////

/////////////////////////////////////Left navgation button for "Remove Virtual Hard Drive"
var radio_RemoveVirtualHardDrive = new radioButton();
radio_RemoveVirtualHardDrive.applyStyle(LeftNavigationUIStyleArray[6]);
radio_RemoveVirtualHardDrive.attachMeToContainer("Main_Container");
radio_RemoveVirtualHardDrive.setValue("6");
radio_RemoveVirtualHardDrive.text = getSimpleFontStyle("Remove Virtual Hard Drive");
radio_RemoveVirtualHardDrive.checkText = getCheckFontStyle("Remove Virtual Hard Drive");
radio_RemoveVirtualHardDrive.oncheck = function() 
{
	//alert("Remove Virtual Hard Drive");
	window.open("Delete_Virtual_Hard_Drive_step_1.htm","IframeMainUI");
}
//////////////////////////////////

/////////////////////////////////////Left navgation button for "Restore Files"
//var radio_RestoreFiles = new radioButton();
//radio_RestoreFiles.applyStyle(LeftNavigationUIStyleArray[7]);
//radio_RestoreFiles.attachMeToContainer("Main_Container");
//radio_RestoreFiles.setValue("7");
//radio_RestoreFiles.text = getSimpleFontStyle("Restore Files");
//radio_RestoreFiles.checkText = getCheckFontStyle("Restore Files");
//radio_RestoreFiles.oncheck = function() 
//{
//	//alert("ggggg");
//	window.open("customrestore.htm","IframeMainUI")
//}
//////////////////////////////////

/////////////////////////////////////Left navgation button for "Upgrade Partition"
//var radio_UpgradePartition = new radioButton();
//radio_UpgradePartition.applyStyle(LeftNavigationUIStyleArray[8]);
//radio_UpgradePartition.attachMeToContainer("Main_Container");
//radio_UpgradePartition.setValue("8");
//radio_UpgradePartition.text = getSimpleFontStyle("Upgrade Partition");
//radio_UpgradePartition.checkText = getCheckFontStyle("Upgrade Partition");
//radio_UpgradePartition.oncheck = function() 
//{
//	alert("Upgrade Partition");
//}
//////////////////////////////////

/////////////////////////////////////Left navgation button for "Live Update"
var radio_LiveUpdate  = new radioButton();
radio_LiveUpdate.applyStyle(LeftNavigationUIStyleArray[8]);
radio_LiveUpdate.attachMeToContainer("Main_Container");
radio_LiveUpdate.setValue("9");
radio_LiveUpdate.text = getSimpleFontStyle("Live Update");
radio_LiveUpdate.checkText = getCheckFontStyle("Live Update");
radio_LiveUpdate.oncheck = function() 
{
	//alert("Live Update");
	window.open("Live_Update.htm","IframeMainUI");
	
}
//////////////////////////////////
</script>
</head>
<body onKeydown="event.returnValue=disableBack();" bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<object id="globalset" style="WIDTH: 0px; HEIGHT: 0px; visibility:hidden " classid="clsid:A56CA636-227F-4839-887E-1933386804C0">
</object>
<script>
globalset.initVIVOcX(window.external.GetProductID());
</script>
<table width="800" height="600" border="0" cellpadding="0" cellspacing="0">
	<tr>
	  <td width="800" height="51" colspan="4" background="images/main_bg_01.jpg" style="padding-left:130px; padding-top:10px;" onMouseDown="moveWindow();">
			<div id="menu_mini_window" style="position:absolute; top:15px; left:733px; width:22px; height:22px;">
				<img src="images/main_mini_window.gif" onClick="javascript:MiniWindow();" style="cursor:pointer;">
			</div>
			<div id="menu_mini_window" style="position:absolute; top:15px; left:762px; width:22px; height:22px;">
				<img src="images/main_exit_window.gif" onClick="javascript:ExitWindow();" style="cursor:pointer;">
			</div>
		  <!--<div id="menu_zone" style="width:600;border :1px solid Silver;"></div>-->
<!--menu bar -->
<!--menu bar end-->        </td>
	</tr>
	<tr>
	  <td width="206" height="549" rowspan="3" background="images/main_bg_02.gif">
			<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td width="206" height="2" colspan="3">
						<img src="" width="1" height="1" alt=""></td>
				</tr>
				<tr>
					<td width="7" height="547">
						<img src="" width="1" height="1" alt=""></td>
					<td width="198" height="547">
<!--left navigation-->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="198" height="23" align="right"><img id="menuTag" src="img/main_006.jpg" width="196" height="23" border="0" usemap="#Map_2"></td>
	</tr>
	<tr id="menu">
		<td width="198" height="27" style="padding-left:2px;"><table width="197" height="27" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td background="images/left_main_menu.gif" class="MenuFont"><div id="Main_DriverClone_Main" style="cursor:pointer;" onClick="javascript:MainLocation(0);Main_Container.unCheckAll();">VirtualDrive Pro Main</div></td>
          </tr>
        </table></td>
	</tr>
<!--	
	<tr>
		<td width="198" height="26">
			<img src="images/left_click_menu.gif" width="198" height="26" alt=""></td>
	</tr>
	<tr>
		<td width="198" height="22">
			<img src="images/left_unclick_submenu.gif" width="198" height="22" alt=""></td>
	</tr>
	<tr>
		<td width="198" height="22">
			<img src="images/left_click_submenu.gif" width="198" height="20" alt=""></td>
	</tr>
	<tr>
		<td width="198" height="22">
			<img src="images/left_unclick_submenu.gif" width="198" height="22" alt=""></td>
	</tr>
-->
	<tr id="menu_1">
		<td width="198" height="100%" valign="top" style="padding-left:2px;">
<!-- start menu -->
<!-- back menu -->
<div id="barone" style="width:198px; height:26px; background-image:url(images/left_click_menu3_1.gif); cursor:hand; position:relative;" onClick="javascript:if(blockFold==true){return;}MainLocation(1);Main_Container.unCheckAll();hitbar(1);" class="MenuFont">
	<div id="Main_DriverClone_Backup" style="float:left;">VirtualDrive</div>
	<div onMouseOver="blockFold=true" onMouseOut="blockFold=false" style="background-image:url(images/left_click_add_icon2.gif); width:13px; height:13px; cursor:pointer; position:absolute; left:178px; top:8px; background-repeat:no-repeat;" onClick="javascript:scrollSub('backupMenu',42);ChangeAddIcon(this,0);"><img src="images/spacer.gif" width="13" height="13"></div>
</div>
<div id="backupMenu" scrollDirection="1" style="height:42px; overflow:hidden; padding-left:1px;">
<script language="javascript" type="text/javascript">
radio_CreateVirtualCD.displayButton();
radio_CreateVirtualDrive.displayButton();
//radio_BackupDrives.displayButton();
//radio_CreateAStartupDisk.displayButton();
</script>
</div>
<!-- restore menu -->
<div id="bartwo" style="width:198px; height:26px; background-image:url(images/left_click_menu2_1.gif); cursor:hand; position:relative;" onClick="javascript:if(blockFold==true){return;}MainLocation(2);Main_Container.unCheckAll();hitbar(2);" class="MenuFont">
	<div id="Main_DriverClone_Restore" style="float:left;">Virtual Hard Drive</div>
	<div onMouseOver="blockFold=true" onMouseOut="blockFold=false" style="background-image:url(images/left_click_add_icon.gif); width:13px; height:13px; cursor:pointer; position:absolute; left:178px; top:8px; background-repeat:no-repeat;" onClick="javascript:scrollSub('restoreMenu',63);ChangeAddIcon(this,1);"><img src="" width="1" height="1"></div>
</div>
<div id="restoreMenu" scrollDirection="1" style="height:63px; overflow:hidden; padding-left:1px;">
<script language="javascript" type="text/javascript">
radio_CreateVirtualHardDrive.displayButton();
radio_SaveVirtualHardDriveImage.displayButton();
radio_RemoveVirtualHardDrive.displayButton();
//radio_RestoreFiles.displayButton();
</script>
</div>
<!-- clone menu -->
<div id="barthree" style="width:198px; height:26px; background-image:url(images/left_click_menu_1.gif); cursor:hand; position:relative;" onClick="javascript:if(blockFold==true){return;}MainLocation(3);Main_Container.unCheckAll();hitbar(3);" class="MenuFont">
	<div id="Main_DriverClone_Clone" style="float:left;">Live Update</div>
	<div onMouseOver="blockFold=true" onMouseOut="blockFold=false" style="background-image:url(images/left_click_add_icon1.gif); width:13px; height:13px; cursor:pointer; position:absolute; left:178px; top:8px; background-repeat:no-repeat;" onClick="javascript:scrollSub('cloneMenu',44);ChangeAddIcon(this,2);"><img src="" width="1" height="1"></div>
</div>
<div id="cloneMenu" scrollDirection="1" style="height:44px; overflow:hidden; padding-left:1px;">
<script language="javascript" type="text/javascript">
radio_LiveUpdate.displayButton();
//radio_UpgradeDisk.displayButton();
</script>
</div>
<!-- start menu end -->
		</td>
	</tr>
	<tr id="menu_2" style="display:none;">
		<td width="198" height="100%" valign="top" style="padding-left:1px;"><table width="196" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><iframe frameborder="0" onload="this.height=window.IframeLeftUI.document.body.scrollHeight" scrolling="no" id="IframeLeftUI" name="IframeLeftUI" width="196" height="0" src="about:blank;"></iframe></td>
          </tr>
          <tr>
            <td><img src="img/main_050.jpg" width="196" height="21" border="0" usemap="#Map"></td>
          </tr>
        </table></td>
	</tr>

</table>

<!--left navigation end -->					
					</td>
					<td width="1" height="547">
						<img src="" width="1" height="1" alt=""></td>
				</tr>
			</table>
	  </td>
		<td width="9" height="549" rowspan="3">
			<img src="images/main_bg_03.gif" width="9" height="549" alt=""></td>
		<td width="585" height="4" colspan="2">
			<img src="images/main_bg_04.gif" width="585" height="4" alt=""></td>
	</tr>
	<tr>
		<td width="571" height="524">
			<iframe frameborder="0" scrolling="no" id="IframeMainUI" name="IframeMainUI" width="571" height="524" src="Main_Quick_Start_1.htm" style="overflow:hidden;"></iframe>	
	  </td>
		<td width="14" height="545" rowspan="2">
			<img src="images/main_bg_06.gif" width="14" height="545" alt=""></td>
	</tr>
	<tr>
		<td width="571" height="21" >
			<img src="images/main_bg_07.gif" width="571" height="21" alt=""></td>
	</tr>
</table>
<object id="VCDITEMVIEW" style="WIDTH: 0px; HEIGHT: 0px; visibility:hidden " classid="clsid:A56CA636-227F-4839-887E-1933386804C0">
</object>
<script language="javascript" type="text/javascript">
function hitbar(num)
{
	if(num==1)
	{
		$("barone").style.backgroundImage="url(images/left_click_menu3.gif)";
		$("bartwo").style.backgroundImage="url(images/left_click_menu2_1.gif)";
		$("barthree").style.backgroundImage="url(images/left_click_menu_1.gif)";
		//alert($("barone").style.backgroundImage);
	}
	else if(num==2)
	{
		$("barone").style.backgroundImage="url(images/left_click_menu3_1.gif)";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -