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

JavaScriptµÄBASE64

**
* ÎÒÔÚÍøÉÏ¿´µ½¹ýºÜ¶àBASE64µÄJavaScriptËã·¨£¬¶¼¾õµÃ²»ÂúÒ⣬ÓÚÊÇ×Ô¼ºÐ´ÁËÒ»¸ö£¬ÔÚÕâÀï·ÖÏíһϡ£
* ÎҵĴúÂëÔÚÖÊÁ¿µÄЧÂʶ¼½Ï¸ß£¬Ã»ÓÐһЩÈßÓàµÄ²Ù×÷¡£×ÜÌåÀ´½²ÎÒ¾õµÃ·Ç³£²»´í¡£
* Èç¹û´ó¼ÒÓÐʲô²»¶®µÄµØ·½¿ÉÒÔÎÊÎÒ¡£
*/
var BASE64={
    /**
     * ´Ë±äÁ¿Îª±àÂëµÄkey£¬Ã¿¸ö×Ö·ûµÄϱêÏà¶ÔÓ¦ÓÚËüËù´ú±íµÄ±àÂë¡£
     */
    enKey: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',
    /**
     * ´Ë±äÁ¿Îª½âÂëµÄkey£¬ÊÇÒ»¸öÊý×飬BASE64µÄ×Ö·ûµÄASCIIÖµ×öϱ꣬Ëù¶ÔÓ¦µÄ¾ÍÊǸÃ×Ö·ûËù´ú±íµÄ±àÂëÖµ¡£
     */
    deKey: new Array(
        -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
        -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
        -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63,
        52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, -1, -1, -1,
        -1,  0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14,
        15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1,
        -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
        41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1
    ),
    /**
     * ±àÂë
     */
    encode: function(src){
        //ÓÃÒ»¸öÊý×éÀ´´æ·Å±àÂëºóµÄ×Ö·û£¬Ð§ÂʱÈÓÃ×Ö·û´®Ïà¼Ó¸ßºÜ¶à¡£
    


Ïà¹ØÎĵµ£º

Á½¸öЧ¹ûÂùºÃµÄjavascript»ÃµÆƬ£¨Jquery slider£©

http://css-tricks.com/creating-a-slick-auto-playing-featured-content-slider/
demo£ºhttp://css-tricks.com/examples/FeaturedContentSlider/
Featured Content Slider Using jQuery
http://demo.webdeveloperplus.com/featured-content-slider/ ......

JavaScript ÖеÄÄÚ´æй©ÎÊÌâ

ÓÉÓÚ×î½ü×Ô¼ºµÄFireFox¾­³£³öÏÖµ÷ÓÃJS½Å±¾Ê±Ôì³ÉÄÚ´æÒç³ö¶ø²úÉú¼ÙËÀµÄÏÖÏ󣬽ñÌì¸ÕºÃÓÐÐÒ¿´µÄIBMÍøÕ¾ÀïÕâƪÎÄÕ£¬¶ø×Ô¼ºÏÖÔÚÓÖÔÚѧϰJS£¬¿´ÁËÒÔºó¾õµÃдµÄ·Ç³£²»´í£¬Ìáµ½Á˺ܶàÎÒÃÇƽʱÔÚ±àдJS´úÂëʱÈÝÒ×Ôì³ÉµÄ´íÎó¡£ÏÖ½«´ËÎÄ·ÖÏí¸ø´ó¼Ò£¡
Internet Explorer ºÍ Mozilla Firefox ÊÇÁ½¸öÓë JavaScript ÖеÄÄÚ´æй©ÁªÏµ×îÎ ......

javascript³£ÓÃ֪ʶ

navigator¶ÔÏóÖ÷ÒªÓÃÓÚ¼ì²âä¯ÀÀÆ÷µÄ°æ±¾£¬¸Ã¶ÔÏóµÄÊôÐÔÖ÷ÒªÓУº
appcodeName£º
appVersion
.....
JavaScriptÖб£Áô×Ö¡£¡£¡£
ת»»º¯Êýeval("12.34*12")
parseInt()
parseFloat();
join() °ÑÒ»¸öÊý×éµÄËùÓÐÔªËض¼×ª»»³É×Ö·û´®
reverse()µßµ¹Êý×é
sortÅÅÐò
concat()
slice()
splice()
push()
pop()
toString() ......

JavaScript ÖÆ×÷¼òµ¥¼ÆËãÆ÷ isNaN eval ʹÓÃ

Åжϣ¨value£©ÊÇ·ñÊÇÒ»¸öÊý×Ö£¬¼ÙÈçÖµÊÇNaNÄÇôIsNan·µ»ØTRUE£¬·ñÔò·µ»ØFALSE¡£
»¹ÓÐÒ»ÖÖ°ì·¨£¬±äÁ¿¿ÉÒÔÓëËü×ÔÉí½øÐбȽϡ£ ¼ÙÈç±È½ÏµÄ½á¹û²»µÈ£¬ÄÇôËü¾ÍÊÇ NaN ¡£
ÕâÊÇÒòΪ NaN ÊÇΨһÓë×ÔÉí²»µÈµÄÖµ¡£
µÚÒ»ÖÖ·½·¨£º
<html>
<head>
<title>¼òµ¥¼ÆËãÆ÷µÄÖÆ×÷</title>
</ ......

JavascriptÃæÏò¶ÔÏó±à³Ì£¨¶þ£©£º¼Ì³Ð


ZT:http://www.ruanyifeng.com/blog/2010/05/object-oriented_javascript_inheritance.html
ÉÏÒ»´ÎµÄÎÄÕ£¬Ö÷Òª½éÉÜÁËÈçºÎ"·â×°"Êý¾ÝºÍ·½·¨£¬´ÓÔ­ÐͶÔÏóÉú³ÉʵÀý¡£
½ñÌìÒª½éÉܵÄÊÇ£¬¶à¸öÔ­ÐͶÔÏóÖ®¼äÈçºÎ"¼Ì³Ð"¡£
±ÈÈ磬ÏÖÔÚÓÐÒ»¸ö"¶¯Îï"¶ÔÏó£¬
¡¡¡¡function Animal(){
¡¡¡¡¡¡¡¡this.species = "¶¯Îï";
¡¡¡¡}
»¹ÓÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ