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

📄 mytest.htm

📁 [ShowHtmlSource.rar] - 获得WebBrowser控件中的HTML源码 [MyBand.rar] - ie band包括浏览框、桌面框、工具条
💻 HTM
字号:
<HTML>
<HEAD>
<BASE></BASE>
<TITLE></TITLE>
<SCRIPT ID = "clientEventHandlersVBS" LANGUAGE="VBScript">
<!--

	dim strIndex

	Sub End_OnClick()
		strIndex = "001"
		strXML = "<element idevent='" & strIndex & "'/>"
		location.href = "Event:" & strXML
	End Sub

	Sub Validate_OnClick()
		strIndex = "002"
		strXML = "<element idevent='" & strIndex & "'/>"
		location.href = "Event:" & strXML
	End Sub

	Sub myelement_OnClick()
		strIndex = "003"
		strXML = "<element idevent='" & strIndex & "'>" & myelement.innerText & "</element>"
		location.href = "Event:" & strXML
	End Sub

	Sub myPIC_OnClick()
		strIndex = "004"
		strXML = "<element idevent='" & strIndex & "'>" & right(myPIC.src, 12) & "</element>"
		location.href = "Event:" & strXML
	End Sub

	Sub username_onchange()
		strIndex = "005"
		strXML = "<element idevent='" & strIndex & "'>" & username.value & "</element>"
		location.href = "Event:" & strXML
	End Sub

	Sub password_onchange()
		strIndex = "006"
		strXML = "<element idevent='" & strIndex & "'>" & password.value & "</element>"
		location.href = "Event:" & strXML
	End Sub

	Sub myelement_onmouseover()
		myelement.style.background = "silver"
		font1.style.color = "GREEN"
		strIndex = "007"
		strXML = "<element idevent='" & strIndex & "'>" & myelement.innerText & "</element>"
		location.href = "Event:" & strXML
	End Sub

	Sub myelement_onmouseenter()
		font1.style.color = "GREEN"
	End Sub

	Sub myelement_onmouseout()
		myelement.style.background = "white"
		font1.style.color = "SILVER"
	End Sub

-->           
</SCRIPT>
</HEAD>
<BODY>
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" align="left">
        <tr>
          <td width="17%" align="center">
          <p align="left">User name</td>
          <td width="83%" align="center">

      <INPUT id = "username" size="29" style="float: left"/></td>
        </tr>
        <tr>
          <td width="17%" align="center">
          <p align="left">Password</td>
          <td width="83%" align="center">

      <INPUT type= "password" id= "password" size="29" style="float: left"/></td>
        </tr>
      </table>
      <p>
      &nbsp;
      <p>
      &nbsp;<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="28%">
        <tr>
          <td width="48%">
      <p align="center">
      <INPUT type=button name=Validate value="Validate" style="float: left"></td>
          <td width="52%">
          <p align="center">
      <INPUT type=button name=End value="End App" style="float: right"></td>
        </tr>
      </table>
      <hr>
      <div><h1 id = "myelement" ><font id = "font1" color="SILVER">DHTML events</font></h1>
        </div>
      <p>
      <img id = "myPIC" border="0" src="J0240695.WMF" width="192" height="154" ></p>
      <p><marquee>Sample project - DHTML and MFC</marquee></p>
</BODY></HTML>

⌨️ 快捷键说明

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