<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆-20  評論-3  文章-9  trackbacks-0

    所有效果說明:
    基本的鼠標互動:
    拖拽(drag and dropping)、排序(sorting)、選擇(selecting)、縮放(resizing)
    各種互動效果:
    手風琴式的折疊菜單(accordions)、日歷(date pickers)、對話框(dialogs)、滑動條

    (sliders)、表格排序(table sorters)、頁簽(tabs)
    放大鏡效果(magnifier)、陰影效果(shadow)

    第一部分:鼠標交互
    1.1 Draggables:拖拽
    所需文件:
    ui.mouse.js
    ui.draggable.js
    ui.draggable.ext.js

    用法:文件載入后,可以拖拽class = "block"的層
    $(document).ready(function(){
    ??? $(".block").draggable();
    });

    draggable(options)可以跟很多選項
    選項說明:http://docs.jquery.com/UI/Draggables/draggable#options
    選項實例:http://dev.jquery.com/view/trunk/plugins/ui/tests/draggable.html

    1.2 Droppables
    所需要文件,drag drop
    ui.mouse.js
    ui.draggable.js
    ui.draggable.ext.js
    ui.droppable.js
    ui.droppable.ext.js
    用法:
    $(document).ready(function(){
    ??? $(".block").draggable({helper: 'clone'});
    $(".drop").droppable({
    ?? accept: ".block",
    ?? activeClass: 'droppable-active',
    ?? hoverClass: 'droppable-hover',
    ?? drop: function(ev, ui) {
    ?? ??? $(this).append("<br>Dropped!");
    ?? }
    });
    });
    選項說明:http://docs.jquery.com/UI/Droppables/droppable#options
    選項實例:http://dev.jquery.com/view/trunk/plugins/ui/tests/droppable.html

    1.3 Sortables 排序
    所需要的文件
    jquery.dimensions.js
    ui.mouse.js
    ui.draggable.js
    ui.droppable.js
    ui.sortable.js
    用法:
    $(document).ready(function(){
    ??? $("#myList").sortable({});
    });
    dimensions文檔http://jquery.com/plugins/project/dimensions
    選項說明:http://docs.jquery.com/UI/Sortables/sortable#options
    選項實例:http://dev.jquery.com/view/trunk/plugins/ui/demos/ui.sortable.html

    1.4 Selectables 選擇
    所需要的文件
    jquery.dimensions.js
    ui.mouse.js
    ui.draggable.js
    ui.droppable.js
    ui.selectable.js
    用法:
    $(document).ready(function(){
    ??? $("#myList").selectable();
    });
    選項說明:http://docs.jquery.com/UI/Selectables/selectable#options
    選項實例:http://dev.jquery.com/view/trunk/plugins/ui/tests/selectable.html

    1.5 Resizables改變大小
    所需要的文件 ,此例子需要幾個css文件
    jquery.dimensions.js
    ui.mouse.js
    ui.resizable.js
    用法:
    $(document).ready(function(){
    ??? $("#example").resizable();
    });
    CSS文件:http://dev.jquery.com/view/trunk/themes/flora/flora.all.css
    選項說明:http://docs.jquery.com/UI/Resizables/resizable#options
    選項實例:http://dev.jquery.com/view/trunk/plugins/ui/demos/ui.resizable.html

    第二部分:互動效果
    2.1 Accordion 折疊菜單
    所需要的文件:
    ui.accordion.js
    jquery.dimensions.js
    用法:
    $(document).ready(function(){
    ??? $("#example").accordion();
    });
    CSS文件:http://dev.jquery.com/view/trunk/themes/flora/flora.all.css
    選項說明:http://docs.jquery.com/UI/Accordion/accordion#options
    選項實例:http://dev.jquery.com/view/trunk/plugins/accordion/?p=1.1.1
    2.2 dialogs 對話框
    所需要的文件:
    jquery.dimensions.js
    ui.dialog.js
    ui.resizable.js
    ui.mouse.js
    ui.draggable.js

    用法:
    $(document).ready(function(){
    ??? $("#example").dialog();
    });
    CSS文件:http://dev.jquery.com/view/trunk/themes/flora/flora.all.css
    選項說明:http://docs.jquery.com/UI/Dialog/dialog#options
    選項實例:http://dev.jquery.com/view/trunk/plugins/ui/tests/dialog.html

    2.3 sliders 滑動條
    所需要的文件
    jquery.dimensions.js
    ui.mouse.js
    ui.slider.js

    用法:
    $(document).ready(function(){
    ??? $("#example").slider();
    });

    CSS文件:http://dev.jquery.com/view/trunk/themes/flora/flora.all.css
    選項說明:http://docs.jquery.com/UI/Slider/slider#options
    選項實例:http://dev.jquery.com/view/trunk/plugins/ui/demos/ui.slider.html

    2.4 Tablesorter表格排序
    所需要的文件
    ui.tablesorter.js

    用法:
    $(document).ready(function(){
    ??? $("#example").tablesorter({sortList:[[0,0],[2,1]], widgets: ['zebra']});
    });

    CSS文件:http://dev.jquery.com/view/trunk/themes/flora/flora.all.css
    選項說明:http://docs.jquery.com/Plugins/Tablesorter/tablesorter#options
    選項實例:http://tablesorter.com/docs/#Demo

    2.5 tabs頁簽(對IE支持不是很好)
    所需要的文件
    ui.tabs.js
    用法:
    $(document).ready(function(){
    ??? $("#example > ul").tabs();
    });
    CSS文件:http://dev.jquery.com/view/trunk/themes/flora/flora.all.css
    選項說明:http://docs.jquery.com/UI/Tabs/tabs#initialoptions
    選項實例:http://dev.jquery.com/view/trunk/plugins/ui/tests/tabs.html
    tabs ext http://stilbuero.de/jquery/tabs_3/rotate.html

    第三部分:效果
    3.1 Shadow 陰影
    實例http://dev.jquery.com/view/trunk/plugins/ui/demos/ui.shadow.html
    3.2 Magnifier 放大
    實例http://dev.jquery.com/view/trunk/plugins/ui/demos/ui.magnifier.html



    下載地址
    http://www.tkk7.com/Files/vip/例子.rar

    posted on 2008-06-12 17:09 藍山 閱讀(554) 評論(0)  編輯  收藏 所屬分類: JavaScript
    主站蜘蛛池模板: 色欲aⅴ亚洲情无码AV| 亚洲一区二区三区在线观看精品中文| 亚洲精品视频免费看| 88av免费观看入口在线| 免费不卡在线观看AV| 84pao国产成视频免费播放| 99re6在线视频精品免费下载| 黄色片免费在线观看| 久久青草免费91线频观看不卡 | 亚洲香蕉成人AV网站在线观看| 免费h成人黄漫画嘿咻破解版| 波多野结衣中文一区二区免费| 亚洲精品第一国产综合境外资源 | 成年人视频免费在线观看| 国产99视频精品免费观看7| 99re热免费精品视频观看 | 人人玩人人添人人澡免费| 亚洲精品免费观看| 久久国产免费观看精品3| 亚洲免费观看网站| 成全视频在线观看免费高清动漫视频下载| 无码高潮少妇毛多水多水免费| 香蕉高清免费永久在线视频| 免费真实播放国产乱子伦| 伊伊人成亚洲综合人网7777| 国产亚洲人成网站在线观看不卡| 久久亚洲美女精品国产精品| 久久精品国产亚洲av麻豆图片 | 亚洲午夜福利717| 亚洲第一二三四区| 亚洲av永久无码精品秋霞电影秋| 真人无码作爱免费视频| 精精国产www视频在线观看免费| 中文字幕亚洲免费无线观看日本 | 一级毛片不卡片免费观看| 91成年人免费视频| 免费国产综合视频在线看| 亚洲成AV人片在线观看无| 亚洲深深色噜噜狠狠网站| 51午夜精品免费视频| 四虎最新永久免费视频|