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

📄 main_bak.htm

📁 vc-mfc编程实例 很简单的东西,以后回多传自己的东西
💻 HTM
📖 第 1 页 / 共 2 页
字号:
        </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>
<script language="javascript" type="text/javascript">
var isMove = true;//vindow move flag
document.body.onload=function()
{
	Marktest.InitWebMenu();
	//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>
</body>
</html>


<script language="javascript" type="text/javascript">
function changeMenu(para){
	if (para == 0){
		menuTag.src = "img/main_048.jpg";
		menuTag.useMap = "#Map_1";
		menu_1.style.display = "none";
		menu_2.style.display = "block";
	}else{
		menuTag.src = "img/main_006.jpg";
		menuTag.useMap = "#Map_2";
		menu_1.style.display = "block";
		menu_2.style.display = "none";
	}
}
</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///////////////////

function ocxMenuEvent(id)
{
	switch (id)
	{
		case 32700:window.external.OnClose();break;
		case 32701:Click_Menu_Tool_Backup();break;
		case 32702:Click_Menu_Tool_Restore();break;
		case 32703:Click_Menu_Tool_Upgrade();break;
		case 32704:Click_Menu_Tool_Unmount();break;
		case 32705:Click_Menu_Help_Homepage();break;
		case 32706:Click_Menu_Help_Help();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 + -