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

ÓÃjavascriptÆÀ¹ÀÓû§ÊäÈëÃÜÂëµÄÇ¿¶È


ÃÜÂëÒѾ­ÊÇÎÒÃÇÉú»î¹¤×÷Öбز»¿ÉÉٵŤ¾ß,µ«Ò»¸ö²»°²È«µÄÃÜÂëÓÐÓÖÓпÉÄÜ»á¸øÎÒÃÇÔì³É²»±ØÒªµÄËðʧ¡£×÷ΪÍøÕ¾Éè
¼ÆÕß,Èç¹ûÎÒÃÇÔÚÍøÒ³ÖÐÄܶÔÓû§ÊäÈëµÄÃÜÂë½øÐа²È«ÆÀ¹À,²¢ÏÔʾ³öÏàÓ¦µÄÌáʾÐÅÏ¢,ÄÇô¶ÔÓû§ÉèÖÃÒ»¸ö°²È«µÄÃÜÂë
½«Óкܴó°ïÖú¡£Í¬Ê±Ò²Ê¹µÃÍøÕ¾¸ü¾ßÈËÐÔ»¯,¸üÓÐÎüÒýÁ¦.
ʲôÊÇÒ»¸ö°²È«µÄÃÜÂëÄØ?±¾³ÌÐò°´ÒÔϵķ½Ê½½øÐÐÆÀ¹À.
1.Èç¹ûÃÜÂëÉÙÓÚ5λ,ÄÇô¾ÍÈÏΪÕâÊÇÒ»¸öÈõÃÜÂë.
2.Èç¹ûÃÜÂëÖ»ÓÉÊý×Ö¡¢Ð¡Ð´×Öĸ¡¢´óд×Öĸ»òÆäËüÌØÊâ·ûºÅµ±ÖеÄÒ»ÖÖ×é³É,ÔòÈÏΪÕâÊÇÒ»¸öÈõÃÜÂë.
3.Èç¹ûÃÜÂëÓÉÊý×Ö¡¢Ð¡Ð´×Öĸ¡¢´óд×Öĸ»òÆäËüÌØÊâ·ûºÅµ±ÖеÄÁ½ÖÖ×é³É,ÔòÈÏΪÕâÊÇÒ»¸öÖжȰ²È«µÄÃÜÂë.
4.Èç¹ûÃÜÂëÓÉÊý×Ö¡¢Ð¡Ð´×Öĸ¡¢´óд×Öĸ»òÆäËüÌØÊâ·ûºÅµ±ÖеÄÈýÖÖÒÔÉÏ×é³É,ÔòÈÏΪÕâÊÇÒ»¸ö±È½Ï°²È«µÄÃÜÂë.
±¾³ÌÐò½«¸ù¾ÝÓû§ÊäÈëµÄÃÜÂë·Ö±ðÏÔʾ²»Í¬µÄÑÕÉ«±íʾÃÜÂëµÄÇ¿¶È,¾ßÌå³ÌÐòÈçÏÂ(ÑÝʾµØ
Ö·:http://www.web9898.cn/reg):
<script language=javascript>
//CharModeº¯Êý
//²âÊÔij¸ö×Ö·ûÊÇÊôÓÚÄÄÒ»Àà.
function CharMode(iN){
if (iN>=48 && iN <=57) //Êý×Ö
return 1;
if (iN>=65 && iN <=90) //´óд×Öĸ
return 2;
if (iN>=97 && iN <=122) //Сд
return 4;
else
return 8; //ÌØÊâ×Ö·û
}
//bitTotalº¯Êý
//¼ÆËã³öµ±Ç°ÃÜÂëµ±ÖÐÒ»¹²ÓжàÉÙÖÖģʽ
function bitTotal(num){
modes=0;
for (i=0;i<4;i++){
if (num & 1) modes++;
num>>>=1;
}
return modes;
}
//checkStrongº¯Êý
//·µ»ØÃÜÂëµÄÇ¿¶È¼¶±ð
function checkStrong(sPW){
if (sPW.length<=4)
return 0; //ÃÜÂëÌ«¶Ì
Modes=0;
for (i=0;i<sPW.length;i++){
//²âÊÔÿһ¸ö×Ö·ûµÄÀà±ð²¢Í³¼ÆÒ»¹²ÓжàÉÙÖÖģʽ.
Modes|=CharMode(sPW.charCodeAt(i));
}
return bitTotal(Modes);
}
//pwStrengthº¯Êý
//µ±Óû§·Å¿ª¼üÅÌ»òÃÜÂëÊäÈë¿òʧȥ½¹µãʱ,¸ù¾Ý²»Í¬µÄ¼¶±ðÏÔʾ²»Í¬µÄÑÕÉ«
function pwStrength(pwd){
O_color="#eeeeee";
L_color="#FF0000";
M_color="#FF9900";
H_color="#33CC00";
if (pwd==null||pwd==''){
Lcolor=Mcolor=Hcolor=O_color;
}
else{
S_level=checkStrong(pwd);
switch(S_level) {
case 0:
Lcolor=Mcolor=Hcolor=O_color;
case 1:
Lcolor=L_color;
Mcolor=Hcolor=O_color;
break;
case 2:
Lcolo


Ïà¹ØÎĵµ£º

javascriptЧÂʾ­Ñé̸(Ò»)

±¾ÎÄÖ÷ÒªÊdzöÓÚÓÐÅóÓÑʹÓÃÎÒÔ­À´Ð´µÄautocompleteµÄJS¿Ø¼þ¡£µ±Êý¾ÝÁ¿´óµÄʱºò£¬»á³öÏÖЧÂʼ«ÆäÂýµÄÇé¿ö£¬ÎÒÔÚÕâ¶Îʱ¼ä×ö³öµÄһЩ²âÊÔÒ²¼°Ò»Ð©¾­Ñ飬Óë´ó¼Ò·ÖÏí£¬Èç¹ûÓдíµÄµØ·½£¬»¹ÇëÖ¸³ö¡£
¾­¹ý²âÊÔ£¬ÎÒÃǻᷢÏÖÈçϵÄÇé¿ö»òÕß˵µÄ½áÂÛ£¬Èç¹ûÄúµÄ²âÊÔ½á¹ûÓëÎҵIJ»·û£¬Çë˵Ã÷Ô­Òò£¬ÒÔ±ãÏ໥ѧϰ¡£
1£©µ±Ò»¸ö½Ï´óµÄHTML×Ö· ......

10¸ö»ùÓÚ JavaScript µÄ WYSIWYG ±à¼­Æ÷

ÔÚÏ߱༭ÄÚÈݵÄʱºò£¬ÄÇЩ»ùÓÚ JavaScript µÄ±à¼­Æ÷°ïÁËÎÒÃÇ´ó棬ÕâЩËù¼û¼´ËùµÃ£¨WYSIWYG£©±à¼­Æ÷£¬¸øÎÒÃÇÌṩÁËÀàËÆ Office µÄ²Ù×÷ÌåÑé¡£Èç½ñ£¬ÈκÎÍøÕ¾ÄÚÈݹÜÀíϵͳ£¨CMS£©ºÍ²©¿Íϵͳ¶¼ÐèÒªÒ»¸öÕâÑùµÄ±à¼­Æ÷¡£±¾Îľ«Ñ¡ÁË10¸ö»ùÓÚ JavaScript µÄ±à¼­Æ÷£¬ËüÃÇÓеÄÊÇ»ùÓÚ jQuery ¿ò¼Ü£¬ÓеãÔò²»ÊÇ¡£
MarkitUp - jQuery
......

JavaScript ÈÕÀú

html:

<html>
    <head>
        <title>calendaragain</title>
        <link rel=stylesheet href="calendaragain.css">
        <script type = " ......

תÔØ JavaScript»ù´¡Ö®¶ÔÏó

JavaScript»ù´¡Ö®¶ÔÏó
¡¡¡¡JavaScript»ù´¡Ö®¶ÔÏó
¡¡¡¡´Ó2004ÄêÏ°ëÄ꿪ʼѧϰWeb±à³ÌÖÁ½ñ3ÄêÓÐÓà¡£´ÓHTML£¬asp¿ªÊ¼µ½ÏÖÔÚµÄVS2008һ·ѧ¹ýÀ´£¬ÆäÖÐѧµÄ×î¶àµÄ»¹ÊÇ·þÎñÆ÷¶Ë±à³Ì£¬¶Ô¿Í»§¶Ë±à³ÌµÄѧϰ»¹ÊDz»³Éϵͳ¡£ËäÈ»Ôںܶà¸öϵͳÀïÃæÓ¦Óùý½Å±¾£¬ÓÐЩ»¹Æðµ½Á˱ȽÏÖØÒªµÄ×÷Óᣵ«Ò»Ö±ÊÇÖ»ÖªÆäÈ»²»ÖªÆäËùÒÔÈ»£¬ÓõÄÊÇСÐÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ