Ȥζjavascript... - Web ¿ª·¢ / JavaScript
ÎÒÒ²À´Ò»¸öȤζjavascript:
´ò¿ªÒÔÏÂhtmlÎļþ,ÒÀ´Î°´ÏÂG,L,CÈý¸ö¼ü,¾Í»áÓÐÆæ¼£³öÏÖ!!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Ȥζjavascript</title>
</head>
<script>
var Gkey=false,Lkey=false,Ckey=false;
function example(){
if (window.event.keyCode == 71)
Gkey = true;
else if (window.event.keyCode == 76 && Gkey == true)
Lkey = true;
else if (window.event.keyCode == 67 && Gkey == true && Lkey == true)
Ckey = true;
else
{
Gkey = false;
Lkey = false;
Ckey = false;
}
if (Gkey && Lkey && Ckey) {
msg.innerHTML = '<marquee>Gu Laicheng ÏòÄúÎʺÃ!</marquee>';
Gkey = false;
Lkey = false;
Ckey = false;
} else
{
msg.innerText = '';
}
}
document.onkeydown=example;
</script>
<body>
ÒÀ´Î°´ÏÂG L C¼ü,»áÓоªÏ²³öÏÖ!<br/>
<span id=msg style="color:#FF0000"></span><br/>
<input type=button onclick="location.reload();" value="ÖØÀ´">
</body>
</html>
lzÎÒÕâÀïÔõô²»ÄÜÔËÐа¡£¬ff3.5
ºÃÁË£¬Ö§³ÖffÁË
HTML code
Ïà¹ØÎÊ´ð£º
<form id="form1" runat="server">
<div>
<script type="text/javascript">
function oo(a){
document.getEleme ......
ÈçºÎʵÏÖµ±Êó±êÐüÍ£¿Ø¼þÉÏʱ£¬³öÏָÿؼþµÄβ²¿ÏÔʾ¶ÔÓ¦µÄ²ã£¬Êó±êÒƶ¯µ½¸Ã²ãÉϽøÐÐÏàÓ¦µÄ²Ù×÷£¬µ±Êó±êÒƳýʱ£¨²»ÔڿؼþÉÏÒ²²»ÔÚ²ãÉÏ£©²ãÒþ²Ø£¬
http://topic.csdn.net/u/20090830/23/5e5ded07-7216-46c2-9712- ......
ÈçºÎʵÏÖµ±Êó±êÐüÍ£¿Ø¼þÉÏʱ£¬³öÏָÿؼþµÄβ²¿ÏÔʾ¶ÔÓ¦µÄ²ã£¬Êó±êÒƶ¯µ½¸Ã²ãÉϽøÐÐÏàÓ¦µÄ²Ù×÷£¬µ±Êó±êÒƳýʱ£¨²»ÔڿؼþÉÏÒ²²»ÔÚ²ãÉÏ£©²ãÒþ²Ø£¬
HTML code:
<html>
<head>
<meta http-equiv= ......
ºǫ́£º
protected void form_ini2(string id)
{
//´¦Àí´úÂë
}
ǰ̨£º
<script language="javascript">
function DbClickEvent(a ......
ÓÃjavascript½«Êý¾Ýµ¼³öµ½Îı¾Îļþ(txt)ÖÐ..
Ê×ÏȼÙÉèÒѾÓÐÁËÐèҪдÈëµÄÎı¾ÄÚÈÝ var txtContent ="ÐèҪдÈëµÄÄÚÈÝ";
ÏÖÔÚÐèÒªÓÃjavascript½«ÄÚÈÝдÈëtxtÎļþ(Õâ¸ötxtÎļþ²»´æÔÚ,ÐèÒª´´½¨)ÖÐ,È»ºóдºÃÖ ......