首  页  |  酷站  |  精品网站  |  原创作品秀  |  网络学院   |  信息中心  |  艺术设计  |  求职招聘  |  建站资源  |  服装网站  |  论坛  |  设计部落  |  网站综合
个人网页  商业网站  业界动态  设计赛事  网站资源  下载专区  设计欣赏  CG-插画  JS特效  娱乐  国际品牌  知名品牌  服装院校  专题欣赏  SEO  BANNER
域名注册 虚拟主机 广州网站建设 广州网页设计 IDC赞助 设计资源下载 虚拟主机 域名注册 品牌网站建设 服装品牌网站建设 广告服务 网站推广 娱乐
当前位置:首 页 >> JS特效 >> 鼠标事件类 >> 响应键盘指令代码


中资源
转载请注明出处-中国设计秀-cnwebshow.com

<pre>
按A就会跳转到娃娃亲的网页,请按A
<SCRIPT language="JavaScript">
<!--
var hotkey=97
var destination="http://www.wawaqin.com"
if (document.layers)
document.captureEvents(Event.KEYPRESS)
function backhome(e){
if (document.layers){
if (e.which==hotkey)
window.location=destination
}
else if (document.all){
if (event.keyCode==hotkey)
window.location=destination
}
}
document.onkeypress=backhome

 

onkeydown="javascript:onenter();"

function onenter(){
 if(event.keyCode==13){
alert("回车");
}
}
</SCRIPT></TEXTAREA><br/><INPUT onclick="runEx('temp49784')" type="button" value="运 行"/> <INPUT onclick="doCopy(temp49784)" type="button" value="复 制"/> <INPUT onclick="doSave(temp49784)" type="button" value="保 存"/><span class="fontgray12"> [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]</span>
<hr>菜鸟学堂:<a href="http://www.alixixi.com/Dev/Special/Basic/">帮助你快速入门web开发!</a> <a href="http://www.alixixi.com/Dev/Special/function/">最全面的通用函数集!</a><br/>&nbsp;&nbsp;<a href="http://www.alixixi.com/dev/search.asp?wd=响应">响应</a> &nbsp;&nbsp;<a href="http://www.alixixi.com/dev/search.asp?wd=键盘指令">键盘指令</a> &nbsp;&nbsp;
</div>
</div>

<div class="topic4 bdb2 mart5">
<span class="floatl">&lt;&lt;上一篇:<a href=/Dev/HTML/jsrun/text/2007/2007040832667.html>文字超长自动变成省略号显示效果</a></span>
<span class="floatr"><a href=/Dev/HTML/jsrun/text/2007/2007040832669.html>文本链接渐隐渐显效果</a> :下一篇&gt;&gt;</span>
</div>
<!-- Search Google -->
<form method="get" action="http://www.alixixi.com/google.asp" target="_top">
<table bgcolor="#ffffff" width="450">
<tr><td nowrap="nowrap" valign="top" align="left" height="32" width="75">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>
<label for="sbi" style="display: none">输入您的搜索字词</label></td><td width="300">
<input type="text" name="q" style="width:98%;" maxlength="255" value="" id="sbi"></input>
<label for="sbb" style="display: none">提交搜索表单</label></td><td>
<input type="submit" name="sa" value="搜索" id="sbb"></input>
<input type="hidden" name="client" value="pub-6261914751398528"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="GB2312"></input>
<input type="hidden" name="oe" value="GB2312"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#FFFFFF;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0066CC;LC:0066CC;T:000000;GFNT:3D81EE;GIMP:3D81EE;FORID:11"></input>
<input type="hidden" name="hl" value="zh-CN"></input>
</td></tr></table>
</form>
<!-- Search Google -->
<!-- Search Baidu -->
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
  framespacing="0" frameborder="0" scrolling="no" width="468" height="50"
  src="http://unstat.baidu.com/bdun.bsc?tn=alixixi_pg&cv=0&cid=1063929&csid=101&rkcs=4&bgcr=FFFFFF&ftcr=0000CC&rk=1&bd=0&tbsz=&tbst=&bdas=0">
</iframe>
<!-- Search Baidu -->
<!-- Search WB -->
<form method="get" id="wb" name="wb" action="http://www.alixixi.com/wb/s.asp" target="_top">
<table bgcolor="#ffffff" width="550">
<tr><td nowrap="nowrap" valign="top" align="left" height="32" width="75">
<a href="http://www.alixixi.com/wb/">
<img src="/images/Logo_wb.gif" border="0" alt="阿里西西技术问吧" align="middle"></img></a>
<label for="sbi" style="display: none">输入您的搜索字词</label></td><td width="300">
<input type="text" name="word" style="width:98%;" maxlength="255" value="" id="word"></input>
<label for="sbb" style="display: none">提交搜索表单</label></td><td>
<input type="button" name="sea" value="搜索" onclick="wb.submit();"></input>
<input type="button" name="post" value="提问" onclick="wb.action='/wb/post.asp';wb.submit();"></input>
<input name="cid" type="hidden" value="">
<input type="hidden" name="tn" value="q"></input>
<input type="hidden" name="lm" value="2"></input>
</td></tr></table>
</form>
<!-- Search WB -->
<H2 class="fbold">浏览统计</H2>
<div class="list1 fgray" id="count_list">
<ul>
<script language=JavaScript src="/dev/o.asp?ArticleID=32668"></script>
</ul>
</div>
<div class="pd5 marb"><script type="text/javascript"><!--
google_ad_client = "pub-6261914751398528";
google_alternate_color = "FFFFFF";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al_s";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>

<H2 class="fbold">网友评论</H2>
<div class="list1 fgray" id="devComment_list">
<ul>

</ul>
</div>
</div>
<form name="myform" method="post" action="/dev/comment.asp?Articleid=32668">
<input type="Hidden" name="ArticleID" value='32668'>
<input type="Hidden" name="action" value='save'> <br />
您的昵称: <input class="input_2" type="text" name="UserName" value="" maxlength="15" size="28"> <br />
<input type="hidden" name="Grade" value="100">
你的评论: <textarea class="input_2" name="content" cols="70" rows="5" title="请注意用语文明且合法,不要发布带有攻击性的言论,谢谢合作!">

</pre>

 

转载请注明出处-中国设计秀-cnwebshow.com



投稿 】【对本文进行评论】 【字体: 】【发布于2007-05-30 15:16】

相关专题:暂无相关专题

上一篇:鼠标移上去,图片渐显的方法   下一篇:鼠标title提示信息效果
 认证LOGO下载
     
Copyright © 2005-2007 中国设计秀_网页设计教程_优秀网页设计欣赏_平面设计欣赏 All Right Reserved.
做最专业的设计服务网站,秀出自我,秀出精彩!中国设计秀,秀---无处不在!!
QQ:54292427  8208442 MSN:kingvisual#hotmail.com 交流群:9107036 3848215 8850631
粤ICP备05067046号 RSS