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

JavascriptÖÐ×î³£ÓõÄ55¸ö¾­µä¼¼ÇÉ

 1. oncontextmenu="window.event.returnValue=false" ½«³¹µ×ÆÁ±ÎÊó±êÓÒ¼ü
<table border oncontextmenu=return(false)> <td>no </table> ¿ÉÓÃÓÚTable

2. <body onselectstart="return false"> È¡ÏûÑ¡È¡¡¢·ÀÖ¹¸´ÖÆ

3. onpaste="return false" ²»×¼Õ³Ìù

4. oncopy="return false;" oncut="return false;" ·ÀÖ¹¸´ÖÆ

5. <link rel="Shortcut Icon" href="favicon.ico"> IEµØÖ·À¸Ç°»»³É×Ô¼ºµÄͼ±ê

6. <link rel="Bookmark" href="favicon.ico"> ¿ÉÒÔÔÚÊղؼÐÖÐÏÔʾ³öÄãµÄͼ±ê


7. <input style="ime-mode:disabled"> ¹Ø±ÕÊäÈë·¨


8. ÓÀÔ¶¶¼»á´ø×Å¿ò¼Ü
<script language="JavaScript"> <!--
if (window == top)top.location.href = "frames.htm"; //frames.htmΪ¿ò¼ÜÍøÒ³
// --> </script>


9. ·ÀÖ¹±»ÈËframe
<SCRIPT LANGUAGE=JAVASCRIPT> <!--
if (top.location != self.location)top.location=self.location;
// --> </SCRIPT>


10. ÍøÒ³½«²»Äܱ»Áí´æΪ
<noscript> <*** src="/*.html>"; </***> </noscript>


11. <input type=button value="/²é¿´ÍøÒ³Ô´´úÂë
onclick="window.location = "view-source:"+ "http://www.pconline.com.cn"">
12.ɾ³ýʱȷÈÏ
<a href=""javascript :if(confirm("ȷʵҪɾ³ýÂð?"))location="boos.asp?&areyou=ɾ³ý&page=1"">ɾ³ý </a>


13. È¡µÃ¿Ø¼þµÄ¾ø¶ÔλÖÃ
//Javascript
<script language="Javascript">
function getIE(e){
var t=e.offsetTop;
var l=e.offsetLeft;
while(e=e.offsetParent){
t+=e.offsetTop;
l+=e.offsetLeft;
}
alert("top="+t+"/nleft="+l);
}
</script>
//VBScript
<script language="VBScript"> <!--
function getIE()
dim t,l,a,b
set a=document.all.img1
t=do


Ïà¹ØÎĵµ£º

javascript¿ò¼ÜÖ®¼Ì³Ð»úÖÆ3

¼ÌÐøÉÏÒ»²¿·Ö£¬ÏÖÔÚÎÒÃǵÄʵµÄ¹¹ÔìÆ÷initializeºÜÍêÃÀÁË£¬ÉõÖÁÁ¬ÀàʽsuperÕâÑùÓï·¨ÌǶ¼²»ÓÃÁË£¬¾Í×Ô¶¯ÊµÀýÁ˸¸Àà¡£ÎÒÃÇת¶ø¿´Ò»¿´ÆäÊôÐÔÓë·½·¨µÄ¼Ì³Ð¡£Ðí¶àÀà¿â¶¼ÊÇÒ»¸öfor...inÑ­»·ÔÙ¼ÓһЩÅж¨ÊµÏÖÔ­ÐÍÊôÐÔ¿½±´£¬»ò¸ù¾ÝÕâЩÅж¨°ÑijЩÊôÐÔ¾¾³öÀ´¼Ó¹¤Ò»ÏÂÔٷŽøÈ¥¡£ÓÖÈ磬ÎÒÃÇÒª¶ÔArrayµÄÄ£°å½øÐÐÀ©Õ¹£¬×ö³ÉÒ»¸öÐÂÀàArray2 ......

PHPºÍJavascriptµÄJSON½»»¥£¨´¦ÀíÒ»¸ö¶þάÊý×飩

 
PHPµÄJSONÀà¿âÎÒʹÓõÄÊÇServices_JSON
£¬Ã»Ê²Ã´ÌرðµÄÓŵ㣬ҲûʲôÃ÷ÏÔµÄȱµã£¬¶Ô¸¶ÓÃ×ãÒÓ¡£
½¨Á¢Îļþdata.php
£º
<?php
include(
"JSON.php"
);
$data
= array(
    
array(
'name'
=>
mb_convert_encoding
(
'ÀÏÍõ'
,
'UTF-8'
,
'GBK'
), ......

eclipse javascript²å¼þ

 Ò»¡£eclipse ÅäÖÃspket
spketÊÇÒ»¸öдJSµÄ²å¼þ
ÎÒµÄÅäÖû·¾³ÊÇ
eclipse3.2
spket-1.6.11.jar
1.°²×°spket-1.6.11.jar,
°Ñspket°ü¿½±´µ½Ò»¸öÄãÄܼǵÄסµÄĿ¼ÏÂ,ÎÒÕâ·ÅÔÚe:¸ùĿ¼ÏÂ
½Ó׎øÈëDOSÏÂ,½øÈëd:¸ùĿ¼,ÊäÈëJAVA -jar spket-1.6.11.jarÃüÁî
Ö®ºó»áÌáʾÄã°²×°spket,°´×ÅËûÌáʾµÄÒ»Ö±ÏÂÒ»²½,Öмä»áÌáÊ¾Ä ......

VRMLÓëJavascriptºÍVBscript½»»¥µÄʵÀý

 ÏÖ½«´úÂëÌù³ö£¬¹²Ã㣡
HTML²¿·Ö£º=====================================================
<html>
<head>
<script language="VBscript">
<!--
function M_b()
 set M_e=Scene.Engine
 M_e.Nodes("MyScript").Fields("nodestring")="Shape {geometry Box{}}"
 M_e.Nodes ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ