📄 navigateandfind.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0080)http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/NavigateAndFind.htm -->
<HTML><HEAD><TITLE>NavigateAndFind Sample</TITLE>
<META content="text/html; CHARSET=iso-8859-1" http-equiv=Content-Type>
<META content=InetSDK name=AUTHOR>
<META content=EN-US name=MS.LOCALE>
<META content=noindex name=ROBOTS><!-- SAMPLE_STYLE_START -->
<style>
</s>
<!-- SAMPLE_STYLE_END -->
<SCRIPT>
function fnNAF(sInsertFile){
var sURL=location.protocol + "//" + location.host + sInsertFile;
window.external.NavigateAndFind(sURL,oSearchText.options[oSearchText.selectedIndex].text,"");
alert(location.protocol);
alert(location.host);
alert(sInsertFile);
}
function Init(){
oSearchText.selectedIndex=-1;
}
</SCRIPT>
<!--TOOLBAR_START--><!--TOOLBAR_EXEMPT--><!--TOOLBAR_END-->
<META content="MSHTML 5.00.2920.0" name=GENERATOR></HEAD>
<BODY aLink=#000000 bgColor=#ffffff bgProperties=fixed leftMargin=0 link=#000000
onload=Init() topMargin=0 vLink=#808080>
<BLOCKQUOTE class=body>
<H1>NavigateAndFind</H1>
<P>Select a word from the list. A second page will load and the chosen word or
phrase will be highlighted.</P><LABEL for=oSearchText>Search for:</LABEL>
<SELECT id=oSearchText
onchange="fnNAF('/workshop/samples/author/dhtml/refs/NavigateAndFound.htm')">
<OPTION selected>persnickety<OPTION>Seattle rain<OPTION>comedic
sycophants<OPTION>rich liquid sunshine</OPTION></SELECT> <!-- START_PAGE_FOOTER --><BR><BR><BR>?<A class=clsIncCpyRt
href="http://www.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm"
target=_top>2002 Microsoft Corporation. All rights reserved. Terms of use</A>.
<!-- END_PAGE_FOOTER --></BLOCKQUOTE></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -