• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            woaidongmao

            文章均收錄自他人博客,但不喜標題前加-[轉(zhuǎn)貼],因其丑陋,見諒!~
            隨筆 - 1469, 文章 - 0, 評論 - 661, 引用 - 0
            數(shù)據(jù)加載中……

            40 個輕量級 JavaScript 庫

            http://www.comsharp.com/GetKnowledge/zh-CN/TeamBlogTimothyPage_K741.aspx

            流行的 JavaScript 庫不勝枚舉,jQuery, MooTools, Prototype, Dojo, YUI。這些 JavaScript 庫功能豐富,加上它們的插件,幾乎能勝任任何工作,然而這是有代價的,這些庫往往導致你的網(wǎng)頁尺寸臃腫。在某些場合,如果你只想完成特定的工作,可以使用一些功能更專一的輕量庫,本文介紹了40個非常出色的輕量級 JavaScript 庫。

            這是本文的第一部分,第二部分請參閱40 個輕量級 JavaScript 庫(下)。

            1. 表單相關

            wForms
            一個低調(diào)的開源項目,簡化了絕大多數(shù)常用 JavaScript 表單功能,包含可以直接使用的表單驗證功能,另外,還包含強大的表單同步以及表單條件判斷功能。

            wForms

            Validanguage
            又一個低調(diào)的 JavaScript 表單驗證框架。它擁有集成邏輯,一些設置可以針對全局,單個表單或單個對象。提供兩個API,集成 AJAX 支持,緩存,以及回調(diào)函數(shù)。它提供類似 HTML 的 API 語句,以及面向?qū)ο蟮?JavaScript API 。

            Validanguage

            LiveValidation
            一個輕量的表單驗證庫。除了傳統(tǒng)的驗證功能,還提供實時驗證,可以一邊輸入一遍驗證。Ruby on Rails 用戶可能會發(fā)現(xiàn)這個庫非常好用,因為他們的命名規(guī)則和參數(shù)十分近似。該庫既有獨立版本,又有一個 Prototype 版本。

            LiveValidation

            yav
            一個強大,靈活,可擴展的表單驗證庫。支持各種場合,從簡單的如日期,電子郵件地址以及整數(shù)的驗證,到復雜的,如正則表達式。內(nèi)置 AJAX 支持,輸出的錯誤消息可以定位到對象級。

            qForms
            處理表單的整套方案。功能包括各種驗證規(guī)則,防止多次發(fā)布的機制,以及鎖定或解鎖制定輸入框。

            formreform
            不基于 table 的多欄設計向來是一個挑戰(zhàn)。這個微型庫將傳統(tǒng)的表單變成漂亮的多欄形式。formreform

            2. 動畫相關

            $fx()
            一個用來讓 HTML 對象運動的輕量庫。你可以在一個時間軸上改變?nèi)魏?CSS 屬性,對于復雜動畫,你可以將各種效果結(jié)合起來,將對象分組,讓它們并行運動。

            $fx() JavaScript Animation Library

            JSTweener
            一個生成中間幀的 JavaScript 庫,它的 API 類似著名的中間幀引擎 Tweener。你可以指定動畫時間,定義切換效果以及時延。在幾乎任何點都可以觸動事件。

            JSTweener

            Facebook Animation
            一個強大的,用來創(chuàng)建可定制的,基于 CSS 的動畫。在 Facebook 動畫中,幾行代碼就可以改善 UI。語法和 FBJS (用于 Facebook 的庫)一樣。

            FX
            一個語法類似 YUI 的輕量 JavaScript 庫,可以為幾乎任何 CSS 屬性創(chuàng)建中間幀。支持顏色和滾動動畫,為對象設置 to 和 from 值就可以了。

            3. 視覺與圖形效果

            JS charts
            支持柱狀圖,圓餅圖以及簡單的曲線圖。直接將這個庫插入網(wǎng)頁,然后從 XML 文件或 JavaScript 數(shù)組變量調(diào)用數(shù)據(jù)。PNG 格式,兼容所有主要瀏覽器。

            JS Charts

            Canvas 3D JS Library (C3DL)
            C3DL 使 3D 程序的編寫變得簡單。提供一套數(shù)學,場景與 3D 對象類,可以直接在瀏覽器中開發(fā) 3D 內(nèi)容,不需要很深的 3D 知識。

            C3DL

            Processing.js
            這是 Processing 語言在 JavaScript 的移植。2D輸出功能豐富。提供了繪圖,色彩處理,字體,對象等處理函數(shù)。

            Processing.js

            Rapha?l
            一個讓人驚嘆的 JavaScript 庫,可以在 Web 上實現(xiàn)矢量圖。使用 SVG, VML 創(chuàng)建的圖形可以被更改或綁定事件。功能極其豐富,包括旋轉(zhuǎn),動畫,縮放等。

            Raphael: Vectors With JavaScript

            ImageFX
            該 JavaScript 庫為圖片添加效果,如虛化,銳化,浮雕,加亮等。ImageFX 使用畫布對象實現(xiàn)這些效果,兼容所有主流瀏覽器。這個庫非常容易使用,只要將 .js 庫文件插入網(wǎng)頁,調(diào)用那些函數(shù)即可。

            Imagefx

            Pixastic
            Pixastic 使用 HTML5 畫布對象,允許對原始像素進行操作。效果包括去飽和度,灰度級,反轉(zhuǎn),亮度,對比度調(diào)整,色調(diào),飽和度調(diào)整,以及浮雕,虛化等效果。因為用到了 HTML 5 的畫布對象,因此還無法兼容所有瀏覽器。

            Reflection.js
            一個很低調(diào)的 JavaScript 自動實現(xiàn)倒影效果。倒影的高度,透明度可以調(diào)整。支持所有主流瀏覽器,文件尺寸小于5K。

            Reflection.js

            4. 數(shù)據(jù)庫

            Taffy DB
            一個 JavaScript 庫,可以看作瀏覽器中的 SQL Server,或高級數(shù)組管理器。在使用了 AJAX 的程序中,可以用作數(shù)據(jù)庫層,可以創(chuàng)建,讀取,編輯,刪除數(shù)據(jù),使用循環(huán),排序以及高級查詢。

            ActiveRecord.js
            這個庫支持 Google Gears 以及 Chrome,Aptana Jaxer, Adobe AIR 以及任何支持 HTML 5 SQL 細則的平臺(目前有 Webkit 以及 iPhone)。可以自動創(chuàng)建表,驗證和同步數(shù)據(jù)。

            ActiveRecord.js

             

             

            http://www.comsharp.com/GetKnowledge/zh-CN/TeamBlogTimothyPage_K742.aspx

            流行的 JavaScript 庫不勝枚舉,jQuery, MooTools, Prototype, Dojo, YUI。這些 JavaScript 庫功能豐富,加上它們的插件,幾乎能勝任任何工作,然而這是有代價的,這些庫往往導致你的網(wǎng)頁尺寸臃腫。在某些場合,如果你只想完成特定的工作,可以使用一些功能更專一的輕量庫,本文介紹了40個非常出色的輕量級 JavaScript 庫。

            這是本文的第二部分,第一部分參見40 個輕量級 JavaScript 庫 (上)。

            5. 字符串與數(shù)學函數(shù)

            Date.js
            和日期打交道不是件容易事,有很多格式要處理。Datejs 可以很好地處理簡單或復雜的日期函數(shù)。可以將日期解析出諸如“Next thursday”,“+2 years”一類的格式,也支持所有日期形式,如 2009.01.08, 12/6/2001。

            Datejs

            Sylvester
            一個處理矢量和點陣的數(shù)學 JavaScript 庫,包含多維矢量和點陣建模類,以及在3D空間的一些模型。

            Sylvester

            Pretty Date
            一個很出色的 JavaScript 庫,用一種很漂亮,很友好的方式顯示日期,如下圖所示。

            Pretty Date

            XRegExp
            JavaScript 中的 RegExp 對象已經(jīng)支持正則表達式,XRegExp 增加了更多未來瀏覽器可能包含的功能(ECMAScript 4 - ES4)。該庫對 RegExp 對象進行緩存,重用并增加了眾多新功能。

            JavaScript URL Library
            一個用來處理 URL 的 JavaScript 庫,可以對 URL 中的任意部分進行處理。

            6. Fonts

            typeface.js
            這個庫可以讓你在網(wǎng)頁中使用任意字體,但和 sIFR 以及 FLIR 這些基于 Flash 的方案不一樣,typeface.js 100% 基于 JavaScript,只需將你的字體文件上傳到一個基于 Web 的生成器那里,再將生成的 JavaScript 文件下載回來包含到網(wǎng)頁中即可。

            Typeface.js

            Cufón
            和 typeface.js 很相像,Cufón 也可以讓你在網(wǎng)頁中使用任意字體,同樣,它也是使用一個生成器,將字體轉(zhuǎn)換成 VML,將生成的 .js 文件包含到網(wǎng)頁即可。

            7. 調(diào)試與記錄

            Blackbird
            人們經(jīng)常使用 Alert() 調(diào)試 JavaScript 程序,Blackbird 提供了一個漂亮的控制臺記錄,查看,過濾程序的運行。

            Blackbird

            NitobiBug
            基于瀏覽器的跨瀏覽器 javaScript 對象記錄與檢查工具。

            NitobiBug

            Firebug Lite
            目前最好的 JavaScript 調(diào)試工具非 Firebug 莫屬,然而該工具只支持 FireFox,將 Firebug Lite .js 文件插入你的網(wǎng)頁,就可以在所有瀏覽器都實現(xiàn) FireBug 功能。

            Firebug Lite

            8. 其它

            swfobject
            這是一個最受歡迎的對 Flash 對象進行引用的方法??梢陨蓸藴?swf 引用代碼,并探測用戶播放器版本。如果用戶版本不支持,會顯示備用內(nèi)容。

            swfobject

            sorttabledragtable
            不管你喜歡與否,table 仍然是最好的表現(xiàn)數(shù)據(jù)的方式,但可以更好地利用。sorttable 可以讓表格數(shù)據(jù)排序,只需在 table 上加一個 class="sortable" 標志,還可以排除指定的欄。dragtable 讓表格的欄可以拖動,在表格上加上 class="dragable" 標志即可,這兩個類可以結(jié)合起來使用,只需加上 class="sortable dragtable" 即可。

            DD_roundiesDD_belatedPNG
            DD_roundies 可以不依賴圖片實現(xiàn)圓角功能,只面向 IE, 通過 VML 實現(xiàn),其它瀏覽器會被略過,因為那些瀏覽器本身支持 CSS 圓角。

            JavaScript Rounded Corners

            DD_belatedPNG 是為了解決 IE6 對 PNG 支持不好問題而開發(fā)的,不管 PNG 圖片用于 src 還是 background-image,DD_belatedPNG 都能提供修補。

            Custom JavaScript Dialog Boxes
            一個只有 4.5K 的輕量 JavaScript 庫,可以創(chuàng)建用戶定制對話框,可顯示4種類型的消息框,alerts, warnings, prompts, success??梢栽O定消息框標題,內(nèi)容,以及過多長時間顯示。

            Custom Dialog Boxes

            GameJS
            GameJS 是微軟的 XNA 游戲框架在 JavaScript 上的移植,使用 canvas 對象作為輸出設備。JavaScript 不是最佳游戲平臺,但對那些幀率較低的游戲也沒有問題。

            GameJS

            Shortcuts.js
            從 Google Reader 和 Gmail 開始,Web 程序中的快捷鍵開始流行起來。Shorcuts.js 讓快捷鍵的處理變得簡單。

            Mapstraction
            有不少地圖提供商都提供不同 API,如果你要更換提供商,比如從 Google Maps 到 MapQuest,需要更新代碼,Mapstraction 提供了常用地圖提供商的 API,只需該一行代碼就能完成轉(zhuǎn)換。

            Mapstraction

            Amberjack
            一個只有 4K 的微型 JavaScript 庫,可以為你的網(wǎng)站添加漂亮的教程功能,一個模式窗口會以教程的形式顯示任意內(nèi)容,教程中的步驟可以通過手工編碼實現(xiàn)或在線自動生成??梢允褂?a >主題或 CSS 控制內(nèi)容的格式。

            Amberjack

            JsLoad
            JsLoad 可以從 Google server 遠程加載各種 JavaScript 庫,可以自動加載各種版本的支撐庫。

            posted on 2009-03-06 23:36 肥仔 閱讀(3283) 評論(17)  編輯 收藏 引用 所屬分類: Web-前臺

            評論

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            The a href="http://www.exclusivepapers.com">essay writing</a> just about this good post, I will detect at the writing service. Purchase the pre written essay and a href="http://www.exclusivepapers.com">custom essay</a> just about this post.
            2010-06-09 21:11 | MillerANASTASIA32

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            The fantastic knowledge about this good topic must be a ground for thesis or dissertation writing service and be utilized in student dissertation.
            2010-06-12 14:18 | thesis

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            Different people go to writer job service, with the aim to facts just about this good post.
            2010-07-25 05:21 | writing job onlne

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            It can be not complicated to satisfy your academic needs when you buy essay paper at masters writing service.
            2011-08-02 13:08 | do my essay

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            Want to find trustworthy custom essay papers writing service? Hence, you're in a correct point to buy papers online. Numbers of people visit our internet site and order course writing assignments of solid quality.
            2011-08-06 23:41 | buy papers online

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            The research essays writing evolves personal writing ability. Nevertheless, if you purchase research papers at the essay writing service, it should make better the writing skillfulness too. Thus, this good to compose poetry essay or just order it.
            2011-08-26 09:10 | essay writing service

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            Have no money to buy a car? Worry not, because it is achievable to receive the credit loans to resolve all the problems. Therefore take a auto loan to buy all you want.
            2011-09-02 13:48 | home loans

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            Financial situation in the entire world prompted academic papers writing services reduce prices for customized papers. People are able to get information how to write a research paper for good costs at this moment.
            2011-09-16 15:25 | paper buy

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            If you are in uncomfortable position and have got no money to go out from that, you will need to receive the mortgage loans. Just because that will help you for sure. I get term loan every year and feel fine just because of it.
            2011-10-23 01:22 | credit loans

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            I surely should follow your fantastic thought while the book reports and america essays paper writing. Thence, thanks for work.
            2012-04-22 21:26 | middle east essays

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            I agree with this analysis more than any I have seen until this time on the internet. I like that it isn't written in cocky language. Thank you so much. I will definitely keep in touch, because I need term papers online (essaysprofessors.com) to solve all my problems.
            2012-05-30 13:45 | research paper help

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            At this page I have an excellent chance to achieve optimal solutions to all writing dilemmas and let real professionals write my essay research paper.
            2012-06-10 03:40 | college papers

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            Some people transpire the duty to qualified writers because they lack the ability to compose a good paper about this good topic thats the reason why people need to use plagiarism checker plagiarismsearch.com, but such guys like creator don't do that. Thanks for the article
            2012-06-10 14:49 | plagiarism checker

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            Thanks a lot for the custom essay plus connecting with this good topic. This is very good to follow the blog "primewritings.com"!
            2012-06-10 19:30 | custom essay writing

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            Human entered the time of online marketing. The social bookmarking service became very spread. Frequently, it occurs that your business getting not really good and you do not know the way to resolve such a problem! Therefore, submission corporations seem to be very good variant.
            2012-06-16 15:07 | bookmark service

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            I’ve ne'er watched such topics about this good topic. I would opt for the term paper writing service buy an essay (primeessays.com) and order an essay about that!
            2012-06-16 22:28 | Essay Writing

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            That’s not very expensive to opt for the dissertation writing service take the best fact as this topic and utilize for thesis service "topdissertations.com". And the writing services will thank you for this!
            2012-07-09 23:02 | thesis writing

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            Nowadays, there exist a lot of academic writing agencies which offer custom writing help, but I suggest you to get in touch with Essays experts company and get assistance in writing research papers from the most trustworthy company.
            2012-07-10 01:26 | custom college essay papers

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            Buildings are quite expensive and not every person can buy it. Nevertheless, loan goodfinance-blog.com are invented to support people in such situations.
            2012-07-10 01:58 | home loans

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            Resent time, custom academic writing corporations are very popular. Furthermore, it's a general thing to buy paper writing online.
            2012-07-10 03:12 | critical essays

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            When people are insure what to select, term papers or just poetry & poets essays manyessays.com, they will turn to you, because you know how to complete the smashing data.
            2012-07-10 19:02 | ancient essays

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            RSS feeds submission options are the most workable internet marketing method. I claim that rss submission directories service can definitely help your internet site and your contents. Your traffic will become well optimized.
            2012-08-02 08:36 | seo package

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            Check Web site if you are in need to get custom writing uk.
            2012-08-20 17:39 | uk writing service

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            Whenever you are aware that you are out of time so as to do your papers for college, turn to custom writing services and buy essay writing at them. The best essay writing service review (best-essay-sites.com) will warn you against corrupt bureaus which propose so-called quality aid.
            2013-04-30 21:48 | BuyEssay.org rewiew

            # re: 40 個輕量級 JavaScript 庫  回復  更多評論   

            Have no idea which firm to choose to get help from? Go over Custom-Essay testimonials (best-essay-sites.com), and take a good decision.
            2013-04-30 21:51 | Best-essay-sites.com
            亚洲国产精品无码久久久秋霞2| 99久久免费只有精品国产| 91精品观看91久久久久久 | 亚洲精品国产美女久久久| 亚洲人成无码网站久久99热国产 | 亚洲精品高清一二区久久| 国内精品久久久久久不卡影院| 69国产成人综合久久精品| 久久精品亚洲日本波多野结衣 | 久久精品国产精品国产精品污| 久久久无码精品亚洲日韩按摩| 久久婷婷国产综合精品| 久久综合狠狠综合久久| 三上悠亚久久精品| 精品熟女少妇a∨免费久久| 色妞色综合久久夜夜| 99久久婷婷免费国产综合精品| 久久精品国产亚洲AV高清热| av无码久久久久不卡免费网站| 99久久免费国产特黄| 亚洲嫩草影院久久精品| 精品久久久久久久久久久久久久久| 中文字幕亚洲综合久久2| 激情五月综合综合久久69| 人妻中文久久久久| 国产A三级久久精品| 99久久人妻无码精品系列| 狠狠综合久久综合中文88| 久久婷婷是五月综合色狠狠| 亚洲AV无码久久精品成人 | 国产综合免费精品久久久| 色天使久久综合网天天| 久久久久亚洲AV成人网人人网站| 久久国产色AV免费观看| 国产成人无码精品久久久免费| 亚洲国产日韩欧美久久| 久久天天躁狠狠躁夜夜网站 | 色偷偷久久一区二区三区| 一本伊大人香蕉久久网手机| 一本久久a久久精品综合香蕉| 久久99精品久久久久婷婷|