【轉(zhuǎn)】jQuery Tools:Web開(kāi)發(fā)必備的 jQuery UI 庫(kù)
Posted on 2012-07-15 19:56 小胡子 閱讀(288) 評(píng)論(0) 編輯 收藏 所屬分類(lèi): JQuery基本介紹
jQuery Tools 是基于 jQuery 開(kāi)發(fā)的網(wǎng)站界面庫(kù),包含網(wǎng)站最常用的Tabs(選項(xiàng)卡)、Tooltip(信息提示)、Overlay(遮罩、彈窗)、Scrollable(滾動(dòng)控 制)、Form Validator(表單驗(yàn)證)、Rangeinput(范圍選擇)、Dateinput(日期選擇)等眾多功能。jQuery Tools 提供了高自定義的API接口,能夠幫助開(kāi)發(fā)者非常容易的實(shí)現(xiàn)所需要的功能,帶給用戶(hù)更佳的使用體驗(yàn)。
相比 jQuery UI,jQuery Tools 提供了作為網(wǎng)站應(yīng)用更需要使用的功能,jQuery Tools 提供的功能分為三部分,分別是 UI Tools,F(xiàn)orm Tools 和 Tools Box,下面會(huì)對(duì)每個(gè)功能模塊分別作介紹,另外 jQuery Tools 要比 jQuery UI 的界面更精美,可定制性更好。除此之外,jQuery Tools 核心代碼使用 GZIP 壓縮后只有3.9KB,及時(shí)包括搜有的擴(kuò)展功能也才14KB,要比 jQuery UI 輕量很多。
UI Tools
UI Tools 部分包括Tabs、Tooltip、Overlay和Scrollable四個(gè)功能模塊,各功能模塊的Demo如下:
Tabs(選項(xiàng)卡)
- Minimal setup for tabs
- Naming the tabs
- 4 different skins with CSS
- Using mouseover to switch tabs
- Making wizards with the tabs
- Making accordions with tabs
- Customizing the accordion effect
- Horizontal accordion using the tabs
- Multiple tabs and accordion instances
- Handling browsers back button
- Loading tab contents with ajax
- AJAXed tabs with history support
- Slideshow plugin for the tabs
Tooltip(信息提示)
- Basics of using the tooltip
- Using any HTML inside the tooltip
- Imitating browsers default tooltip
- Using tooltips in form fields
- Using tooltips in tables or lists
- Custom tooltip effect
- Dynamic positioning of the tooltip
Overlay(遮罩、彈窗)
- Minimal setup for overlay
- The apple effect for overlay
- Creating modal dialogs with overlay
- Opening overlays programmatically
- Overlays with different styles
- Loading external pages into overlay
- Multiple overlays on the same page
- Creating a customized overlay effect
Scrollable(信息滾動(dòng))
- Minimal setup for scrollable
- A vertical scrollable
- A simple scrollable image gallery
- Gallery with multiple scrollables
- A scrollable registration wizard
- Scrollable plugins in action
- Browser back button navigation
- jQuery tools home page setup
- A complete navigational system
- Add and remove items from scrollable
- Customizing the scrolling animation
Form Tools
Form Tools 部分包括Validator、Rangeinput和Dateinput三個(gè)功能模塊,各功能模塊的Demo如下:
Validator(表單驗(yàn)證)
- Minimal setup for validator
- Custom input types and attributes
- Server & client-side validation
- Error Summary
- Validator events in action
- Localizing the validator
Rangeinput(范圍選擇)
- Minimal setup for rangeinput
- A couple of vertical ranges
- Multiple small ranges
- A custom scrollbar for a DIV
Dateinput(日期選擇)
- Minimal setup for dateinput
- A large skin for Dateinput
- Customizing Dateinput behavior
- Prompting for start and end dates
- Calendar that is always available
- Localizing the Dateinput (french)
Tools Box
Tools Box 部分包括Expose、Flashembed和Combinations三個(gè)功能模塊,各功能模塊的Demo如下:
Expose(突出重點(diǎn))
Flashembed(嵌入Flash)
- Basics of Flash embedding
- Flashembed and jQuery
- Loading flash on a mouse click
- Placing HTML on top of a flash object
- Handling old flash versions
- Flashembed and Flowplayer
Combinations(整合功能)
您可能還喜歡
- 基于 HTML5 Canvas 的圖片放大鏡
- RoboVoice.com:讓你的網(wǎng)頁(yè)會(huì)說(shuō)話(huà)
- 8個(gè)超棒的免費(fèi)高質(zhì)量圖標(biāo)搜索引擎
- 分享5個(gè)有趣的 JavaScript 代碼片段
- 推薦一個(gè)很棒的免費(fèi)自助建站工具
本文鏈接:jQuery Tools:Web開(kāi)發(fā)必備的 jQuery UI 庫(kù)
編譯來(lái)源:夢(mèng)想天空 ◆ 關(guān)注前端開(kāi)發(fā)技術(shù) ◆ 分享網(wǎng)頁(yè)設(shè)計(jì)資源
推薦閱讀
作者:山邊小溪
出處:http://lhb25.cnblogs.com
歡迎任何形式的轉(zhuǎn)載,但請(qǐng)務(wù)必注明出處。