01 JavaScript¸ÅÊö
Java,JavaScript,JScript Çø±ð
ÕâÈý¸öÓïÑÔ·Ö±ðÊÇÈý¸ö¹«Ë¾¿ª·¢µÄ£¬SUNµÄJava£¬NetscapeµÄJavaScript£¬MicrosoftµÄJScript
JavaScriptÊÇÓÉNetscape¹«Ë¾¿ª·¢²¢ËæNavigatorµ¼º½ÕßÒ»Æð·¢²¼µÄ¡¢½éÓÚJavaÓëHTMLÖ®¼ä¡¢»ùÓÚ¶ÔÏóʼþÇý¶¯µÄ±à³ÌÓïÑÔ£¬²»ÐèÒªJava±àÒëÆ÷£¬¶øÊÇÖ±½ÓÔËÐÐÔÚWebä¯ÀÀÆ÷ÖУ¬ËüµÄÇ°ÉíÊÇLive Script¡£
JScriptÊÇÒ»ÖÖÀàËÆJavaScriptµÄÓïÑÔ¡£
JavaÊÇSUN¹«Ë¾ÍƳöµÄÐÂÒ»´úÃæÏò¶ÔÏóµÄ³ÌÐòÉè¼ÆÓïÑÔ£¬ÌرðÊʺÏÓÚInternetÓ¦ÓóÌÐò¿ª·¢£¬µ±È»Ò²¿ÉÒÔ¿ª·¢ÆäËüµÄÓ¦ÓóÌÐò£¬ÒÔÇ°ÔÚ°²×°SYBASEºÍDB2µÄʱºò£¬ÎÒ¶¼×¢ÒⶼËüÃǵݲװ³ÌÐòºÃÏó¶¼ÊÇÓÃJavaдµÄ¡£JavaµÄÇ°ÉíÊÇOakÓïÑÔ
1.×ʼwebÉÏÖ»Óо²Ì¬µÄhtml
2.ΪÁËÂú×ã¸üºÃµÄ½»»¥ÐèÇó£¬netscape¿ª·¢ÁËÔÚNavigatorÖÐʹÓõÄLiveScriptÓïÑÔ£¬ºó¸ÄÃûΪJavaScript ,JSÊÇJavaScriptµÄ¼ò³Æ
3.Microsoft·¢ÐÐjscriptÓÃÓÚinternet explorer. JScriptÊÇ΢Èí¶ÔECMA262ÓïÑԹ淶µÄÒ»ÖÖʵÏÖ.
ÒòΪµ±³õjavascriptÊÇnetscape¸ã³öÀ´µÄ£¬ÄÇʱbill gates»¹Ã»Òâʶµ½»¥ÁªÍøµÄÖØÒªÐÔ£¬ËüµÄIE³öÁýÒԺ󣬱ØÐëÒªÖ§³Ö½Å±¾£¬¶øËüµÄvbscript¸úVB¹Øϵ̫ÃÜÇÐûÓÐÊܵ½Ì«¶àµÄ×·Åõ£¬ÎªÁËÖ§³Öjavascript, ÓÖÒª·ÀÖ¹ÒýÆð°æȨ¾À·×£¬Ò²ÊÇΪÁËÃæ×ÓÎÊÌ⣬²»¿Ï½Ðjavascript, ÓÚÊǾͽÐjscriptÁË¡£Æäʵ¾ÍÏñµ±³õµÄPC-DOSºÍMS-DOSÒ»Ñù£¬µäÐ͵ÄÄÃÀ´Ö÷Òå¡£
²»¹ý×îа汾µÄjscript5.6ÓÐÐí¶àй¦ÄÜ£¬¶øÇÒÓÐÖÐÎÄ°æµÄÊֲᣬ¾ÝMSÉù³Æ£¬ÓÃjs¿ÉÒÔ¿ª·¢COM×é¼þ(script components)
4.×î³õµÄjscriptºÍjavascript²îÒì¹ý´ó£¬web³ÌÐòÔ±²»µÃ²»Í´¿àµÄΪÁ½ÖÖä¯ÀÀÆ÷±àдÁ½Öֽű¾¡£ÓÚÊǵ®ÉúÁËECMAScript,ÊÇÒ»ÖÖ¹ú¼Ê±ê×¼»¯µÄjavascript°æ±¾¡£ÏÖÔÚµÄÖ÷Á÷ä¯ÀÀÆ÷¶¼Ö§³ÖÕâÖÖ°æ±¾¡£
5.ÎÒÃÇд³ÌÐòµÄʱºò×îºÃд<script language=javascript>¶ø²»ÊÇ<script language=jscript>ÒòΪjavascriptÊÇÒ»¸öͨÓõÄÃû³Æ£¬ËùÓÐä¯ÀÀÆ÷¶¼ÈÏʶ£¬¶øjscriptÖ»ÓÐIEÈÏʶ¡£
6.ÆäËûÓïÑÔϸ½ÚÉϵÄÇø±ð£¬²»ÊÇÒ»Á½ÏÂÄÜ˵ÍêµÄ¡£²»¹ýÎÒ¸öÈËÈÏΪ±à³Ìʱ×îºÃ×ñÑECMAscript±ê×¼¡£ÕâÑù¿ÉÒÔ±£Ö¤¼æÈÝÐÔ¡£
7.˳±ã˵һÏÂ,javascriptÔÀ´½ÐLivescript£¬ºóÀ´SunµÄjava·çÍ·ÕýÊ¢µÄʱºònetscape¾Í°ÑÃû×ָijÉjavascript¡£
8.VBÊÇVisual BasicµÄ¼ò³Æ£¬Ó¦ÓÃÓÚÈí¼þ¿ª·¢¡£VBScriptÊÇMicrosoft Visual Basic Scripting EditionµÄ¼ò³Æ£¬Ó¦ÓÃÓÚ¿Í»§¶ËWebÒ³£¬»òÕß·þÎñÆ÷¶ËASPÒ³(ASPÓïÑÔÒÔVBScript»òJScriptΪ»ù´¡)¡£VBºÍVBScript¹²Í¬µãÊÇÓï·¨¡¢º¯ÊýÏàͬ£¬ÓÉ΢Èí¿ª·¢¡£Í¨³££¬VBScript¼ò³ÆΪVBS¡£¿ÉϧÏÖ
Ïà¹ØÎĵµ£º
±¾ÎĽéÉÜjavascriptÁ¬½ÓaccessÊý¾Ý¿âµÄ·½·¨¡£Õâ¶Î´úÂëÔÚ±¾µØ¿ÉÒÔÕý³£ÔËÐУ¬ÔÚÏßÔòÐèÒª×ã¹»µÄȨÏÞ¡£ÓÉÓÚ²ÉÓÃAccessÊý¾Ý¿â£¬ËùÒÔ²¢²»Ê¹Óñê×¼µÄSQLÓ﷨ʹÓÃʱ¡£ÐèҪעÒâ¡£
Õ⼸Ìì·ÑÁËͦ´óÁ¦ÆøÔÚÍøÉϲéÕÒjavascriptÁ¬½ÓaccessÊý¾Ý¿âµÄ·½·¨£¬¾¹ýÕûÀí×ܽᣬÖÕÓÚд³öÒ»¶ÎÄܹ»ÓÐЧִÐеĴúÂë¡£
µ«ÊÇÕâ¶Î´úÂëÔÚ±¾µØ¿ÉÒÔÕý³£ÔËÐУ ......
±¾ÎĽ«½éÉܼ¸¸ö³£ÓõÄJavaScriptÑéÖ¤ÕýÔò±í´ïʽ£¬ÕâЩ×ÊÁÏÏ£Íû¶Ô´ó¼ÒÔÚʵ¼Ê±à³Ì¹ý³ÌÖÐÆðµ½°ïÖú×÷Óá£
Æ¥ÅäÖÐÎÄ×Ö·ûµÄÕýÔò±í´ïʽ£º [u4e00-u9fa5]
ÆÀ×¢£ºÆ¥ÅäÖÐÎÄ»¹ÕæÊǸöÍ·ÌÛµÄÊ£¬ÓÐÁËÕâ¸ö±í´ïʽ¾ÍºÃ°ìÁË
Æ¥ÅäË«×Ö½Ú×Ö·û(°üÀ¨ºº×ÖÔÚÄÚ)£º[^x00-xff]
ÆÀ×¢£º¿ÉÒÔÓÃÀ´¼ÆËã×Ö·û´®µÄ³¤¶È£¨Ò»¸öË«×Ö½Ú×Ö·û³¤¶È¼Æ2£¬ASCII×Ö·û ......
<html>
<head><title>js¿ÉÒƶ¯´°¿ÚµÄÉè¼Æ</title>
<script language="javascript">
var x0=0,y0=0,x1=0,y1=0;//³õʼ»¯È«¾Ö±äÁ¿
var offx=6,offy=6;
var moveable=false;
var hover='orange';//color;
var index=10000;//z-index;
//¹Ø±Õ´°¿Ú
function closeWin(id)
{& ......
½ñÌìµÄ»°ÌâÊÇÈçºÎ¸Ä½ø×Ô¼ºÍøÕ¾µÄ½çÃæ»òÌá¸ßÍøÕ¾µÄÊÓ¾õÌåÑ飬´Ó¶øÈÃÓû§¼ÇÒäÓÌС£
¡¡¡¡ÎÒÃÇÓÐÈýÖÖÖ÷ÒªµÄ·½·¨(´ÓÄѵ½Ò×):×Ô¼º¶¯ÊÖд½Å±¾;ʹÓÃÀàËÆÓÚjQueryºÍmooToolsµÄJavaScript¿ò¼Ü(¿ÉÒÔÈñàд´úÂë±ä
µÃ¸üÈÝÒ×Щ);ʹÓÃÄܹ¤×÷ÓÚÏÖÓеÄJavaScript¿ò¼ÜϵÄÌáÇ°Ô¤ÖúõĽű¾»òÄÇÖÖ´ÓÍ·¿ªÊ¼¿ª·¢µÄ´´½¨Õß¡£ÕâƪÎÄÕÂÊʺÏÄÇЩ´òË ......