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

³£¼ûJavascript´úÂë

1¡¢ºóÍË Ç°½ø  
<input type="button" value="ºóÍË" onClick="history.go(-1)">  
<input type="button" value="Ç°½ø" onClick="history.go( 1 );return true;">  
2¡¢·µ»Ø  
<form><input type="button" value="·µ»ØÉÏÒ»²½" onClick="history.back(-1)"></form>  
3¡¢²é¿´Ô´Âë  
<input type="button" name="view" value="²é¿´Ô´Âë" onClick="window.location="view-source:" +window.location.href">  
4¡¢½ûÖ¹²é¿´Ô´Âë  
<body oncontextmenu="return false"></body>  
5¡¢Ë¢Ð°´Å¥Ò»  
<input type="button" value="ˢа´Å¥Ò»" onClick="ReloadButton()">  
<script>function ReloadButton(){location.href="i001.htm";}</script>  
ˢа´Å¥¶þ  
<input type="button" value="ˢа´Å¥¶þ" onClick="history.go(0)">  
6¡¢»ØÊ×Ò³°´Å¥  
<input type="button" value="Ê×Ò³" onClick="HomeButton()">  
<script>function HomeButton(){location.href=http://www.winliuxq.com;}</script>  
7¡¢µ¯³ö¾¯¸æ¿ò  
<input type="button" value="µ¯³ö¾¯¸æ¿ò" onClick="AlertButton()">  
<script>function AlertButton(){window.alert("Òª¶à¶à¹âÁÙѽ£¡");}</script>  
8¡¢×´Ì¬À¸ÐÅÏ¢  
<input type="button" value="״̬À¸ÐÅÏ¢" onClick="StatusButton()">  
<script>function StatusButton(){window.status="Òª¶à¶à¹âÁÙѽ£¡";}</script>  
9¡¢±³¾°É«±ä»»  
<form><input type="button" value="±³¾°É«±ä»»" onClick="BgButton()"></form>  
<script>function BgButton(){  
if (document.bgColor=='#00ffff')  
    {document.bgColor='#ffffff';}  
else{document.bgColor='#00ffff';}  
}  
</script>  
10¡¢´ò¿ªÐ´°¿Ú  
<input type="button" value="´ò


Ïà¹ØÎĵµ£º

jLayout — JavaScript Layout Algorithms


The jLayout JavaScript library provides layout algorithms for laying out components. A component is an abstraction; it can be implemented in many ways, for example as items in a HTML5 Canvas drawing or as HTML elements. The jLayout library allows you to focus on drawing the individual components i ......

JavaScriptÖÐÄäÃûº¯Êý£¬º¯ÊýÖ±½ÓÁ¿ºÍ±Õ°ü(ת)

Ô­Îijö´¦: http://www.dnew.cn/post/196.htm
ÏÈ¿´ÏÂÏÂÃ漸ÖÖд·¨
1.function f(x){return x*x;};f(x);
2.(function(x){return x*x;})(x);
3.(function(x){return x*x;}(x));
µÚÒ»ÖÖÎÒÃÇÓ¦¸Ã¶¼ºÜÊìϤÁË£¬ÕâÊÇÎÒÃǾ­³£Ê¹ÓõÄд·¨¡£µÚ¶þµÚÈýÖÖ¶¼ÊÇÄäÃûº¯ÊýµÄд·¨¡£
------------------------------------------------ ......

107ÌõJavascriptµÄ³£ÓÃÓï¾ä


1. document.write( " "); Êä³öÓï¾ä
2.JSÖеÄ×¢ÊÍΪ//
3.´«Í³µÄHTMLÎĵµË³ÐòÊÇ:document- >html- >(head,body)
4.Ò»¸öä¯ÀÀÆ÷´°¿ÚÖеÄDOM˳ÐòÊÇ:window- >(navigator,screen,history,location,document)
5.µÃµ½±íµ¥ÖÐÔªËصÄÃû³ÆºÍÖµ:document.getElementById( "±íµ¥ÖÐÔªËصÄID號 ").name(»òvalue)
6.Ò ......

javascriptдÔÚº¯ÊýÀïÃæ

javascriptдÔÚº¯ÊýÀïÃæ
function loadscript(url) {
document.write('<scr' + 'ipt  type="text/javascript" src"' + url + '"><\/scr' + 'ipt>'>)
}
Ôڳɹ¦µÄÕýÔò±í´ïʽ²éÕÒÍê³É֮ǰ£¬ÆäÊôÐÔֵΪ undefined¡£
²»Òª½«È«¾Ö RegExp ¶ÔÏóÓë ÕýÔò±í´ïʽ
¶ÔÏó»ìÏý¡£¾¡¹ÜÌýÆðÀ´Ï ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ