Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÍøÒ³ÆÁ±Î¼üÅÌ°´¼üjavascript½Å±¾


function keyDown(){
  //ÆÁ±ÎÊó±êÓÒ¼ü¡¢Ctrl+n¡¢shift+F10¡¢F5ˢС¢Í˸ñ¼ü
   //alert("ASCII´úÂëÊÇ£º"+event.keyCode);
   if ((window.event.altKey)&&
    ((window.event.keyCode==37)||   //ÆÁ±Î Alt+ ·½Ïò¼ü ←
     (window.event.keyCode==39))){  //ÆÁ±Î Alt+ ·½Ïò¼ü →
   alert("²»×¼ÄãʹÓÃALT+·½Ïò¼üÇ°½ø»òºóÍËÍøÒ³£¡");
   event.returnValue=false;
   }
   if ((event.keyCode==8)  ||                 //ÆÁ±ÎÍ˸ñɾ³ý¼ü
    (event.keyCode==116)||                 //ÆÁ±Î F5 ˢмü
    (event.keyCode==112)||                 //ÆÁ±Î F1 ˢмü
    (event.ctrlKey && event.keyCode==82)){ //Ctrl + R
   event.keyCode=0;
   event.returnValue=false;
   }
   if ((event.ctrlKey)&&(event.keyCode==78))   //ÆÁ±Î Ctrl+n
   event.returnValue=false;
   if ((event.shiftKey)&&(event.keyCode==121)) //ÆÁ±Î shift+F10
   event.returnValue=false;
   if (window.event.srcElement.tagName == "A" && window.event.shiftKey)
    window.event.returnValue = false;  //ÆÁ±Î shift ¼ÓÊó±ê×ó¼üпªÒ»ÍøÒ³
   if ((window.event.altKey)&&(window.event.keyCode==115)){ //ÆÁ±ÎAlt+F4
    window.showModelessDialog("about:blank","","dialogWidth:1px;dialogheight:1px");
    return false;}
}
document.onkeydown=keyDown;
<body oncontextmenu="window.event.returnValue=false" onselectstart="return false">
document.onselectstart=new Function("self.event.returnValue=false");


Ïà¹ØÎĵµ£º

javascriptÊý×é¼°Æä²Ù×÷

±¾ÎĽéÉÜÈçϼ¸¸ö·½ÃæµÄÄÚÈÝ:
1.ÈçºÎ´´½¨Êý×é
2.ÈçºÎ¶ÔÊý×é½øÐвÙ×÷£¨Ìí¼Ó,ɾ³ý,¶ÁÈ¡)
3.Êý×é³£¼û·½·¨ºÍÊôÐÔ
ÈçºÎ´´½¨Ò»¸öÊý×é,Ò»°ãµØ¸ù¾Ý³õʼ»¯É趨¼òµ¥·ÖΪ3ÖÖ:
1.µ¥´¿´´½¨Êý×é:
var arr=new Array();
Òªµã:ÓÃnew¹Ø¼ü×Ö´´½¨Êý×é¶ÔÏóArray(),Array()¶ÔÏóÊÇÒ»¸ö±¾µØÀà,¿ÉÒÔÓÃnew´´½¨Ò»¸ö¶ÔÏóºóʹÓÃ
2.´´½¨Ê ......

JavaScriptÔÚIEµØÖ·À¸ÖеÄÃîÓÃ

ÍêÈ«´ò¿ªÒ³Ãæºó£¬ÔÚ¸ÃÒ³µÄÔÚIEµØÖ·À¸ »ò °´Ctrl+O ÊäÈëÒÔÏ´úÂ룬»Ø³µ£¬¾Í¿ÉÒԵõ½ÏàÓ¦µÄЧ¹û£º
1.ÏÔʾÍøÒ³ÖеÄËùÓÐͼƬ
javascript:Ai7Mg6P='';for%20(i7M1bQz=0;i7M1bQz<document.images.length;i7M1bQz++){Ai7Mg6P+='<img%20src='+document.images[i7M1bQz].src+'><br>'};if(Ai7Mg6P!=''){document.wri ......

¸øGridView¼ÓÁ½¸öjavascriptÌØЧ

ÔÚÊý¾Ý°ó¶¨Ê¼þÖÐдÈçÏ´úÂ룺
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row .RowType == DataControlRowType .DataRow)//ÅжÏÊÇ·ñΪÊý¾ÝÐÐ
{
//ÔÚµã»÷ɾ³ýʱ£¬µ¯³öÌáʾ¶Ô»°¿ò
LinkButton lb = e.Row.FindControl("LinkB ......

javascriptʵÏÖµ¯³ö´ø͸Ã÷Ч¹ûµÄ¿ÉÍ϶¯Í¼²ã

  javascriptʵÏÖµ¯³ö´ø͸Ã÷Ч¹ûµÄ¿ÉÍ϶¯Í¼²ã
      ×î¾­ÒòΪÐèÒªÒ»¸öµ¯³öͼ²ãЧ¹û£¬µ¯³öͼ²ãµ¹ÊÇÈÝÒ×ʵÏÖ£¬µ«¾ßÓÐÍ϶¯Ð§¹ûÈ´²»ÖªÔõôȥʵÏÖ£¬ÔÚÍøÉÏ×îÖÕÕÒµ½ÁËÒ»¸öÐèÒªµÄЧ¹û£¬´úÂëÒ²²»¶à£¬Ò»¿´´úÂëµÄ¾«Á¶£¬ÖªµÀÔ­×÷ÕßÓ¦¸ÃÊÇjavascript¸ßÊÖ¼¶±ðµÄÈË£¬ÏÖÔÚ¾ö¶¨½èÀ´Ò»Óã¬ÎÒ°ÑËüÂÔ¼ÓÃÀ» ......

javascript,js»ñµÃ¿Í»§¶Ë¼ÆËã»úIP»òÃû³Æ·½·¨

1¡¢rcbdyctl
view plaincopy to clipboardprint?
<html>  
<head>  
<meta http-equiv="Content-Type" content="text/html;   
charset=gb2312">  
<title>JS»ñÈ¡¿Í»§¶ËIP</title>  
</head>  
<b ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ