After Width: | Height: | Size: 180 B |
After Width: | Height: | Size: 178 B |
After Width: | Height: | Size: 120 B |
After Width: | Height: | Size: 105 B |
After Width: | Height: | Size: 111 B |
After Width: | Height: | Size: 110 B |
After Width: | Height: | Size: 119 B |
After Width: | Height: | Size: 101 B |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
@ -0,0 +1,572 @@ |
|||||
|
/* |
||||
|
* jQuery UI CSS Framework @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Theming/API |
||||
|
*/ |
||||
|
|
||||
|
/* Layout helpers |
||||
|
----------------------------------*/ |
||||
|
.ui-helper-hidden { display: none; } |
||||
|
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; } |
||||
|
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } |
||||
|
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } |
||||
|
.ui-helper-clearfix { display: inline-block; } |
||||
|
/* required comment for clearfix to work in Opera \*/ |
||||
|
* html .ui-helper-clearfix { height:1%; } |
||||
|
.ui-helper-clearfix { display:block; } |
||||
|
/* end clearfix */ |
||||
|
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } |
||||
|
|
||||
|
|
||||
|
/* Interaction Cues |
||||
|
----------------------------------*/ |
||||
|
.ui-state-disabled { cursor: default !important; } |
||||
|
|
||||
|
|
||||
|
/* Icons |
||||
|
----------------------------------*/ |
||||
|
|
||||
|
/* states and images */ |
||||
|
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } |
||||
|
|
||||
|
|
||||
|
/* Misc visuals |
||||
|
----------------------------------*/ |
||||
|
|
||||
|
/* Overlays */ |
||||
|
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } |
||||
|
|
||||
|
|
||||
|
/* |
||||
|
* jQuery UI CSS Framework @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Theming/API |
||||
|
* |
||||
|
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px |
||||
|
*/ |
||||
|
|
||||
|
|
||||
|
/* Component containers |
||||
|
----------------------------------*/ |
||||
|
.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; } |
||||
|
.ui-widget .ui-widget { font-size: 1em; } |
||||
|
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; } |
||||
|
.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; } |
||||
|
.ui-widget-content a { color: #222222; } |
||||
|
.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; } |
||||
|
.ui-widget-header a { color: #222222; } |
||||
|
|
||||
|
/* Interaction states |
||||
|
----------------------------------*/ |
||||
|
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; } |
||||
|
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; } |
||||
|
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; } |
||||
|
.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; } |
||||
|
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; } |
||||
|
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; } |
||||
|
.ui-widget :active { outline: none; } |
||||
|
|
||||
|
/* Interaction Cues |
||||
|
----------------------------------*/ |
||||
|
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; } |
||||
|
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } |
||||
|
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; } |
||||
|
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; } |
||||
|
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; } |
||||
|
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } |
||||
|
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } |
||||
|
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } |
||||
|
|
||||
|
/* Icons |
||||
|
----------------------------------*/ |
||||
|
|
||||
|
/* states and images */ |
||||
|
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } |
||||
|
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } |
||||
|
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } |
||||
|
.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); } |
||||
|
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); } |
||||
|
.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); } |
||||
|
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); } |
||||
|
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); } |
||||
|
|
||||
|
/* positioning */ |
||||
|
.ui-icon-carat-1-n { background-position: 0 0; } |
||||
|
.ui-icon-carat-1-ne { background-position: -16px 0; } |
||||
|
.ui-icon-carat-1-e { background-position: -32px 0; } |
||||
|
.ui-icon-carat-1-se { background-position: -48px 0; } |
||||
|
.ui-icon-carat-1-s { background-position: -64px 0; } |
||||
|
.ui-icon-carat-1-sw { background-position: -80px 0; } |
||||
|
.ui-icon-carat-1-w { background-position: -96px 0; } |
||||
|
.ui-icon-carat-1-nw { background-position: -112px 0; } |
||||
|
.ui-icon-carat-2-n-s { background-position: -128px 0; } |
||||
|
.ui-icon-carat-2-e-w { background-position: -144px 0; } |
||||
|
.ui-icon-triangle-1-n { background-position: 0 -16px; } |
||||
|
.ui-icon-triangle-1-ne { background-position: -16px -16px; } |
||||
|
.ui-icon-triangle-1-e { background-position: -32px -16px; } |
||||
|
.ui-icon-triangle-1-se { background-position: -48px -16px; } |
||||
|
.ui-icon-triangle-1-s { background-position: -64px -16px; } |
||||
|
.ui-icon-triangle-1-sw { background-position: -80px -16px; } |
||||
|
.ui-icon-triangle-1-w { background-position: -96px -16px; } |
||||
|
.ui-icon-triangle-1-nw { background-position: -112px -16px; } |
||||
|
.ui-icon-triangle-2-n-s { background-position: -128px -16px; } |
||||
|
.ui-icon-triangle-2-e-w { background-position: -144px -16px; } |
||||
|
.ui-icon-arrow-1-n { background-position: 0 -32px; } |
||||
|
.ui-icon-arrow-1-ne { background-position: -16px -32px; } |
||||
|
.ui-icon-arrow-1-e { background-position: -32px -32px; } |
||||
|
.ui-icon-arrow-1-se { background-position: -48px -32px; } |
||||
|
.ui-icon-arrow-1-s { background-position: -64px -32px; } |
||||
|
.ui-icon-arrow-1-sw { background-position: -80px -32px; } |
||||
|
.ui-icon-arrow-1-w { background-position: -96px -32px; } |
||||
|
.ui-icon-arrow-1-nw { background-position: -112px -32px; } |
||||
|
.ui-icon-arrow-2-n-s { background-position: -128px -32px; } |
||||
|
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } |
||||
|
.ui-icon-arrow-2-e-w { background-position: -160px -32px; } |
||||
|
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } |
||||
|
.ui-icon-arrowstop-1-n { background-position: -192px -32px; } |
||||
|
.ui-icon-arrowstop-1-e { background-position: -208px -32px; } |
||||
|
.ui-icon-arrowstop-1-s { background-position: -224px -32px; } |
||||
|
.ui-icon-arrowstop-1-w { background-position: -240px -32px; } |
||||
|
.ui-icon-arrowthick-1-n { background-position: 0 -48px; } |
||||
|
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } |
||||
|
.ui-icon-arrowthick-1-e { background-position: -32px -48px; } |
||||
|
.ui-icon-arrowthick-1-se { background-position: -48px -48px; } |
||||
|
.ui-icon-arrowthick-1-s { background-position: -64px -48px; } |
||||
|
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } |
||||
|
.ui-icon-arrowthick-1-w { background-position: -96px -48px; } |
||||
|
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } |
||||
|
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } |
||||
|
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } |
||||
|
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } |
||||
|
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } |
||||
|
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } |
||||
|
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } |
||||
|
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } |
||||
|
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } |
||||
|
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } |
||||
|
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } |
||||
|
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } |
||||
|
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } |
||||
|
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } |
||||
|
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } |
||||
|
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } |
||||
|
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } |
||||
|
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } |
||||
|
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } |
||||
|
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } |
||||
|
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } |
||||
|
.ui-icon-arrow-4 { background-position: 0 -80px; } |
||||
|
.ui-icon-arrow-4-diag { background-position: -16px -80px; } |
||||
|
.ui-icon-extlink { background-position: -32px -80px; } |
||||
|
.ui-icon-newwin { background-position: -48px -80px; } |
||||
|
.ui-icon-refresh { background-position: -64px -80px; } |
||||
|
.ui-icon-shuffle { background-position: -80px -80px; } |
||||
|
.ui-icon-transfer-e-w { background-position: -96px -80px; } |
||||
|
.ui-icon-transferthick-e-w { background-position: -112px -80px; } |
||||
|
.ui-icon-folder-collapsed { background-position: 0 -96px; } |
||||
|
.ui-icon-folder-open { background-position: -16px -96px; } |
||||
|
.ui-icon-document { background-position: -32px -96px; } |
||||
|
.ui-icon-document-b { background-position: -48px -96px; } |
||||
|
.ui-icon-note { background-position: -64px -96px; } |
||||
|
.ui-icon-mail-closed { background-position: -80px -96px; } |
||||
|
.ui-icon-mail-open { background-position: -96px -96px; } |
||||
|
.ui-icon-suitcase { background-position: -112px -96px; } |
||||
|
.ui-icon-comment { background-position: -128px -96px; } |
||||
|
.ui-icon-person { background-position: -144px -96px; } |
||||
|
.ui-icon-print { background-position: -160px -96px; } |
||||
|
.ui-icon-trash { background-position: -176px -96px; } |
||||
|
.ui-icon-locked { background-position: -192px -96px; } |
||||
|
.ui-icon-unlocked { background-position: -208px -96px; } |
||||
|
.ui-icon-bookmark { background-position: -224px -96px; } |
||||
|
.ui-icon-tag { background-position: -240px -96px; } |
||||
|
.ui-icon-home { background-position: 0 -112px; } |
||||
|
.ui-icon-flag { background-position: -16px -112px; } |
||||
|
.ui-icon-calendar { background-position: -32px -112px; } |
||||
|
.ui-icon-cart { background-position: -48px -112px; } |
||||
|
.ui-icon-pencil { background-position: -64px -112px; } |
||||
|
.ui-icon-clock { background-position: -80px -112px; } |
||||
|
.ui-icon-disk { background-position: -96px -112px; } |
||||
|
.ui-icon-calculator { background-position: -112px -112px; } |
||||
|
.ui-icon-zoomin { background-position: -128px -112px; } |
||||
|
.ui-icon-zoomout { background-position: -144px -112px; } |
||||
|
.ui-icon-search { background-position: -160px -112px; } |
||||
|
.ui-icon-wrench { background-position: -176px -112px; } |
||||
|
.ui-icon-gear { background-position: -192px -112px; } |
||||
|
.ui-icon-heart { background-position: -208px -112px; } |
||||
|
.ui-icon-star { background-position: -224px -112px; } |
||||
|
.ui-icon-link { background-position: -240px -112px; } |
||||
|
.ui-icon-cancel { background-position: 0 -128px; } |
||||
|
.ui-icon-plus { background-position: -16px -128px; } |
||||
|
.ui-icon-plusthick { background-position: -32px -128px; } |
||||
|
.ui-icon-minus { background-position: -48px -128px; } |
||||
|
.ui-icon-minusthick { background-position: -64px -128px; } |
||||
|
.ui-icon-close { background-position: -80px -128px; } |
||||
|
.ui-icon-closethick { background-position: -96px -128px; } |
||||
|
.ui-icon-key { background-position: -112px -128px; } |
||||
|
.ui-icon-lightbulb { background-position: -128px -128px; } |
||||
|
.ui-icon-scissors { background-position: -144px -128px; } |
||||
|
.ui-icon-clipboard { background-position: -160px -128px; } |
||||
|
.ui-icon-copy { background-position: -176px -128px; } |
||||
|
.ui-icon-contact { background-position: -192px -128px; } |
||||
|
.ui-icon-image { background-position: -208px -128px; } |
||||
|
.ui-icon-video { background-position: -224px -128px; } |
||||
|
.ui-icon-script { background-position: -240px -128px; } |
||||
|
.ui-icon-alert { background-position: 0 -144px; } |
||||
|
.ui-icon-info { background-position: -16px -144px; } |
||||
|
.ui-icon-notice { background-position: -32px -144px; } |
||||
|
.ui-icon-help { background-position: -48px -144px; } |
||||
|
.ui-icon-check { background-position: -64px -144px; } |
||||
|
.ui-icon-bullet { background-position: -80px -144px; } |
||||
|
.ui-icon-radio-off { background-position: -96px -144px; } |
||||
|
.ui-icon-radio-on { background-position: -112px -144px; } |
||||
|
.ui-icon-pin-w { background-position: -128px -144px; } |
||||
|
.ui-icon-pin-s { background-position: -144px -144px; } |
||||
|
.ui-icon-play { background-position: 0 -160px; } |
||||
|
.ui-icon-pause { background-position: -16px -160px; } |
||||
|
.ui-icon-seek-next { background-position: -32px -160px; } |
||||
|
.ui-icon-seek-prev { background-position: -48px -160px; } |
||||
|
.ui-icon-seek-end { background-position: -64px -160px; } |
||||
|
.ui-icon-seek-start { background-position: -80px -160px; } |
||||
|
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ |
||||
|
.ui-icon-seek-first { background-position: -80px -160px; } |
||||
|
.ui-icon-stop { background-position: -96px -160px; } |
||||
|
.ui-icon-eject { background-position: -112px -160px; } |
||||
|
.ui-icon-volume-off { background-position: -128px -160px; } |
||||
|
.ui-icon-volume-on { background-position: -144px -160px; } |
||||
|
.ui-icon-power { background-position: 0 -176px; } |
||||
|
.ui-icon-signal-diag { background-position: -16px -176px; } |
||||
|
.ui-icon-signal { background-position: -32px -176px; } |
||||
|
.ui-icon-battery-0 { background-position: -48px -176px; } |
||||
|
.ui-icon-battery-1 { background-position: -64px -176px; } |
||||
|
.ui-icon-battery-2 { background-position: -80px -176px; } |
||||
|
.ui-icon-battery-3 { background-position: -96px -176px; } |
||||
|
.ui-icon-circle-plus { background-position: 0 -192px; } |
||||
|
.ui-icon-circle-minus { background-position: -16px -192px; } |
||||
|
.ui-icon-circle-close { background-position: -32px -192px; } |
||||
|
.ui-icon-circle-triangle-e { background-position: -48px -192px; } |
||||
|
.ui-icon-circle-triangle-s { background-position: -64px -192px; } |
||||
|
.ui-icon-circle-triangle-w { background-position: -80px -192px; } |
||||
|
.ui-icon-circle-triangle-n { background-position: -96px -192px; } |
||||
|
.ui-icon-circle-arrow-e { background-position: -112px -192px; } |
||||
|
.ui-icon-circle-arrow-s { background-position: -128px -192px; } |
||||
|
.ui-icon-circle-arrow-w { background-position: -144px -192px; } |
||||
|
.ui-icon-circle-arrow-n { background-position: -160px -192px; } |
||||
|
.ui-icon-circle-zoomin { background-position: -176px -192px; } |
||||
|
.ui-icon-circle-zoomout { background-position: -192px -192px; } |
||||
|
.ui-icon-circle-check { background-position: -208px -192px; } |
||||
|
.ui-icon-circlesmall-plus { background-position: 0 -208px; } |
||||
|
.ui-icon-circlesmall-minus { background-position: -16px -208px; } |
||||
|
.ui-icon-circlesmall-close { background-position: -32px -208px; } |
||||
|
.ui-icon-squaresmall-plus { background-position: -48px -208px; } |
||||
|
.ui-icon-squaresmall-minus { background-position: -64px -208px; } |
||||
|
.ui-icon-squaresmall-close { background-position: -80px -208px; } |
||||
|
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } |
||||
|
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } |
||||
|
.ui-icon-grip-solid-vertical { background-position: -32px -224px; } |
||||
|
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } |
||||
|
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } |
||||
|
.ui-icon-grip-diagonal-se { background-position: -80px -224px; } |
||||
|
|
||||
|
|
||||
|
/* Misc visuals |
||||
|
----------------------------------*/ |
||||
|
|
||||
|
/* Corner radius */ |
||||
|
.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; } |
||||
|
.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; } |
||||
|
.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } |
||||
|
.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } |
||||
|
.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; } |
||||
|
.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } |
||||
|
.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } |
||||
|
.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } |
||||
|
.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; } |
||||
|
|
||||
|
/* Overlays */ |
||||
|
.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } |
||||
|
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/* |
||||
|
* jQuery UI Resizable @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Resizable#theming |
||||
|
*/ |
||||
|
.ui-resizable { position: relative;} |
||||
|
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} |
||||
|
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } |
||||
|
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } |
||||
|
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } |
||||
|
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } |
||||
|
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } |
||||
|
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } |
||||
|
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } |
||||
|
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } |
||||
|
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* |
||||
|
* jQuery UI Selectable @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Selectable#theming |
||||
|
*/ |
||||
|
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } |
||||
|
/* |
||||
|
* jQuery UI Accordion @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Accordion#theming |
||||
|
*/ |
||||
|
/* IE/Win - Fix animation bug - #4615 */ |
||||
|
.ui-accordion { width: 100%; } |
||||
|
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } |
||||
|
.ui-accordion .ui-accordion-li-fix { display: inline; } |
||||
|
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } |
||||
|
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } |
||||
|
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } |
||||
|
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } |
||||
|
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } |
||||
|
.ui-accordion .ui-accordion-content-active { display: block; }/* |
||||
|
* jQuery UI Autocomplete @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Autocomplete#theming |
||||
|
*/ |
||||
|
.ui-autocomplete { position: absolute; cursor: default; } |
||||
|
|
||||
|
/* workarounds */ |
||||
|
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ |
||||
|
|
||||
|
/* |
||||
|
* jQuery UI Menu @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Menu#theming |
||||
|
*/ |
||||
|
.ui-menu { |
||||
|
list-style:none; |
||||
|
padding: 2px; |
||||
|
margin: 0; |
||||
|
display:block; |
||||
|
float: left; |
||||
|
} |
||||
|
.ui-menu .ui-menu { |
||||
|
margin-top: -3px; |
||||
|
} |
||||
|
.ui-menu .ui-menu-item { |
||||
|
margin:0; |
||||
|
padding: 0; |
||||
|
zoom: 1; |
||||
|
float: left; |
||||
|
clear: left; |
||||
|
width: 100%; |
||||
|
} |
||||
|
.ui-menu .ui-menu-item a { |
||||
|
text-decoration:none; |
||||
|
display:block; |
||||
|
padding:.2em .4em; |
||||
|
line-height:1.5; |
||||
|
zoom:1; |
||||
|
} |
||||
|
.ui-menu .ui-menu-item a.ui-state-hover, |
||||
|
.ui-menu .ui-menu-item a.ui-state-active { |
||||
|
font-weight: normal; |
||||
|
margin: -1px; |
||||
|
} |
||||
|
/* |
||||
|
* jQuery UI Button @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Button#theming |
||||
|
*/ |
||||
|
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ |
||||
|
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ |
||||
|
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ |
||||
|
.ui-button-icons-only { width: 3.4em; } |
||||
|
button.ui-button-icons-only { width: 3.7em; } |
||||
|
|
||||
|
/*button text element */ |
||||
|
.ui-button .ui-button-text { display: block; line-height: 1.4; } |
||||
|
.ui-button-text-only .ui-button-text { padding: .4em 1em; } |
||||
|
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } |
||||
|
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } |
||||
|
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } |
||||
|
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } |
||||
|
/* no icon support for input elements, provide padding by default */ |
||||
|
input.ui-button { padding: .4em 1em; } |
||||
|
|
||||
|
/*button icon element(s) */ |
||||
|
.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } |
||||
|
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } |
||||
|
.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } |
||||
|
.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } |
||||
|
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } |
||||
|
|
||||
|
/*button sets*/ |
||||
|
.ui-buttonset { margin-right: 7px; } |
||||
|
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } |
||||
|
|
||||
|
/* workarounds */ |
||||
|
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ |
||||
|
/* |
||||
|
* jQuery UI Dialog @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Dialog#theming |
||||
|
*/ |
||||
|
.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } |
||||
|
.ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; } |
||||
|
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; } |
||||
|
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } |
||||
|
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } |
||||
|
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } |
||||
|
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } |
||||
|
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } |
||||
|
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } |
||||
|
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } |
||||
|
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } |
||||
|
.ui-draggable .ui-dialog-titlebar { cursor: move; } |
||||
|
/* |
||||
|
* jQuery UI Slider @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Slider#theming |
||||
|
*/ |
||||
|
.ui-slider { position: relative; text-align: left; } |
||||
|
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } |
||||
|
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } |
||||
|
|
||||
|
.ui-slider-horizontal { height: .8em; } |
||||
|
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } |
||||
|
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } |
||||
|
.ui-slider-horizontal .ui-slider-range-min { left: 0; } |
||||
|
.ui-slider-horizontal .ui-slider-range-max { right: 0; } |
||||
|
|
||||
|
.ui-slider-vertical { width: .8em; height: 100px; } |
||||
|
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } |
||||
|
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } |
||||
|
.ui-slider-vertical .ui-slider-range-min { bottom: 0; } |
||||
|
.ui-slider-vertical .ui-slider-range-max { top: 0; }/* |
||||
|
* jQuery UI Tabs @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Tabs#theming |
||||
|
*/ |
||||
|
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ |
||||
|
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } |
||||
|
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } |
||||
|
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } |
||||
|
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } |
||||
|
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } |
||||
|
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ |
||||
|
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } |
||||
|
.ui-tabs .ui-tabs-hide { display: none !important; } |
||||
|
/* |
||||
|
* jQuery UI Datepicker @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Datepicker#theming |
||||
|
*/ |
||||
|
.ui-datepicker { width: 17em; padding: .2em .2em 0; } |
||||
|
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } |
||||
|
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } |
||||
|
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } |
||||
|
.ui-datepicker .ui-datepicker-prev { left:2px; } |
||||
|
.ui-datepicker .ui-datepicker-next { right:2px; } |
||||
|
.ui-datepicker .ui-datepicker-prev-hover { left:1px; } |
||||
|
.ui-datepicker .ui-datepicker-next-hover { right:1px; } |
||||
|
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } |
||||
|
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } |
||||
|
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } |
||||
|
.ui-datepicker select.ui-datepicker-month-year {width: 100%;} |
||||
|
.ui-datepicker select.ui-datepicker-month, |
||||
|
.ui-datepicker select.ui-datepicker-year { width: 49%;} |
||||
|
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } |
||||
|
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } |
||||
|
.ui-datepicker td { border: 0; padding: 1px; } |
||||
|
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } |
||||
|
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } |
||||
|
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } |
||||
|
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } |
||||
|
|
||||
|
/* with multiple calendars */ |
||||
|
.ui-datepicker.ui-datepicker-multi { width:auto; } |
||||
|
.ui-datepicker-multi .ui-datepicker-group { float:left; } |
||||
|
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } |
||||
|
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } |
||||
|
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } |
||||
|
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } |
||||
|
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } |
||||
|
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } |
||||
|
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } |
||||
|
.ui-datepicker-row-break { clear:both; width:100%; } |
||||
|
|
||||
|
/* RTL support */ |
||||
|
.ui-datepicker-rtl { direction: rtl; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-group { float:right; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } |
||||
|
|
||||
|
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ |
||||
|
.ui-datepicker-cover { |
||||
|
display: none; /*sorry for IE5*/ |
||||
|
display/**/: block; /*sorry for IE5*/ |
||||
|
position: absolute; /*must have*/ |
||||
|
z-index: -1; /*must have*/ |
||||
|
filter: mask(); /*must have*/ |
||||
|
top: -4px; /*must have*/ |
||||
|
left: -4px; /*must have*/ |
||||
|
width: 200px; /*must have*/ |
||||
|
height: 200px; /*must have*/ |
||||
|
}/* |
||||
|
* jQuery UI Progressbar @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Progressbar#theming |
||||
|
*/ |
||||
|
.ui-progressbar { height:2em; text-align: left; } |
||||
|
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } |
@ -0,0 +1,19 @@ |
|||||
|
/* |
||||
|
* jQuery UI Accordion @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Accordion#theming |
||||
|
*/ |
||||
|
/* IE/Win - Fix animation bug - #4615 */ |
||||
|
.ui-accordion { width: 100%; } |
||||
|
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } |
||||
|
.ui-accordion .ui-accordion-li-fix { display: inline; } |
||||
|
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } |
||||
|
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } |
||||
|
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } |
||||
|
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } |
||||
|
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } |
||||
|
.ui-accordion .ui-accordion-content-active { display: block; } |
@ -0,0 +1,11 @@ |
|||||
|
/* |
||||
|
* jQuery UI CSS Framework @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Theming |
||||
|
*/ |
||||
|
@import "jquery.ui.base.css"; |
||||
|
@import "jquery.ui.theme.css"; |
@ -0,0 +1,53 @@ |
|||||
|
/* |
||||
|
* jQuery UI Autocomplete @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Autocomplete#theming |
||||
|
*/ |
||||
|
.ui-autocomplete { position: absolute; cursor: default; } |
||||
|
|
||||
|
/* workarounds */ |
||||
|
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ |
||||
|
|
||||
|
/* |
||||
|
* jQuery UI Menu @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Menu#theming |
||||
|
*/ |
||||
|
.ui-menu { |
||||
|
list-style:none; |
||||
|
padding: 2px; |
||||
|
margin: 0; |
||||
|
display:block; |
||||
|
float: left; |
||||
|
} |
||||
|
.ui-menu .ui-menu { |
||||
|
margin-top: -3px; |
||||
|
} |
||||
|
.ui-menu .ui-menu-item { |
||||
|
margin:0; |
||||
|
padding: 0; |
||||
|
zoom: 1; |
||||
|
float: left; |
||||
|
clear: left; |
||||
|
width: 100%; |
||||
|
} |
||||
|
.ui-menu .ui-menu-item a { |
||||
|
text-decoration:none; |
||||
|
display:block; |
||||
|
padding:.2em .4em; |
||||
|
line-height:1.5; |
||||
|
zoom:1; |
||||
|
} |
||||
|
.ui-menu .ui-menu-item a.ui-state-hover, |
||||
|
.ui-menu .ui-menu-item a.ui-state-active { |
||||
|
font-weight: normal; |
||||
|
margin: -1px; |
||||
|
} |
@ -0,0 +1,11 @@ |
|||||
|
@import url("jquery.ui.core.css"); |
||||
|
@import url("jquery.ui.resizable.css"); |
||||
|
@import url("jquery.ui.selectable.css"); |
||||
|
@import url("jquery.ui.accordion.css"); |
||||
|
@import url("jquery.ui.autocomplete.css"); |
||||
|
@import url("jquery.ui.button.css"); |
||||
|
@import url("jquery.ui.dialog.css"); |
||||
|
@import url("jquery.ui.slider.css"); |
||||
|
@import url("jquery.ui.tabs.css"); |
||||
|
@import url("jquery.ui.datepicker.css"); |
||||
|
@import url("jquery.ui.progressbar.css"); |
@ -0,0 +1,38 @@ |
|||||
|
/* |
||||
|
* jQuery UI Button @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Button#theming |
||||
|
*/ |
||||
|
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ |
||||
|
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ |
||||
|
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ |
||||
|
.ui-button-icons-only { width: 3.4em; } |
||||
|
button.ui-button-icons-only { width: 3.7em; } |
||||
|
|
||||
|
/*button text element */ |
||||
|
.ui-button .ui-button-text { display: block; line-height: 1.4; } |
||||
|
.ui-button-text-only .ui-button-text { padding: .4em 1em; } |
||||
|
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } |
||||
|
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } |
||||
|
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } |
||||
|
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } |
||||
|
/* no icon support for input elements, provide padding by default */ |
||||
|
input.ui-button { padding: .4em 1em; } |
||||
|
|
||||
|
/*button icon element(s) */ |
||||
|
.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } |
||||
|
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } |
||||
|
.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } |
||||
|
.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } |
||||
|
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } |
||||
|
|
||||
|
/*button sets*/ |
||||
|
.ui-buttonset { margin-right: 7px; } |
||||
|
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } |
||||
|
|
||||
|
/* workarounds */ |
||||
|
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ |
@ -0,0 +1,41 @@ |
|||||
|
/* |
||||
|
* jQuery UI CSS Framework @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Theming/API |
||||
|
*/ |
||||
|
|
||||
|
/* Layout helpers |
||||
|
----------------------------------*/ |
||||
|
.ui-helper-hidden { display: none; } |
||||
|
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; } |
||||
|
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } |
||||
|
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } |
||||
|
.ui-helper-clearfix { display: inline-block; } |
||||
|
/* required comment for clearfix to work in Opera \*/ |
||||
|
* html .ui-helper-clearfix { height:1%; } |
||||
|
.ui-helper-clearfix { display:block; } |
||||
|
/* end clearfix */ |
||||
|
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } |
||||
|
|
||||
|
|
||||
|
/* Interaction Cues |
||||
|
----------------------------------*/ |
||||
|
.ui-state-disabled { cursor: default !important; } |
||||
|
|
||||
|
|
||||
|
/* Icons |
||||
|
----------------------------------*/ |
||||
|
|
||||
|
/* states and images */ |
||||
|
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } |
||||
|
|
||||
|
|
||||
|
/* Misc visuals |
||||
|
----------------------------------*/ |
||||
|
|
||||
|
/* Overlays */ |
||||
|
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } |
@ -0,0 +1,68 @@ |
|||||
|
/* |
||||
|
* jQuery UI Datepicker @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Datepicker#theming |
||||
|
*/ |
||||
|
.ui-datepicker { width: 17em; padding: .2em .2em 0; } |
||||
|
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } |
||||
|
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } |
||||
|
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } |
||||
|
.ui-datepicker .ui-datepicker-prev { left:2px; } |
||||
|
.ui-datepicker .ui-datepicker-next { right:2px; } |
||||
|
.ui-datepicker .ui-datepicker-prev-hover { left:1px; } |
||||
|
.ui-datepicker .ui-datepicker-next-hover { right:1px; } |
||||
|
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } |
||||
|
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } |
||||
|
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } |
||||
|
.ui-datepicker select.ui-datepicker-month-year {width: 100%;} |
||||
|
.ui-datepicker select.ui-datepicker-month, |
||||
|
.ui-datepicker select.ui-datepicker-year { width: 49%;} |
||||
|
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } |
||||
|
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } |
||||
|
.ui-datepicker td { border: 0; padding: 1px; } |
||||
|
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } |
||||
|
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } |
||||
|
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } |
||||
|
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } |
||||
|
|
||||
|
/* with multiple calendars */ |
||||
|
.ui-datepicker.ui-datepicker-multi { width:auto; } |
||||
|
.ui-datepicker-multi .ui-datepicker-group { float:left; } |
||||
|
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } |
||||
|
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } |
||||
|
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } |
||||
|
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } |
||||
|
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } |
||||
|
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } |
||||
|
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } |
||||
|
.ui-datepicker-row-break { clear:both; width:100%; } |
||||
|
|
||||
|
/* RTL support */ |
||||
|
.ui-datepicker-rtl { direction: rtl; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-group { float:right; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } |
||||
|
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } |
||||
|
|
||||
|
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ |
||||
|
.ui-datepicker-cover { |
||||
|
display: none; /*sorry for IE5*/ |
||||
|
display/**/: block; /*sorry for IE5*/ |
||||
|
position: absolute; /*must have*/ |
||||
|
z-index: -1; /*must have*/ |
||||
|
filter: mask(); /*must have*/ |
||||
|
top: -4px; /*must have*/ |
||||
|
left: -4px; /*must have*/ |
||||
|
width: 200px; /*must have*/ |
||||
|
height: 200px; /*must have*/ |
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
/* |
||||
|
* jQuery UI Dialog @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Dialog#theming |
||||
|
*/ |
||||
|
.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } |
||||
|
.ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; } |
||||
|
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; } |
||||
|
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } |
||||
|
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } |
||||
|
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } |
||||
|
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } |
||||
|
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } |
||||
|
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } |
||||
|
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } |
||||
|
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } |
||||
|
.ui-draggable .ui-dialog-titlebar { cursor: move; } |
@ -0,0 +1,11 @@ |
|||||
|
/* |
||||
|
* jQuery UI Progressbar @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Progressbar#theming |
||||
|
*/ |
||||
|
.ui-progressbar { height:2em; text-align: left; } |
||||
|
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } |
@ -0,0 +1,20 @@ |
|||||
|
/* |
||||
|
* jQuery UI Resizable @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Resizable#theming |
||||
|
*/ |
||||
|
.ui-resizable { position: relative;} |
||||
|
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} |
||||
|
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } |
||||
|
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } |
||||
|
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } |
||||
|
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } |
||||
|
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } |
||||
|
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } |
||||
|
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } |
||||
|
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } |
||||
|
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;} |
@ -0,0 +1,10 @@ |
|||||
|
/* |
||||
|
* jQuery UI Selectable @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Selectable#theming |
||||
|
*/ |
||||
|
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } |
@ -0,0 +1,24 @@ |
|||||
|
/* |
||||
|
* jQuery UI Slider @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Slider#theming |
||||
|
*/ |
||||
|
.ui-slider { position: relative; text-align: left; } |
||||
|
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } |
||||
|
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } |
||||
|
|
||||
|
.ui-slider-horizontal { height: .8em; } |
||||
|
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } |
||||
|
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } |
||||
|
.ui-slider-horizontal .ui-slider-range-min { left: 0; } |
||||
|
.ui-slider-horizontal .ui-slider-range-max { right: 0; } |
||||
|
|
||||
|
.ui-slider-vertical { width: .8em; height: 100px; } |
||||
|
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } |
||||
|
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } |
||||
|
.ui-slider-vertical .ui-slider-range-min { bottom: 0; } |
||||
|
.ui-slider-vertical .ui-slider-range-max { top: 0; } |
@ -0,0 +1,18 @@ |
|||||
|
/* |
||||
|
* jQuery UI Tabs @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Tabs#theming |
||||
|
*/ |
||||
|
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ |
||||
|
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } |
||||
|
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } |
||||
|
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } |
||||
|
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } |
||||
|
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } |
||||
|
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ |
||||
|
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } |
||||
|
.ui-tabs .ui-tabs-hide { display: none !important; } |
@ -0,0 +1,254 @@ |
|||||
|
|
||||
|
|
||||
|
/* |
||||
|
* jQuery UI CSS Framework @VERSION |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license |
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Theming/API |
||||
|
* |
||||
|
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px |
||||
|
*/ |
||||
|
|
||||
|
|
||||
|
/* Component containers |
||||
|
----------------------------------*/ |
||||
|
.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; } |
||||
|
.ui-widget .ui-widget { font-size: 1em; } |
||||
|
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; } |
||||
|
.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; } |
||||
|
.ui-widget-content a { color: #222222; } |
||||
|
.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; } |
||||
|
.ui-widget-header a { color: #222222; } |
||||
|
|
||||
|
/* Interaction states |
||||
|
----------------------------------*/ |
||||
|
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; } |
||||
|
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; } |
||||
|
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; } |
||||
|
.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; } |
||||
|
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; } |
||||
|
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; } |
||||
|
.ui-widget :active { outline: none; } |
||||
|
|
||||
|
/* Interaction Cues |
||||
|
----------------------------------*/ |
||||
|
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; } |
||||
|
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } |
||||
|
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; } |
||||
|
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; } |
||||
|
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; } |
||||
|
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } |
||||
|
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } |
||||
|
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } |
||||
|
|
||||
|
/* Icons |
||||
|
----------------------------------*/ |
||||
|
|
||||
|
/* states and images */ |
||||
|
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } |
||||
|
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } |
||||
|
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } |
||||
|
.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); } |
||||
|
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); } |
||||
|
.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); } |
||||
|
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); } |
||||
|
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); } |
||||
|
|
||||
|
/* positioning */ |
||||
|
.ui-icon-carat-1-n { background-position: 0 0; } |
||||
|
.ui-icon-carat-1-ne { background-position: -16px 0; } |
||||
|
.ui-icon-carat-1-e { background-position: -32px 0; } |
||||
|
.ui-icon-carat-1-se { background-position: -48px 0; } |
||||
|
.ui-icon-carat-1-s { background-position: -64px 0; } |
||||
|
.ui-icon-carat-1-sw { background-position: -80px 0; } |
||||
|
.ui-icon-carat-1-w { background-position: -96px 0; } |
||||
|
.ui-icon-carat-1-nw { background-position: -112px 0; } |
||||
|
.ui-icon-carat-2-n-s { background-position: -128px 0; } |
||||
|
.ui-icon-carat-2-e-w { background-position: -144px 0; } |
||||
|
.ui-icon-triangle-1-n { background-position: 0 -16px; } |
||||
|
.ui-icon-triangle-1-ne { background-position: -16px -16px; } |
||||
|
.ui-icon-triangle-1-e { background-position: -32px -16px; } |
||||
|
.ui-icon-triangle-1-se { background-position: -48px -16px; } |
||||
|
.ui-icon-triangle-1-s { background-position: -64px -16px; } |
||||
|
.ui-icon-triangle-1-sw { background-position: -80px -16px; } |
||||
|
.ui-icon-triangle-1-w { background-position: -96px -16px; } |
||||
|
.ui-icon-triangle-1-nw { background-position: -112px -16px; } |
||||
|
.ui-icon-triangle-2-n-s { background-position: -128px -16px; } |
||||
|
.ui-icon-triangle-2-e-w { background-position: -144px -16px; } |
||||
|
.ui-icon-arrow-1-n { background-position: 0 -32px; } |
||||
|
.ui-icon-arrow-1-ne { background-position: -16px -32px; } |
||||
|
.ui-icon-arrow-1-e { background-position: -32px -32px; } |
||||
|
.ui-icon-arrow-1-se { background-position: -48px -32px; } |
||||
|
.ui-icon-arrow-1-s { background-position: -64px -32px; } |
||||
|
.ui-icon-arrow-1-sw { background-position: -80px -32px; } |
||||
|
.ui-icon-arrow-1-w { background-position: -96px -32px; } |
||||
|
.ui-icon-arrow-1-nw { background-position: -112px -32px; } |
||||
|
.ui-icon-arrow-2-n-s { background-position: -128px -32px; } |
||||
|
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } |
||||
|
.ui-icon-arrow-2-e-w { background-position: -160px -32px; } |
||||
|
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } |
||||
|
.ui-icon-arrowstop-1-n { background-position: -192px -32px; } |
||||
|
.ui-icon-arrowstop-1-e { background-position: -208px -32px; } |
||||
|
.ui-icon-arrowstop-1-s { background-position: -224px -32px; } |
||||
|
.ui-icon-arrowstop-1-w { background-position: -240px -32px; } |
||||
|
.ui-icon-arrowthick-1-n { background-position: 0 -48px; } |
||||
|
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } |
||||
|
.ui-icon-arrowthick-1-e { background-position: -32px -48px; } |
||||
|
.ui-icon-arrowthick-1-se { background-position: -48px -48px; } |
||||
|
.ui-icon-arrowthick-1-s { background-position: -64px -48px; } |
||||
|
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } |
||||
|
.ui-icon-arrowthick-1-w { background-position: -96px -48px; } |
||||
|
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } |
||||
|
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } |
||||
|
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } |
||||
|
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } |
||||
|
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } |
||||
|
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } |
||||
|
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } |
||||
|
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } |
||||
|
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } |
||||
|
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } |
||||
|
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } |
||||
|
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } |
||||
|
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } |
||||
|
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } |
||||
|
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } |
||||
|
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } |
||||
|
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } |
||||
|
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } |
||||
|
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } |
||||
|
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } |
||||
|
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } |
||||
|
.ui-icon-arrow-4 { background-position: 0 -80px; } |
||||
|
.ui-icon-arrow-4-diag { background-position: -16px -80px; } |
||||
|
.ui-icon-extlink { background-position: -32px -80px; } |
||||
|
.ui-icon-newwin { background-position: -48px -80px; } |
||||
|
.ui-icon-refresh { background-position: -64px -80px; } |
||||
|
.ui-icon-shuffle { background-position: -80px -80px; } |
||||
|
.ui-icon-transfer-e-w { background-position: -96px -80px; } |
||||
|
.ui-icon-transferthick-e-w { background-position: -112px -80px; } |
||||
|
.ui-icon-folder-collapsed { background-position: 0 -96px; } |
||||
|
.ui-icon-folder-open { background-position: -16px -96px; } |
||||
|
.ui-icon-document { background-position: -32px -96px; } |
||||
|
.ui-icon-document-b { background-position: -48px -96px; } |
||||
|
.ui-icon-note { background-position: -64px -96px; } |
||||
|
.ui-icon-mail-closed { background-position: -80px -96px; } |
||||
|
.ui-icon-mail-open { background-position: -96px -96px; } |
||||
|
.ui-icon-suitcase { background-position: -112px -96px; } |
||||
|
.ui-icon-comment { background-position: -128px -96px; } |
||||
|
.ui-icon-person { background-position: -144px -96px; } |
||||
|
.ui-icon-print { background-position: -160px -96px; } |
||||
|
.ui-icon-trash { background-position: -176px -96px; } |
||||
|
.ui-icon-locked { background-position: -192px -96px; } |
||||
|
.ui-icon-unlocked { background-position: -208px -96px; } |
||||
|
.ui-icon-bookmark { background-position: -224px -96px; } |
||||
|
.ui-icon-tag { background-position: -240px -96px; } |
||||
|
.ui-icon-home { background-position: 0 -112px; } |
||||
|
.ui-icon-flag { background-position: -16px -112px; } |
||||
|
.ui-icon-calendar { background-position: -32px -112px; } |
||||
|
.ui-icon-cart { background-position: -48px -112px; } |
||||
|
.ui-icon-pencil { background-position: -64px -112px; } |
||||
|
.ui-icon-clock { background-position: -80px -112px; } |
||||
|
.ui-icon-disk { background-position: -96px -112px; } |
||||
|
.ui-icon-calculator { background-position: -112px -112px; } |
||||
|
.ui-icon-zoomin { background-position: -128px -112px; } |
||||
|
.ui-icon-zoomout { background-position: -144px -112px; } |
||||
|
.ui-icon-search { background-position: -160px -112px; } |
||||
|
.ui-icon-wrench { background-position: -176px -112px; } |
||||
|
.ui-icon-gear { background-position: -192px -112px; } |
||||
|
.ui-icon-heart { background-position: -208px -112px; } |
||||
|
.ui-icon-star { background-position: -224px -112px; } |
||||
|
.ui-icon-link { background-position: -240px -112px; } |
||||
|
.ui-icon-cancel { background-position: 0 -128px; } |
||||
|
.ui-icon-plus { background-position: -16px -128px; } |
||||
|
.ui-icon-plusthick { background-position: -32px -128px; } |
||||
|
.ui-icon-minus { background-position: -48px -128px; } |
||||
|
.ui-icon-minusthick { background-position: -64px -128px; } |
||||
|
.ui-icon-close { background-position: -80px -128px; } |
||||
|
.ui-icon-closethick { background-position: -96px -128px; } |
||||
|
.ui-icon-key { background-position: -112px -128px; } |
||||
|
.ui-icon-lightbulb { background-position: -128px -128px; } |
||||
|
.ui-icon-scissors { background-position: -144px -128px; } |
||||
|
.ui-icon-clipboard { background-position: -160px -128px; } |
||||
|
.ui-icon-copy { background-position: -176px -128px; } |
||||
|
.ui-icon-contact { background-position: -192px -128px; } |
||||
|
.ui-icon-image { background-position: -208px -128px; } |
||||
|
.ui-icon-video { background-position: -224px -128px; } |
||||
|
.ui-icon-script { background-position: -240px -128px; } |
||||
|
.ui-icon-alert { background-position: 0 -144px; } |
||||
|
.ui-icon-info { background-position: -16px -144px; } |
||||
|
.ui-icon-notice { background-position: -32px -144px; } |
||||
|
.ui-icon-help { background-position: -48px -144px; } |
||||
|
.ui-icon-check { background-position: -64px -144px; } |
||||
|
.ui-icon-bullet { background-position: -80px -144px; } |
||||
|
.ui-icon-radio-off { background-position: -96px -144px; } |
||||
|
.ui-icon-radio-on { background-position: -112px -144px; } |
||||
|
.ui-icon-pin-w { background-position: -128px -144px; } |
||||
|
.ui-icon-pin-s { background-position: -144px -144px; } |
||||
|
.ui-icon-play { background-position: 0 -160px; } |
||||
|
.ui-icon-pause { background-position: -16px -160px; } |
||||
|
.ui-icon-seek-next { background-position: -32px -160px; } |
||||
|
.ui-icon-seek-prev { background-position: -48px -160px; } |
||||
|
.ui-icon-seek-end { background-position: -64px -160px; } |
||||
|
.ui-icon-seek-start { background-position: -80px -160px; } |
||||
|
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ |
||||
|
.ui-icon-seek-first { background-position: -80px -160px; } |
||||
|
.ui-icon-stop { background-position: -96px -160px; } |
||||
|
.ui-icon-eject { background-position: -112px -160px; } |
||||
|
.ui-icon-volume-off { background-position: -128px -160px; } |
||||
|
.ui-icon-volume-on { background-position: -144px -160px; } |
||||
|
.ui-icon-power { background-position: 0 -176px; } |
||||
|
.ui-icon-signal-diag { background-position: -16px -176px; } |
||||
|
.ui-icon-signal { background-position: -32px -176px; } |
||||
|
.ui-icon-battery-0 { background-position: -48px -176px; } |
||||
|
.ui-icon-battery-1 { background-position: -64px -176px; } |
||||
|
.ui-icon-battery-2 { background-position: -80px -176px; } |
||||
|
.ui-icon-battery-3 { background-position: -96px -176px; } |
||||
|
.ui-icon-circle-plus { background-position: 0 -192px; } |
||||
|
.ui-icon-circle-minus { background-position: -16px -192px; } |
||||
|
.ui-icon-circle-close { background-position: -32px -192px; } |
||||
|
.ui-icon-circle-triangle-e { background-position: -48px -192px; } |
||||
|
.ui-icon-circle-triangle-s { background-position: -64px -192px; } |
||||
|
.ui-icon-circle-triangle-w { background-position: -80px -192px; } |
||||
|
.ui-icon-circle-triangle-n { background-position: -96px -192px; } |
||||
|
.ui-icon-circle-arrow-e { background-position: -112px -192px; } |
||||
|
.ui-icon-circle-arrow-s { background-position: -128px -192px; } |
||||
|
.ui-icon-circle-arrow-w { background-position: -144px -192px; } |
||||
|
.ui-icon-circle-arrow-n { background-position: -160px -192px; } |
||||
|
.ui-icon-circle-zoomin { background-position: -176px -192px; } |
||||
|
.ui-icon-circle-zoomout { background-position: -192px -192px; } |
||||
|
.ui-icon-circle-check { background-position: -208px -192px; } |
||||
|
.ui-icon-circlesmall-plus { background-position: 0 -208px; } |
||||
|
.ui-icon-circlesmall-minus { background-position: -16px -208px; } |
||||
|
.ui-icon-circlesmall-close { background-position: -32px -208px; } |
||||
|
.ui-icon-squaresmall-plus { background-position: -48px -208px; } |
||||
|
.ui-icon-squaresmall-minus { background-position: -64px -208px; } |
||||
|
.ui-icon-squaresmall-close { background-position: -80px -208px; } |
||||
|
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } |
||||
|
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } |
||||
|
.ui-icon-grip-solid-vertical { background-position: -32px -224px; } |
||||
|
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } |
||||
|
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } |
||||
|
.ui-icon-grip-diagonal-se { background-position: -80px -224px; } |
||||
|
|
||||
|
|
||||
|
/* Misc visuals |
||||
|
----------------------------------*/ |
||||
|
|
||||
|
/* Corner radius */ |
||||
|
.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; } |
||||
|
.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; } |
||||
|
.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } |
||||
|
.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } |
||||
|
.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; } |
||||
|
.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } |
||||
|
.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } |
||||
|
.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } |
||||
|
.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; } |
||||
|
|
||||
|
/* Overlays */ |
||||
|
.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } |
||||
|
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; } |
@ -0,0 +1,23 @@ |
|||||
|
/* Afrikaans initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Renier Pretorius. */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['af'] = { |
||||
|
closeText: 'Selekteer', |
||||
|
prevText: 'Vorige', |
||||
|
nextText: 'Volgende', |
||||
|
currentText: 'Vandag', |
||||
|
monthNames: ['Januarie','Februarie','Maart','April','Mei','Junie', |
||||
|
'Julie','Augustus','September','Oktober','November','Desember'], |
||||
|
monthNamesShort: ['Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun', |
||||
|
'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'], |
||||
|
dayNames: ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'], |
||||
|
dayNamesShort: ['Son', 'Maa', 'Din', 'Woe', 'Don', 'Vry', 'Sat'], |
||||
|
dayNamesMin: ['So','Ma','Di','Wo','Do','Vr','Sa'], |
||||
|
weekHeader: 'Wk', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['af']); |
||||
|
}); |
@ -0,0 +1,24 @@ |
|||||
|
/* Arabic Translation for jQuery UI date picker plugin. */ |
||||
|
/* Khaled Al Horani -- koko.dw@gmail.com */ |
||||
|
/* خالد الحوراني -- koko.dw@gmail.com */ |
||||
|
/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ar'] = { |
||||
|
closeText: 'إغلاق', |
||||
|
prevText: '<السابق', |
||||
|
nextText: 'التالي>', |
||||
|
currentText: 'اليوم', |
||||
|
monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران', |
||||
|
'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'], |
||||
|
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], |
||||
|
dayNames: ['السبت', 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة'], |
||||
|
dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], |
||||
|
dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], |
||||
|
weekHeader: 'أسبوع', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 0, |
||||
|
isRTL: true, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ar']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Jamil Najafov (necefov33@gmail.com). */ |
||||
|
jQuery(function($) { |
||||
|
$.datepicker.regional['az'] = { |
||||
|
closeText: 'Bağla', |
||||
|
prevText: '<Geri', |
||||
|
nextText: 'İrəli>', |
||||
|
currentText: 'Bugün', |
||||
|
monthNames: ['Yanvar','Fevral','Mart','Aprel','May','İyun', |
||||
|
'İyul','Avqust','Sentyabr','Oktyabr','Noyabr','Dekabr'], |
||||
|
monthNamesShort: ['Yan','Fev','Mar','Apr','May','İyun', |
||||
|
'İyul','Avq','Sen','Okt','Noy','Dek'], |
||||
|
dayNames: ['Bazar','Bazar ertəsi','Çərşənbə axşamı','Çərşənbə','Cümə axşamı','Cümə','Şənbə'], |
||||
|
dayNamesShort: ['B','Be','Ça','Ç','Ca','C','Ş'], |
||||
|
dayNamesMin: ['B','B','Ç','С','Ç','C','Ş'], |
||||
|
weekHeader: 'Hf', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['az']); |
||||
|
}); |
@ -0,0 +1,24 @@ |
|||||
|
/* Bulgarian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Stoyan Kyosev (http://svest.org). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['bg'] = { |
||||
|
closeText: 'затвори', |
||||
|
prevText: '<назад', |
||||
|
nextText: 'напред>', |
||||
|
nextBigText: '>>', |
||||
|
currentText: 'днес', |
||||
|
monthNames: ['Януари','Февруари','Март','Април','Май','Юни', |
||||
|
'Юли','Август','Септември','Октомври','Ноември','Декември'], |
||||
|
monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни', |
||||
|
'Юли','Авг','Сеп','Окт','Нов','Дек'], |
||||
|
dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'], |
||||
|
dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'], |
||||
|
dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'], |
||||
|
weekHeader: 'Wk', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['bg']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Bosnian i18n for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Kenan Konjo. */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['bs'] = { |
||||
|
closeText: 'Zatvori', |
||||
|
prevText: '<', |
||||
|
nextText: '>', |
||||
|
currentText: 'Danas', |
||||
|
monthNames: ['Januar','Februar','Mart','April','Maj','Juni', |
||||
|
'Juli','August','Septembar','Oktobar','Novembar','Decembar'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', |
||||
|
'Jul','Aug','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['Nedelja','Ponedeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'], |
||||
|
dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'], |
||||
|
dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], |
||||
|
weekHeader: 'Wk', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['bs']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Inicialització en català per a l'extenció 'calendar' per jQuery. */ |
||||
|
/* Writers: (joan.leon@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ca'] = { |
||||
|
closeText: 'Tancar', |
||||
|
prevText: '<Ant', |
||||
|
nextText: 'Seg>', |
||||
|
currentText: 'Avui', |
||||
|
monthNames: ['Gener','Febrer','Març','Abril','Maig','Juny', |
||||
|
'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'], |
||||
|
monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun', |
||||
|
'Jul','Ago','Set','Oct','Nov','Des'], |
||||
|
dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'], |
||||
|
dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'], |
||||
|
dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'], |
||||
|
weekHeader: 'Sm', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ca']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Czech initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Tomas Muller (tomas@tomas-muller.net). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['cs'] = { |
||||
|
closeText: 'Zavřít', |
||||
|
prevText: '<Dříve', |
||||
|
nextText: 'Později>', |
||||
|
currentText: 'Nyní', |
||||
|
monthNames: ['leden','únor','březen','duben','květen','červen', |
||||
|
'červenec','srpen','září','říjen','listopad','prosinec'], |
||||
|
monthNamesShort: ['led','úno','bře','dub','kvě','čer', |
||||
|
'čvc','srp','zář','říj','lis','pro'], |
||||
|
dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'], |
||||
|
dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], |
||||
|
dayNamesMin: ['ne','po','út','st','čt','pá','so'], |
||||
|
weekHeader: 'Týd', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['cs']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Danish initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Jan Christensen ( deletestuff@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['da'] = { |
||||
|
closeText: 'Luk', |
||||
|
prevText: '<Forrige', |
||||
|
nextText: 'Næste>', |
||||
|
currentText: 'Idag', |
||||
|
monthNames: ['Januar','Februar','Marts','April','Maj','Juni', |
||||
|
'Juli','August','September','Oktober','November','December'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', |
||||
|
'Jul','Aug','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], |
||||
|
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], |
||||
|
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], |
||||
|
weekHeader: 'Uge', |
||||
|
dateFormat: 'dd-mm-yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['da']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* German initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Milian Wolff (mail@milianw.de). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['de'] = { |
||||
|
closeText: 'schließen', |
||||
|
prevText: '<zurück', |
||||
|
nextText: 'Vor>', |
||||
|
currentText: 'heute', |
||||
|
monthNames: ['Januar','Februar','März','April','Mai','Juni', |
||||
|
'Juli','August','September','Oktober','November','Dezember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun', |
||||
|
'Jul','Aug','Sep','Okt','Nov','Dez'], |
||||
|
dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], |
||||
|
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], |
||||
|
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], |
||||
|
weekHeader: 'Wo', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['de']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Greek (el) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Alex Cicovic (http://www.alexcicovic.com) */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['el'] = { |
||||
|
closeText: 'Κλείσιμο', |
||||
|
prevText: 'Προηγούμενος', |
||||
|
nextText: 'Επόμενος', |
||||
|
currentText: 'Τρέχων Μήνας', |
||||
|
monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος', |
||||
|
'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'], |
||||
|
monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν', |
||||
|
'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'], |
||||
|
dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'], |
||||
|
dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'], |
||||
|
dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'], |
||||
|
weekHeader: 'Εβδ', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['el']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* English/UK initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Stuart. */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['en-GB'] = { |
||||
|
closeText: 'Done', |
||||
|
prevText: 'Prev', |
||||
|
nextText: 'Next', |
||||
|
currentText: 'Today', |
||||
|
monthNames: ['January','February','March','April','May','June', |
||||
|
'July','August','September','October','November','December'], |
||||
|
monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', |
||||
|
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], |
||||
|
dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], |
||||
|
dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], |
||||
|
dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], |
||||
|
weekHeader: 'Wk', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['en-GB']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Esperanto initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Olivier M. (olivierweb@ifrance.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['eo'] = { |
||||
|
closeText: 'Fermi', |
||||
|
prevText: '<Anta', |
||||
|
nextText: 'Sekv>', |
||||
|
currentText: 'Nuna', |
||||
|
monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio', |
||||
|
'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', |
||||
|
'Jul','Aŭg','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'], |
||||
|
dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'], |
||||
|
dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'], |
||||
|
weekHeader: 'Sb', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 0, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['eo']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Inicialización en español para la extensión 'UI date picker' para jQuery. */ |
||||
|
/* Traducido por Vester (xvester@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['es'] = { |
||||
|
closeText: 'Cerrar', |
||||
|
prevText: '<Ant', |
||||
|
nextText: 'Sig>', |
||||
|
currentText: 'Hoy', |
||||
|
monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio', |
||||
|
'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'], |
||||
|
monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun', |
||||
|
'Jul','Ago','Sep','Oct','Nov','Dic'], |
||||
|
dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'], |
||||
|
dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'], |
||||
|
dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'], |
||||
|
weekHeader: 'Sm', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['es']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Estonian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Mart Sõmermaa (mrts.pydev at gmail com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['et'] = { |
||||
|
closeText: 'Sulge', |
||||
|
prevText: 'Eelnev', |
||||
|
nextText: 'Järgnev', |
||||
|
currentText: 'Täna', |
||||
|
monthNames: ['Jaanuar','Veebruar','Märts','Aprill','Mai','Juuni', |
||||
|
'Juuli','August','September','Oktoober','November','Detsember'], |
||||
|
monthNamesShort: ['Jaan', 'Veebr', 'Märts', 'Apr', 'Mai', 'Juuni', |
||||
|
'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'], |
||||
|
dayNames: ['Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'], |
||||
|
dayNamesShort: ['Pühap', 'Esmasp', 'Teisip', 'Kolmap', 'Neljap', 'Reede', 'Laup'], |
||||
|
dayNamesMin: ['P','E','T','K','N','R','L'], |
||||
|
weekHeader: 'Sm', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['et']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Euskarako oinarria 'UI date picker' jquery-ko extentsioarentzat */ |
||||
|
/* Karrikas-ek itzulia (karrikas@karrikas.com) */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['eu'] = { |
||||
|
closeText: 'Egina', |
||||
|
prevText: '<Aur', |
||||
|
nextText: 'Hur>', |
||||
|
currentText: 'Gaur', |
||||
|
monthNames: ['Urtarrila','Otsaila','Martxoa','Apirila','Maiatza','Ekaina', |
||||
|
'Uztaila','Abuztua','Iraila','Urria','Azaroa','Abendua'], |
||||
|
monthNamesShort: ['Urt','Ots','Mar','Api','Mai','Eka', |
||||
|
'Uzt','Abu','Ira','Urr','Aza','Abe'], |
||||
|
dayNames: ['Igandea','Astelehena','Asteartea','Asteazkena','Osteguna','Ostirala','Larunbata'], |
||||
|
dayNamesShort: ['Iga','Ast','Ast','Ast','Ost','Ost','Lar'], |
||||
|
dayNamesMin: ['Ig','As','As','As','Os','Os','La'], |
||||
|
weekHeader: 'Wk', |
||||
|
dateFormat: 'yy/mm/dd', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['eu']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */ |
||||
|
/* Javad Mowlanezhad -- jmowla@gmail.com */ |
||||
|
/* Jalali calendar should supported soon! (Its implemented but I have to test it) */ |
||||
|
jQuery(function($) { |
||||
|
$.datepicker.regional['fa'] = { |
||||
|
closeText: 'بستن', |
||||
|
prevText: '<قبلي', |
||||
|
nextText: 'بعدي>', |
||||
|
currentText: 'امروز', |
||||
|
monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور', |
||||
|
'مهر','آبان','آذر','دي','بهمن','اسفند'], |
||||
|
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], |
||||
|
dayNames: ['يکشنبه','دوشنبه','سهشنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'], |
||||
|
dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'], |
||||
|
dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'], |
||||
|
weekHeader: 'هف', |
||||
|
dateFormat: 'yy/mm/dd', |
||||
|
firstDay: 6, |
||||
|
isRTL: true, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['fa']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Finnish initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Harri Kilpi� (harrikilpio@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['fi'] = { |
||||
|
closeText: 'Sulje', |
||||
|
prevText: '«Edellinen', |
||||
|
nextText: 'Seuraava»', |
||||
|
currentText: 'Tänään', |
||||
|
monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu', |
||||
|
'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'], |
||||
|
monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä', |
||||
|
'Heinä','Elo','Syys','Loka','Marras','Joulu'], |
||||
|
dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'], |
||||
|
dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'], |
||||
|
dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'], |
||||
|
weekHeader: 'Vk', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['fi']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Faroese initialisation for the jQuery UI date picker plugin */ |
||||
|
/* Written by Sverri Mohr Olsen, sverrimo@gmail.com */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['fo'] = { |
||||
|
closeText: 'Lat aftur', |
||||
|
prevText: '<Fyrra', |
||||
|
nextText: 'Næsta>', |
||||
|
currentText: 'Í dag', |
||||
|
monthNames: ['Januar','Februar','Mars','Apríl','Mei','Juni', |
||||
|
'Juli','August','September','Oktober','November','Desember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun', |
||||
|
'Jul','Aug','Sep','Okt','Nov','Des'], |
||||
|
dayNames: ['Sunnudagur','Mánadagur','Týsdagur','Mikudagur','Hósdagur','Fríggjadagur','Leyardagur'], |
||||
|
dayNamesShort: ['Sun','Mán','Týs','Mik','Hós','Frí','Ley'], |
||||
|
dayNamesMin: ['Su','Má','Tý','Mi','Hó','Fr','Le'], |
||||
|
weekHeader: 'Vk', |
||||
|
dateFormat: 'dd-mm-yy', |
||||
|
firstDay: 0, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['fo']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Swiss-French initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written Martin Voelkle (martin.voelkle@e-tc.ch). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['fr-CH'] = { |
||||
|
closeText: 'Fermer', |
||||
|
prevText: '<Préc', |
||||
|
nextText: 'Suiv>', |
||||
|
currentText: 'Courant', |
||||
|
monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', |
||||
|
'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], |
||||
|
monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun', |
||||
|
'Jul','Aoû','Sep','Oct','Nov','Déc'], |
||||
|
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], |
||||
|
dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], |
||||
|
dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], |
||||
|
weekHeader: 'Sm', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['fr-CH']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* French initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Keith Wood (kbwood{at}iinet.com.au) and Stéphane Nahmani (sholby@sholby.net). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['fr'] = { |
||||
|
closeText: 'Fermer', |
||||
|
prevText: '<Préc', |
||||
|
nextText: 'Suiv>', |
||||
|
currentText: 'Courant', |
||||
|
monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', |
||||
|
'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], |
||||
|
monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun', |
||||
|
'Jul','Aoû','Sep','Oct','Nov','Déc'], |
||||
|
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], |
||||
|
dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], |
||||
|
dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], |
||||
|
weekHeader: 'Sm', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['fr']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Hebrew initialisation for the UI Datepicker extension. */ |
||||
|
/* Written by Amir Hardon (ahardon at gmail dot com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['he'] = { |
||||
|
closeText: 'סגור', |
||||
|
prevText: '<הקודם', |
||||
|
nextText: 'הבא>', |
||||
|
currentText: 'היום', |
||||
|
monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני', |
||||
|
'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'], |
||||
|
monthNamesShort: ['1','2','3','4','5','6', |
||||
|
'7','8','9','10','11','12'], |
||||
|
dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], |
||||
|
dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], |
||||
|
dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], |
||||
|
weekHeader: 'Wk', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 0, |
||||
|
isRTL: true, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['he']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Croatian i18n for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Vjekoslav Nesek. */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['hr'] = { |
||||
|
closeText: 'Zatvori', |
||||
|
prevText: '<', |
||||
|
nextText: '>', |
||||
|
currentText: 'Danas', |
||||
|
monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipanj', |
||||
|
'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'], |
||||
|
monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip', |
||||
|
'Srp','Kol','Ruj','Lis','Stu','Pro'], |
||||
|
dayNames: ['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'], |
||||
|
dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'], |
||||
|
dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], |
||||
|
weekHeader: 'Tje', |
||||
|
dateFormat: 'dd.mm.yy.', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['hr']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Hungarian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Istvan Karaszi (jquery@spam.raszi.hu). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['hu'] = { |
||||
|
closeText: 'bezárás', |
||||
|
prevText: '« vissza', |
||||
|
nextText: 'előre »', |
||||
|
currentText: 'ma', |
||||
|
monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június', |
||||
|
'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'], |
||||
|
monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún', |
||||
|
'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'], |
||||
|
dayNames: ['Vasárnap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'], |
||||
|
dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'], |
||||
|
dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], |
||||
|
weekHeader: 'Hé', |
||||
|
dateFormat: 'yy-mm-dd', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['hu']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['hy'] = { |
||||
|
closeText: 'Փակել', |
||||
|
prevText: '<Նախ.', |
||||
|
nextText: 'Հաջ.>', |
||||
|
currentText: 'Այսօր', |
||||
|
monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս', |
||||
|
'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'], |
||||
|
monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս', |
||||
|
'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'], |
||||
|
dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'], |
||||
|
dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], |
||||
|
dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], |
||||
|
weekHeader: 'ՇԲՏ', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['hy']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Indonesian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Deden Fathurahman (dedenf@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['id'] = { |
||||
|
closeText: 'Tutup', |
||||
|
prevText: '<mundur', |
||||
|
nextText: 'maju>', |
||||
|
currentText: 'hari ini', |
||||
|
monthNames: ['Januari','Februari','Maret','April','Mei','Juni', |
||||
|
'Juli','Agustus','September','Oktober','Nopember','Desember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun', |
||||
|
'Jul','Agus','Sep','Okt','Nop','Des'], |
||||
|
dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'], |
||||
|
dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'], |
||||
|
dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'], |
||||
|
weekHeader: 'Mg', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 0, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['id']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Icelandic initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Haukur H. Thorsson (haukur@eskill.is). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['is'] = { |
||||
|
closeText: 'Loka', |
||||
|
prevText: '< Fyrri', |
||||
|
nextText: 'Næsti >', |
||||
|
currentText: 'Í dag', |
||||
|
monthNames: ['Janúar','Febrúar','Mars','Apríl','Maí','Júní', |
||||
|
'Júlí','Ágúst','September','Október','Nóvember','Desember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maí','Jún', |
||||
|
'Júl','Ágú','Sep','Okt','Nóv','Des'], |
||||
|
dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'], |
||||
|
dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'], |
||||
|
dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'], |
||||
|
weekHeader: 'Vika', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 0, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['is']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Italian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Antonello Pasella (antonello.pasella@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['it'] = { |
||||
|
closeText: 'Chiudi', |
||||
|
prevText: '<Prec', |
||||
|
nextText: 'Succ>', |
||||
|
currentText: 'Oggi', |
||||
|
monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno', |
||||
|
'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'], |
||||
|
monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu', |
||||
|
'Lug','Ago','Set','Ott','Nov','Dic'], |
||||
|
dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'], |
||||
|
dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'], |
||||
|
dayNamesMin: ['Do','Lu','Ma','Me','Gi','Ve','Sa'], |
||||
|
weekHeader: 'Sm', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['it']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Japanese initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Kentaro SATO (kentaro@ranvis.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ja'] = { |
||||
|
closeText: '閉じる', |
||||
|
prevText: '<前', |
||||
|
nextText: '次>', |
||||
|
currentText: '今日', |
||||
|
monthNames: ['1月','2月','3月','4月','5月','6月', |
||||
|
'7月','8月','9月','10月','11月','12月'], |
||||
|
monthNamesShort: ['1月','2月','3月','4月','5月','6月', |
||||
|
'7月','8月','9月','10月','11月','12月'], |
||||
|
dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'], |
||||
|
dayNamesShort: ['日','月','火','水','木','金','土'], |
||||
|
dayNamesMin: ['日','月','火','水','木','金','土'], |
||||
|
weekHeader: '週', |
||||
|
dateFormat: 'yy/mm/dd', |
||||
|
firstDay: 0, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: true, |
||||
|
yearSuffix: '年'}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ja']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Korean initialisation for the jQuery calendar extension. */ |
||||
|
/* Written by DaeKwon Kang (ncrash.dk@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ko'] = { |
||||
|
closeText: '닫기', |
||||
|
prevText: '이전달', |
||||
|
nextText: '다음달', |
||||
|
currentText: '오늘', |
||||
|
monthNames: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)', |
||||
|
'7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'], |
||||
|
monthNamesShort: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)', |
||||
|
'7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'], |
||||
|
dayNames: ['일','월','화','수','목','금','토'], |
||||
|
dayNamesShort: ['일','월','화','수','목','금','토'], |
||||
|
dayNamesMin: ['일','월','화','수','목','금','토'], |
||||
|
weekHeader: 'Wk', |
||||
|
dateFormat: 'yy-mm-dd', |
||||
|
firstDay: 0, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: '년'}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ko']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['kz'] = { |
||||
|
closeText: 'Жабу', |
||||
|
prevText: '<Алдыңғы', |
||||
|
nextText: 'Келесі>', |
||||
|
currentText: 'Бүгін', |
||||
|
monthNames: ['Қаңтар','Ақпан','Наурыз','Сәуір','Мамыр','Маусым', |
||||
|
'Шілде','Тамыз','Қыркүйек','Қазан','Қараша','Желтоқсан'], |
||||
|
monthNamesShort: ['Қаң','Ақп','Нау','Сәу','Мам','Мау', |
||||
|
'Шіл','Там','Қыр','Қаз','Қар','Жел'], |
||||
|
dayNames: ['Жексенбі','Дүйсенбі','Сейсенбі','Сәрсенбі','Бейсенбі','Жұма','Сенбі'], |
||||
|
dayNamesShort: ['жкс','дсн','ссн','срс','бсн','жма','снб'], |
||||
|
dayNamesMin: ['Жк','Дс','Сс','Ср','Бс','Жм','Сн'], |
||||
|
weekHeader: 'Не', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['kz']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* @author Arturas Paleicikas <arturas@avalon.lt> */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['lt'] = { |
||||
|
closeText: 'Uždaryti', |
||||
|
prevText: '<Atgal', |
||||
|
nextText: 'Pirmyn>', |
||||
|
currentText: 'Šiandien', |
||||
|
monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis', |
||||
|
'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'], |
||||
|
monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir', |
||||
|
'Lie','Rugp','Rugs','Spa','Lap','Gru'], |
||||
|
dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'], |
||||
|
dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'], |
||||
|
dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'], |
||||
|
weekHeader: 'Wk', |
||||
|
dateFormat: 'yy-mm-dd', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['lt']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['lv'] = { |
||||
|
closeText: 'Aizvērt', |
||||
|
prevText: 'Iepr', |
||||
|
nextText: 'Nāka', |
||||
|
currentText: 'Šodien', |
||||
|
monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs', |
||||
|
'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn', |
||||
|
'Jūl','Aug','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'], |
||||
|
dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'], |
||||
|
dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'], |
||||
|
weekHeader: 'Nav', |
||||
|
dateFormat: 'dd-mm-yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['lv']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Malaysian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ms'] = { |
||||
|
closeText: 'Tutup', |
||||
|
prevText: '<Sebelum', |
||||
|
nextText: 'Selepas>', |
||||
|
currentText: 'hari ini', |
||||
|
monthNames: ['Januari','Februari','Mac','April','Mei','Jun', |
||||
|
'Julai','Ogos','September','Oktober','November','Disember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun', |
||||
|
'Jul','Ogo','Sep','Okt','Nov','Dis'], |
||||
|
dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'], |
||||
|
dayNamesShort: ['Aha','Isn','Sel','Rab','kha','Jum','Sab'], |
||||
|
dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'], |
||||
|
weekHeader: 'Mg', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 0, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ms']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Mathias Bynens <http://mathiasbynens.be/> */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional.nl = { |
||||
|
closeText: 'Sluiten', |
||||
|
prevText: '←', |
||||
|
nextText: '→', |
||||
|
currentText: 'Vandaag', |
||||
|
monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', |
||||
|
'juli', 'augustus', 'september', 'oktober', 'november', 'december'], |
||||
|
monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun', |
||||
|
'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], |
||||
|
dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], |
||||
|
dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], |
||||
|
dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], |
||||
|
weekHeader: 'Wk', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional.nl); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Norwegian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['no'] = { |
||||
|
closeText: 'Lukk', |
||||
|
prevText: '«Forrige', |
||||
|
nextText: 'Neste»', |
||||
|
currentText: 'I dag', |
||||
|
monthNames: ['Januar','Februar','Mars','April','Mai','Juni', |
||||
|
'Juli','August','September','Oktober','November','Desember'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun', |
||||
|
'Jul','Aug','Sep','Okt','Nov','Des'], |
||||
|
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], |
||||
|
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], |
||||
|
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], |
||||
|
weekHeader: 'Uke', |
||||
|
dateFormat: 'yy-mm-dd', |
||||
|
firstDay: 0, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['no']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Polish initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['pl'] = { |
||||
|
closeText: 'Zamknij', |
||||
|
prevText: '<Poprzedni', |
||||
|
nextText: 'Następny>', |
||||
|
currentText: 'Dziś', |
||||
|
monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec', |
||||
|
'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'], |
||||
|
monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze', |
||||
|
'Lip','Sie','Wrz','Pa','Lis','Gru'], |
||||
|
dayNames: ['Niedziela','Poniedziałek','Wtorek','Środa','Czwartek','Piątek','Sobota'], |
||||
|
dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'], |
||||
|
dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'], |
||||
|
weekHeader: 'Tydz', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['pl']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Brazilian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['pt-BR'] = { |
||||
|
closeText: 'Fechar', |
||||
|
prevText: '<Anterior', |
||||
|
nextText: 'Próximo>', |
||||
|
currentText: 'Hoje', |
||||
|
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho', |
||||
|
'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], |
||||
|
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun', |
||||
|
'Jul','Ago','Set','Out','Nov','Dez'], |
||||
|
dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'], |
||||
|
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], |
||||
|
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], |
||||
|
weekHeader: 'Sm', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 0, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['pt-BR']); |
||||
|
}); |
@ -0,0 +1,26 @@ |
|||||
|
/* Romanian initialisation for the jQuery UI date picker plugin. |
||||
|
* |
||||
|
* Written by Edmond L. (ll_edmond@walla.com) |
||||
|
* and Ionut G. Stan (ionut.g.stan@gmail.com) |
||||
|
*/ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ro'] = { |
||||
|
closeText: 'Închide', |
||||
|
prevText: '« Luna precedentă', |
||||
|
nextText: 'Luna următoare »', |
||||
|
currentText: 'Azi', |
||||
|
monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Iunie', |
||||
|
'Iulie','August','Septembrie','Octombrie','Noiembrie','Decembrie'], |
||||
|
monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun', |
||||
|
'Iul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], |
||||
|
dayNames: ['Duminică', 'Luni', 'Marţi', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'], |
||||
|
dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'], |
||||
|
dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'], |
||||
|
weekHeader: 'Săpt', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ro']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Andrew Stromnov (stromnov@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ru'] = { |
||||
|
closeText: 'Закрыть', |
||||
|
prevText: '<Пред', |
||||
|
nextText: 'След>', |
||||
|
currentText: 'Сегодня', |
||||
|
monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь', |
||||
|
'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'], |
||||
|
monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн', |
||||
|
'Июл','Авг','Сен','Окт','Ноя','Дек'], |
||||
|
dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'], |
||||
|
dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'], |
||||
|
dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'], |
||||
|
weekHeader: 'Не', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ru']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Slovak initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Vojtech Rinik (vojto@hmm.sk). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['sk'] = { |
||||
|
closeText: 'Zavrieť', |
||||
|
prevText: '<Predchádzajúci', |
||||
|
nextText: 'Nasledujúci>', |
||||
|
currentText: 'Dnes', |
||||
|
monthNames: ['Január','Február','Marec','Apríl','Máj','Jún', |
||||
|
'Júl','August','September','Október','November','December'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún', |
||||
|
'Júl','Aug','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['Nedel\'a','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'], |
||||
|
dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'], |
||||
|
dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'], |
||||
|
weekHeader: 'Ty', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['sk']); |
||||
|
}); |
@ -0,0 +1,24 @@ |
|||||
|
/* Slovenian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Jaka Jancar (jaka@kubje.org). */ |
||||
|
/* c = č, s = š z = ž C = Č S = Š Z = Ž */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['sl'] = { |
||||
|
closeText: 'Zapri', |
||||
|
prevText: '<Prejšnji', |
||||
|
nextText: 'Naslednji>', |
||||
|
currentText: 'Trenutni', |
||||
|
monthNames: ['Januar','Februar','Marec','April','Maj','Junij', |
||||
|
'Julij','Avgust','September','Oktober','November','December'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', |
||||
|
'Jul','Avg','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'], |
||||
|
dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'], |
||||
|
dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'], |
||||
|
weekHeader: 'Teden', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['sl']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Albanian initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Flakron Bytyqi (flakron@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['sq'] = { |
||||
|
closeText: 'mbylle', |
||||
|
prevText: '<mbrapa', |
||||
|
nextText: 'Përpara>', |
||||
|
currentText: 'sot', |
||||
|
monthNames: ['Janar','Shkurt','Mars','Prill','Maj','Qershor', |
||||
|
'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'], |
||||
|
monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer', |
||||
|
'Kor','Gus','Sht','Tet','Nën','Dhj'], |
||||
|
dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'], |
||||
|
dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'], |
||||
|
dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'], |
||||
|
weekHeader: 'Ja', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['sq']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Serbian i18n for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Dejan Dimić. */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['sr-SR'] = { |
||||
|
closeText: 'Zatvori', |
||||
|
prevText: '<', |
||||
|
nextText: '>', |
||||
|
currentText: 'Danas', |
||||
|
monthNames: ['Januar','Februar','Mart','April','Maj','Jun', |
||||
|
'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', |
||||
|
'Jul','Avg','Sep','Okt','Nov','Dec'], |
||||
|
dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'], |
||||
|
dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'], |
||||
|
dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], |
||||
|
weekHeader: 'Sed', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['sr-SR']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Serbian i18n for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Dejan Dimić. */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['sr'] = { |
||||
|
closeText: 'Затвори', |
||||
|
prevText: '<', |
||||
|
nextText: '>', |
||||
|
currentText: 'Данас', |
||||
|
monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун', |
||||
|
'Јул','Август','Септембар','Октобар','Новембар','Децембар'], |
||||
|
monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун', |
||||
|
'Јул','Авг','Сеп','Окт','Нов','Дец'], |
||||
|
dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'], |
||||
|
dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'], |
||||
|
dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'], |
||||
|
weekHeader: 'Сед', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['sr']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Swedish initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Anders Ekdahl ( anders@nomadiz.se). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['sv'] = { |
||||
|
closeText: 'Stäng', |
||||
|
prevText: '«Förra', |
||||
|
nextText: 'Nästa»', |
||||
|
currentText: 'Idag', |
||||
|
monthNames: ['Januari','Februari','Mars','April','Maj','Juni', |
||||
|
'Juli','Augusti','September','Oktober','November','December'], |
||||
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', |
||||
|
'Jul','Aug','Sep','Okt','Nov','Dec'], |
||||
|
dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'], |
||||
|
dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'], |
||||
|
dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'], |
||||
|
weekHeader: 'Ve', |
||||
|
dateFormat: 'yy-mm-dd', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['sv']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Tamil (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by S A Sureshkumar (saskumar@live.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['ta'] = { |
||||
|
closeText: 'மூடு', |
||||
|
prevText: 'முன்னையது', |
||||
|
nextText: 'அடுத்தது', |
||||
|
currentText: 'இன்று', |
||||
|
monthNames: ['தை','மாசி','பங்குனி','சித்திரை','வைகாசி','ஆனி', |
||||
|
'ஆடி','ஆவணி','புரட்டாசி','ஐப்பசி','கார்த்திகை','மார்கழி'], |
||||
|
monthNamesShort: ['தை','மாசி','பங்','சித்','வைகா','ஆனி', |
||||
|
'ஆடி','ஆவ','புர','ஐப்','கார்','மார்'], |
||||
|
dayNames: ['ஞாயிற்றுக்கிழமை','திங்கட்கிழமை','செவ்வாய்க்கிழமை','புதன்கிழமை','வியாழக்கிழமை','வெள்ளிக்கிழமை','சனிக்கிழமை'], |
||||
|
dayNamesShort: ['ஞாயிறு','திங்கள்','செவ்வாய்','புதன்','வியாழன்','வெள்ளி','சனி'], |
||||
|
dayNamesMin: ['ஞா','தி','செ','பு','வி','வெ','ச'], |
||||
|
weekHeader: 'Не', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['ta']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Thai initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by pipo (pipo@sixhead.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['th'] = { |
||||
|
closeText: 'ปิด', |
||||
|
prevText: '« ย้อน', |
||||
|
nextText: 'ถัดไป »', |
||||
|
currentText: 'วันนี้', |
||||
|
monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน', |
||||
|
'กรกฏาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'], |
||||
|
monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.', |
||||
|
'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'], |
||||
|
dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'], |
||||
|
dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], |
||||
|
dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], |
||||
|
weekHeader: 'Wk', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 0, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['th']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Turkish initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Izzet Emre Erkan (kara@karalamalar.net). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['tr'] = { |
||||
|
closeText: 'kapat', |
||||
|
prevText: '<geri', |
||||
|
nextText: 'ileri>', |
||||
|
currentText: 'bugün', |
||||
|
monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran', |
||||
|
'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'], |
||||
|
monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz', |
||||
|
'Tem','Ağu','Eyl','Eki','Kas','Ara'], |
||||
|
dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'], |
||||
|
dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], |
||||
|
dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], |
||||
|
weekHeader: 'Hf', |
||||
|
dateFormat: 'dd.mm.yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['tr']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Maxim Drogobitskiy (maxdao@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['uk'] = { |
||||
|
closeText: 'Закрити', |
||||
|
prevText: '<', |
||||
|
nextText: '>', |
||||
|
currentText: 'Сьогодні', |
||||
|
monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень', |
||||
|
'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'], |
||||
|
monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер', |
||||
|
'Лип','Сер','Вер','Жов','Лис','Гру'], |
||||
|
dayNames: ['неділя','понеділок','вівторок','середа','четвер','п’ятниця','субота'], |
||||
|
dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'], |
||||
|
dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'], |
||||
|
weekHeader: 'Не', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['uk']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Vietnamese initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['vi'] = { |
||||
|
closeText: 'Đóng', |
||||
|
prevText: '<Trước', |
||||
|
nextText: 'Tiếp>', |
||||
|
currentText: 'Hôm nay', |
||||
|
monthNames: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu', |
||||
|
'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'], |
||||
|
monthNamesShort: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6', |
||||
|
'Tháng 7', 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12'], |
||||
|
dayNames: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'], |
||||
|
dayNamesShort: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], |
||||
|
dayNamesMin: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], |
||||
|
weekHeader: 'Tu', |
||||
|
dateFormat: 'dd/mm/yy', |
||||
|
firstDay: 0, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: false, |
||||
|
yearSuffix: ''}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['vi']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Chinese initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Cloudream (cloudream@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['zh-CN'] = { |
||||
|
closeText: '关闭', |
||||
|
prevText: '<上月', |
||||
|
nextText: '下月>', |
||||
|
currentText: '今天', |
||||
|
monthNames: ['一月','二月','三月','四月','五月','六月', |
||||
|
'七月','八月','九月','十月','十一月','十二月'], |
||||
|
monthNamesShort: ['一','二','三','四','五','六', |
||||
|
'七','八','九','十','十一','十二'], |
||||
|
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], |
||||
|
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], |
||||
|
dayNamesMin: ['日','一','二','三','四','五','六'], |
||||
|
weekHeader: '周', |
||||
|
dateFormat: 'yy-mm-dd', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: true, |
||||
|
yearSuffix: '年'}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['zh-CN']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Chinese initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by SCCY (samuelcychan@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['zh-HK'] = { |
||||
|
closeText: '關閉', |
||||
|
prevText: '<上月', |
||||
|
nextText: '下月>', |
||||
|
currentText: '今天', |
||||
|
monthNames: ['一月','二月','三月','四月','五月','六月', |
||||
|
'七月','八月','九月','十月','十一月','十二月'], |
||||
|
monthNamesShort: ['一','二','三','四','五','六', |
||||
|
'七','八','九','十','十一','十二'], |
||||
|
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], |
||||
|
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], |
||||
|
dayNamesMin: ['日','一','二','三','四','五','六'], |
||||
|
weekHeader: '周', |
||||
|
dateFormat: 'dd-mm-yy', |
||||
|
firstDay: 0, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: true, |
||||
|
yearSuffix: '年'}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['zh-HK']); |
||||
|
}); |
@ -0,0 +1,23 @@ |
|||||
|
/* Chinese initialisation for the jQuery UI date picker plugin. */ |
||||
|
/* Written by Ressol (ressol@gmail.com). */ |
||||
|
jQuery(function($){ |
||||
|
$.datepicker.regional['zh-TW'] = { |
||||
|
closeText: '關閉', |
||||
|
prevText: '<上月', |
||||
|
nextText: '下月>', |
||||
|
currentText: '今天', |
||||
|
monthNames: ['一月','二月','三月','四月','五月','六月', |
||||
|
'七月','八月','九月','十月','十一月','十二月'], |
||||
|
monthNamesShort: ['一','二','三','四','五','六', |
||||
|
'七','八','九','十','十一','十二'], |
||||
|
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], |
||||
|
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], |
||||
|
dayNamesMin: ['日','一','二','三','四','五','六'], |
||||
|
weekHeader: '周', |
||||
|
dateFormat: 'yy/mm/dd', |
||||
|
firstDay: 1, |
||||
|
isRTL: false, |
||||
|
showMonthAfterYear: true, |
||||
|
yearSuffix: '年'}; |
||||
|
$.datepicker.setDefaults($.datepicker.regional['zh-TW']); |
||||
|
}); |
@ -0,0 +1,49 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Blind 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Blind
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.effects.core.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.effects.blind = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
|
||||
|
var direction = o.options.direction || 'vertical'; // Default direction
|
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
|
||||
|
var ref = (direction == 'vertical') ? 'height' : 'width'; |
||||
|
var distance = (direction == 'vertical') ? wrapper.height() : wrapper.width(); |
||||
|
if(mode == 'show') wrapper.css(ref, 0); // Shift
|
||||
|
|
||||
|
// Animation
|
||||
|
var animation = {}; |
||||
|
animation[ref] = mode == 'show' ? distance : 0; |
||||
|
|
||||
|
// Animate
|
||||
|
wrapper.animate(animation, o.duration, o.options.easing, function() { |
||||
|
if(mode == 'hide') el.hide(); // Hide
|
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(el[0], arguments); // Callback
|
||||
|
el.dequeue(); |
||||
|
}); |
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,78 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Bounce 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Bounce
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.effects.core.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.effects.bounce = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
|
||||
|
var direction = o.options.direction || 'up'; // Default direction
|
||||
|
var distance = o.options.distance || 20; // Default distance
|
||||
|
var times = o.options.times || 5; // Default # of times
|
||||
|
var speed = o.duration || 250; // Default speed per bounce
|
||||
|
if (/show|hide/.test(mode)) props.push('opacity'); // Avoid touching opacity to prevent clearType and PNG issues in IE
|
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
$.effects.createWrapper(el); // Create Wrapper
|
||||
|
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left'; |
||||
|
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg'; |
||||
|
var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) / 3 : el.outerWidth({margin:true}) / 3); |
||||
|
if (mode == 'show') el.css('opacity', 0).css(ref, motion == 'pos' ? -distance : distance); // Shift
|
||||
|
if (mode == 'hide') distance = distance / (times * 2); |
||||
|
if (mode != 'hide') times--; |
||||
|
|
||||
|
// Animate
|
||||
|
if (mode == 'show') { // Show Bounce
|
||||
|
var animation = {opacity: 1}; |
||||
|
animation[ref] = (motion == 'pos' ? '+=' : '-=') + distance; |
||||
|
el.animate(animation, speed / 2, o.options.easing); |
||||
|
distance = distance / 2; |
||||
|
times--; |
||||
|
}; |
||||
|
for (var i = 0; i < times; i++) { // Bounces
|
||||
|
var animation1 = {}, animation2 = {}; |
||||
|
animation1[ref] = (motion == 'pos' ? '-=' : '+=') + distance; |
||||
|
animation2[ref] = (motion == 'pos' ? '+=' : '-=') + distance; |
||||
|
el.animate(animation1, speed / 2, o.options.easing).animate(animation2, speed / 2, o.options.easing); |
||||
|
distance = (mode == 'hide') ? distance * 2 : distance / 2; |
||||
|
}; |
||||
|
if (mode == 'hide') { // Last Bounce
|
||||
|
var animation = {opacity: 0}; |
||||
|
animation[ref] = (motion == 'pos' ? '-=' : '+=') + distance; |
||||
|
el.animate(animation, speed / 2, o.options.easing, function(){ |
||||
|
el.hide(); // Hide
|
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(this, arguments); // Callback
|
||||
|
}); |
||||
|
} else { |
||||
|
var animation1 = {}, animation2 = {}; |
||||
|
animation1[ref] = (motion == 'pos' ? '-=' : '+=') + distance; |
||||
|
animation2[ref] = (motion == 'pos' ? '+=' : '-=') + distance; |
||||
|
el.animate(animation1, speed / 2, o.options.easing).animate(animation2, speed / 2, o.options.easing, function(){ |
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(this, arguments); // Callback
|
||||
|
}); |
||||
|
}; |
||||
|
el.queue('fx', function() { el.dequeue(); }); |
||||
|
el.dequeue(); |
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,54 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Clip 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Clip
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.effects.core.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.effects.clip = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left','height','width']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
|
||||
|
var direction = o.options.direction || 'vertical'; // Default direction
|
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
|
||||
|
var animate = el[0].tagName == 'IMG' ? wrapper : el; |
||||
|
var ref = { |
||||
|
size: (direction == 'vertical') ? 'height' : 'width', |
||||
|
position: (direction == 'vertical') ? 'top' : 'left' |
||||
|
}; |
||||
|
var distance = (direction == 'vertical') ? animate.height() : animate.width(); |
||||
|
if(mode == 'show') { animate.css(ref.size, 0); animate.css(ref.position, distance / 2); } // Shift
|
||||
|
|
||||
|
// Animation
|
||||
|
var animation = {}; |
||||
|
animation[ref.size] = mode == 'show' ? distance : 0; |
||||
|
animation[ref.position] = mode == 'show' ? 0 : distance / 2; |
||||
|
|
||||
|
// Animate
|
||||
|
animate.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { |
||||
|
if(mode == 'hide') el.hide(); // Hide
|
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(el[0], arguments); // Callback
|
||||
|
el.dequeue(); |
||||
|
}}); |
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,714 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/
|
||||
|
*/ |
||||
|
;jQuery.effects || (function($, undefined) { |
||||
|
|
||||
|
$.effects = {}; |
||||
|
|
||||
|
|
||||
|
|
||||
|
/******************************************************************************/ |
||||
|
/****************************** COLOR ANIMATIONS ******************************/ |
||||
|
/******************************************************************************/ |
||||
|
|
||||
|
// override the animation for color styles
|
||||
|
$.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', |
||||
|
'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], |
||||
|
function(i, attr) { |
||||
|
$.fx.step[attr] = function(fx) { |
||||
|
if (!fx.colorInit) { |
||||
|
fx.start = getColor(fx.elem, attr); |
||||
|
fx.end = getRGB(fx.end); |
||||
|
fx.colorInit = true; |
||||
|
} |
||||
|
|
||||
|
fx.elem.style[attr] = 'rgb(' + |
||||
|
Math.max(Math.min(parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0], 10), 255), 0) + ',' + |
||||
|
Math.max(Math.min(parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1], 10), 255), 0) + ',' + |
||||
|
Math.max(Math.min(parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2], 10), 255), 0) + ')'; |
||||
|
}; |
||||
|
}); |
||||
|
|
||||
|
// Color Conversion functions from highlightFade
|
||||
|
// By Blair Mitchelmore
|
||||
|
// http://jquery.offput.ca/highlightFade/
|
||||
|
|
||||
|
// Parse strings looking for color tuples [255,255,255]
|
||||
|
function getRGB(color) { |
||||
|
var result; |
||||
|
|
||||
|
// Check if we're already dealing with an array of colors
|
||||
|
if ( color && color.constructor == Array && color.length == 3 ) |
||||
|
return color; |
||||
|
|
||||
|
// Look for rgb(num,num,num)
|
||||
|
if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color)) |
||||
|
return [parseInt(result[1],10), parseInt(result[2],10), parseInt(result[3],10)]; |
||||
|
|
||||
|
// Look for rgb(num%,num%,num%)
|
||||
|
if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color)) |
||||
|
return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55]; |
||||
|
|
||||
|
// Look for #a0b1c2
|
||||
|
if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color)) |
||||
|
return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)]; |
||||
|
|
||||
|
// Look for #fff
|
||||
|
if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color)) |
||||
|
return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)]; |
||||
|
|
||||
|
// Look for rgba(0, 0, 0, 0) == transparent in Safari 3
|
||||
|
if (result = /rgba\(0, 0, 0, 0\)/.exec(color)) |
||||
|
return colors['transparent']; |
||||
|
|
||||
|
// Otherwise, we're most likely dealing with a named color
|
||||
|
return colors[$.trim(color).toLowerCase()]; |
||||
|
} |
||||
|
|
||||
|
function getColor(elem, attr) { |
||||
|
var color; |
||||
|
|
||||
|
do { |
||||
|
color = $.curCSS(elem, attr); |
||||
|
|
||||
|
// Keep going until we find an element that has color, or we hit the body
|
||||
|
if ( color != '' && color != 'transparent' || $.nodeName(elem, "body") ) |
||||
|
break; |
||||
|
|
||||
|
attr = "backgroundColor"; |
||||
|
} while ( elem = elem.parentNode ); |
||||
|
|
||||
|
return getRGB(color); |
||||
|
}; |
||||
|
|
||||
|
// Some named colors to work with
|
||||
|
// From Interface by Stefan Petre
|
||||
|
// http://interface.eyecon.ro/
|
||||
|
|
||||
|
var colors = { |
||||
|
aqua:[0,255,255], |
||||
|
azure:[240,255,255], |
||||
|
beige:[245,245,220], |
||||
|
black:[0,0,0], |
||||
|
blue:[0,0,255], |
||||
|
brown:[165,42,42], |
||||
|
cyan:[0,255,255], |
||||
|
darkblue:[0,0,139], |
||||
|
darkcyan:[0,139,139], |
||||
|
darkgrey:[169,169,169], |
||||
|
darkgreen:[0,100,0], |
||||
|
darkkhaki:[189,183,107], |
||||
|
darkmagenta:[139,0,139], |
||||
|
darkolivegreen:[85,107,47], |
||||
|
darkorange:[255,140,0], |
||||
|
darkorchid:[153,50,204], |
||||
|
darkred:[139,0,0], |
||||
|
darksalmon:[233,150,122], |
||||
|
darkviolet:[148,0,211], |
||||
|
fuchsia:[255,0,255], |
||||
|
gold:[255,215,0], |
||||
|
green:[0,128,0], |
||||
|
indigo:[75,0,130], |
||||
|
khaki:[240,230,140], |
||||
|
lightblue:[173,216,230], |
||||
|
lightcyan:[224,255,255], |
||||
|
lightgreen:[144,238,144], |
||||
|
lightgrey:[211,211,211], |
||||
|
lightpink:[255,182,193], |
||||
|
lightyellow:[255,255,224], |
||||
|
lime:[0,255,0], |
||||
|
magenta:[255,0,255], |
||||
|
maroon:[128,0,0], |
||||
|
navy:[0,0,128], |
||||
|
olive:[128,128,0], |
||||
|
orange:[255,165,0], |
||||
|
pink:[255,192,203], |
||||
|
purple:[128,0,128], |
||||
|
violet:[128,0,128], |
||||
|
red:[255,0,0], |
||||
|
silver:[192,192,192], |
||||
|
white:[255,255,255], |
||||
|
yellow:[255,255,0], |
||||
|
transparent: [255,255,255] |
||||
|
}; |
||||
|
|
||||
|
|
||||
|
|
||||
|
/******************************************************************************/ |
||||
|
/****************************** CLASS ANIMATIONS ******************************/ |
||||
|
/******************************************************************************/ |
||||
|
|
||||
|
var classAnimationActions = ['add', 'remove', 'toggle'], |
||||
|
shorthandStyles = { |
||||
|
border: 1, |
||||
|
borderBottom: 1, |
||||
|
borderColor: 1, |
||||
|
borderLeft: 1, |
||||
|
borderRight: 1, |
||||
|
borderTop: 1, |
||||
|
borderWidth: 1, |
||||
|
margin: 1, |
||||
|
padding: 1 |
||||
|
}; |
||||
|
|
||||
|
function getElementStyles() { |
||||
|
var style = document.defaultView |
||||
|
? document.defaultView.getComputedStyle(this, null) |
||||
|
: this.currentStyle, |
||||
|
newStyle = {}, |
||||
|
key, |
||||
|
camelCase; |
||||
|
|
||||
|
// webkit enumerates style porperties
|
||||
|
if (style && style.length && style[0] && style[style[0]]) { |
||||
|
var len = style.length; |
||||
|
while (len--) { |
||||
|
key = style[len]; |
||||
|
if (typeof style[key] == 'string') { |
||||
|
camelCase = key.replace(/\-(\w)/g, function(all, letter){ |
||||
|
return letter.toUpperCase(); |
||||
|
}); |
||||
|
newStyle[camelCase] = style[key]; |
||||
|
} |
||||
|
} |
||||
|
} else { |
||||
|
for (key in style) { |
||||
|
if (typeof style[key] === 'string') { |
||||
|
newStyle[key] = style[key]; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
return newStyle; |
||||
|
} |
||||
|
|
||||
|
function filterStyles(styles) { |
||||
|
var name, value; |
||||
|
for (name in styles) { |
||||
|
value = styles[name]; |
||||
|
if ( |
||||
|
// ignore null and undefined values
|
||||
|
value == null || |
||||
|
// ignore functions (when does this occur?)
|
||||
|
$.isFunction(value) || |
||||
|
// shorthand styles that need to be expanded
|
||||
|
name in shorthandStyles || |
||||
|
// ignore scrollbars (break in IE)
|
||||
|
(/scrollbar/).test(name) || |
||||
|
|
||||
|
// only colors or values that can be converted to numbers
|
||||
|
(!(/color/i).test(name) && isNaN(parseFloat(value))) |
||||
|
) { |
||||
|
delete styles[name]; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
return styles; |
||||
|
} |
||||
|
|
||||
|
function styleDifference(oldStyle, newStyle) { |
||||
|
var diff = { _: 0 }, // http://dev.jquery.com/ticket/5459
|
||||
|
name; |
||||
|
|
||||
|
for (name in newStyle) { |
||||
|
if (oldStyle[name] != newStyle[name]) { |
||||
|
diff[name] = newStyle[name]; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
return diff; |
||||
|
} |
||||
|
|
||||
|
$.effects.animateClass = function(value, duration, easing, callback) { |
||||
|
if ($.isFunction(easing)) { |
||||
|
callback = easing; |
||||
|
easing = null; |
||||
|
} |
||||
|
|
||||
|
return this.each(function() { |
||||
|
|
||||
|
var that = $(this), |
||||
|
originalStyleAttr = that.attr('style') || ' ', |
||||
|
originalStyle = filterStyles(getElementStyles.call(this)), |
||||
|
newStyle, |
||||
|
className = that.attr('className'); |
||||
|
|
||||
|
$.each(classAnimationActions, function(i, action) { |
||||
|
if (value[action]) { |
||||
|
that[action + 'Class'](value[action]); |
||||
|
} |
||||
|
}); |
||||
|
newStyle = filterStyles(getElementStyles.call(this)); |
||||
|
that.attr('className', className); |
||||
|
|
||||
|
that.animate(styleDifference(originalStyle, newStyle), duration, easing, function() { |
||||
|
$.each(classAnimationActions, function(i, action) { |
||||
|
if (value[action]) { that[action + 'Class'](value[action]); } |
||||
|
}); |
||||
|
// work around bug in IE by clearing the cssText before setting it
|
||||
|
if (typeof that.attr('style') == 'object') { |
||||
|
that.attr('style').cssText = ''; |
||||
|
that.attr('style').cssText = originalStyleAttr; |
||||
|
} else { |
||||
|
that.attr('style', originalStyleAttr); |
||||
|
} |
||||
|
if (callback) { callback.apply(this, arguments); } |
||||
|
}); |
||||
|
}); |
||||
|
}; |
||||
|
|
||||
|
$.fn.extend({ |
||||
|
_addClass: $.fn.addClass, |
||||
|
addClass: function(classNames, speed, easing, callback) { |
||||
|
return speed ? $.effects.animateClass.apply(this, [{ add: classNames },speed,easing,callback]) : this._addClass(classNames); |
||||
|
}, |
||||
|
|
||||
|
_removeClass: $.fn.removeClass, |
||||
|
removeClass: function(classNames,speed,easing,callback) { |
||||
|
return speed ? $.effects.animateClass.apply(this, [{ remove: classNames },speed,easing,callback]) : this._removeClass(classNames); |
||||
|
}, |
||||
|
|
||||
|
_toggleClass: $.fn.toggleClass, |
||||
|
toggleClass: function(classNames, force, speed, easing, callback) { |
||||
|
if ( typeof force == "boolean" || force === undefined ) { |
||||
|
if ( !speed ) { |
||||
|
// without speed parameter;
|
||||
|
return this._toggleClass(classNames, force); |
||||
|
} else { |
||||
|
return $.effects.animateClass.apply(this, [(force?{add:classNames}:{remove:classNames}),speed,easing,callback]); |
||||
|
} |
||||
|
} else { |
||||
|
// without switch parameter;
|
||||
|
return $.effects.animateClass.apply(this, [{ toggle: classNames },force,speed,easing]); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
switchClass: function(remove,add,speed,easing,callback) { |
||||
|
return $.effects.animateClass.apply(this, [{ add: add, remove: remove },speed,easing,callback]); |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
|
||||
|
|
||||
|
/******************************************************************************/ |
||||
|
/*********************************** EFFECTS **********************************/ |
||||
|
/******************************************************************************/ |
||||
|
|
||||
|
$.extend($.effects, { |
||||
|
version: "1.8.5", |
||||
|
|
||||
|
// Saves a set of properties in a data storage
|
||||
|
save: function(element, set) { |
||||
|
for(var i=0; i < set.length; i++) { |
||||
|
if(set[i] !== null) element.data("ec.storage."+set[i], element[0].style[set[i]]); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
// Restores a set of previously saved properties from a data storage
|
||||
|
restore: function(element, set) { |
||||
|
for(var i=0; i < set.length; i++) { |
||||
|
if(set[i] !== null) element.css(set[i], element.data("ec.storage."+set[i])); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
setMode: function(el, mode) { |
||||
|
if (mode == 'toggle') mode = el.is(':hidden') ? 'show' : 'hide'; // Set for toggle
|
||||
|
return mode; |
||||
|
}, |
||||
|
|
||||
|
getBaseline: function(origin, original) { // Translates a [top,left] array into a baseline value
|
||||
|
// this should be a little more flexible in the future to handle a string & hash
|
||||
|
var y, x; |
||||
|
switch (origin[0]) { |
||||
|
case 'top': y = 0; break; |
||||
|
case 'middle': y = 0.5; break; |
||||
|
case 'bottom': y = 1; break; |
||||
|
default: y = origin[0] / original.height; |
||||
|
}; |
||||
|
switch (origin[1]) { |
||||
|
case 'left': x = 0; break; |
||||
|
case 'center': x = 0.5; break; |
||||
|
case 'right': x = 1; break; |
||||
|
default: x = origin[1] / original.width; |
||||
|
}; |
||||
|
return {x: x, y: y}; |
||||
|
}, |
||||
|
|
||||
|
// Wraps the element around a wrapper that copies position properties
|
||||
|
createWrapper: function(element) { |
||||
|
|
||||
|
// if the element is already wrapped, return it
|
||||
|
if (element.parent().is('.ui-effects-wrapper')) { |
||||
|
return element.parent(); |
||||
|
} |
||||
|
|
||||
|
// wrap the element
|
||||
|
var props = { |
||||
|
width: element.outerWidth(true), |
||||
|
height: element.outerHeight(true), |
||||
|
'float': element.css('float') |
||||
|
}, |
||||
|
wrapper = $('<div></div>') |
||||
|
.addClass('ui-effects-wrapper') |
||||
|
.css({ |
||||
|
fontSize: '100%', |
||||
|
background: 'transparent', |
||||
|
border: 'none', |
||||
|
margin: 0, |
||||
|
padding: 0 |
||||
|
}); |
||||
|
|
||||
|
element.wrap(wrapper); |
||||
|
wrapper = element.parent(); //Hotfix for jQuery 1.4 since some change in wrap() seems to actually loose the reference to the wrapped element
|
||||
|
|
||||
|
// transfer positioning properties to the wrapper
|
||||
|
if (element.css('position') == 'static') { |
||||
|
wrapper.css({ position: 'relative' }); |
||||
|
element.css({ position: 'relative' }); |
||||
|
} else { |
||||
|
$.extend(props, { |
||||
|
position: element.css('position'), |
||||
|
zIndex: element.css('z-index') |
||||
|
}); |
||||
|
$.each(['top', 'left', 'bottom', 'right'], function(i, pos) { |
||||
|
props[pos] = element.css(pos); |
||||
|
if (isNaN(parseInt(props[pos], 10))) { |
||||
|
props[pos] = 'auto'; |
||||
|
} |
||||
|
}); |
||||
|
element.css({position: 'relative', top: 0, left: 0 }); |
||||
|
} |
||||
|
|
||||
|
return wrapper.css(props).show(); |
||||
|
}, |
||||
|
|
||||
|
removeWrapper: function(element) { |
||||
|
if (element.parent().is('.ui-effects-wrapper')) |
||||
|
return element.parent().replaceWith(element); |
||||
|
return element; |
||||
|
}, |
||||
|
|
||||
|
setTransition: function(element, list, factor, value) { |
||||
|
value = value || {}; |
||||
|
$.each(list, function(i, x){ |
||||
|
unit = element.cssUnit(x); |
||||
|
if (unit[0] > 0) value[x] = unit[0] * factor + unit[1]; |
||||
|
}); |
||||
|
return value; |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
|
||||
|
function _normalizeArguments(effect, options, speed, callback) { |
||||
|
// shift params for method overloading
|
||||
|
if (typeof effect == 'object') { |
||||
|
callback = options; |
||||
|
speed = null; |
||||
|
options = effect; |
||||
|
effect = options.effect; |
||||
|
} |
||||
|
if ($.isFunction(options)) { |
||||
|
callback = options; |
||||
|
speed = null; |
||||
|
options = {}; |
||||
|
} |
||||
|
if (typeof options == 'number' || $.fx.speeds[options]) { |
||||
|
callback = speed; |
||||
|
speed = options; |
||||
|
options = {}; |
||||
|
} |
||||
|
if ($.isFunction(speed)) { |
||||
|
callback = speed; |
||||
|
speed = null; |
||||
|
} |
||||
|
|
||||
|
options = options || {}; |
||||
|
|
||||
|
speed = speed || options.duration; |
||||
|
speed = $.fx.off ? 0 : typeof speed == 'number' |
||||
|
? speed : $.fx.speeds[speed] || $.fx.speeds._default; |
||||
|
|
||||
|
callback = callback || options.complete; |
||||
|
|
||||
|
return [effect, options, speed, callback]; |
||||
|
} |
||||
|
|
||||
|
$.fn.extend({ |
||||
|
effect: function(effect, options, speed, callback) { |
||||
|
var args = _normalizeArguments.apply(this, arguments), |
||||
|
// TODO: make effects takes actual parameters instead of a hash
|
||||
|
args2 = { |
||||
|
options: args[1], |
||||
|
duration: args[2], |
||||
|
callback: args[3] |
||||
|
}, |
||||
|
effectMethod = $.effects[effect]; |
||||
|
|
||||
|
return effectMethod && !$.fx.off ? effectMethod.call(this, args2) : this; |
||||
|
}, |
||||
|
|
||||
|
_show: $.fn.show, |
||||
|
show: function(speed) { |
||||
|
if (!speed || typeof speed == 'number' || $.fx.speeds[speed] || !$.effects[speed] ) { |
||||
|
return this._show.apply(this, arguments); |
||||
|
} else { |
||||
|
var args = _normalizeArguments.apply(this, arguments); |
||||
|
args[1].mode = 'show'; |
||||
|
return this.effect.apply(this, args); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
_hide: $.fn.hide, |
||||
|
hide: function(speed) { |
||||
|
if (!speed || typeof speed == 'number' || $.fx.speeds[speed] || !$.effects[speed] ) { |
||||
|
return this._hide.apply(this, arguments); |
||||
|
} else { |
||||
|
var args = _normalizeArguments.apply(this, arguments); |
||||
|
args[1].mode = 'hide'; |
||||
|
return this.effect.apply(this, args); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
// jQuery core overloads toggle and creates _toggle
|
||||
|
__toggle: $.fn.toggle, |
||||
|
toggle: function(speed) { |
||||
|
if (!speed || typeof speed == 'number' || $.fx.speeds[speed] || !$.effects[speed] || |
||||
|
typeof speed == 'boolean' || $.isFunction(speed)) { |
||||
|
return this.__toggle.apply(this, arguments); |
||||
|
} else { |
||||
|
var args = _normalizeArguments.apply(this, arguments); |
||||
|
args[1].mode = 'toggle'; |
||||
|
return this.effect.apply(this, args); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
// helper functions
|
||||
|
cssUnit: function(key) { |
||||
|
var style = this.css(key), val = []; |
||||
|
$.each( ['em','px','%','pt'], function(i, unit){ |
||||
|
if(style.indexOf(unit) > 0) |
||||
|
val = [parseFloat(style), unit]; |
||||
|
}); |
||||
|
return val; |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
|
||||
|
|
||||
|
/******************************************************************************/ |
||||
|
/*********************************** EASING ***********************************/ |
||||
|
/******************************************************************************/ |
||||
|
|
||||
|
/* |
||||
|
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
|
||||
|
* |
||||
|
* Uses the built in easing capabilities added In jQuery 1.1 |
||||
|
* to offer multiple easing options |
||||
|
* |
||||
|
* TERMS OF USE - jQuery Easing |
||||
|
* |
||||
|
* Open source under the BSD License. |
||||
|
* |
||||
|
* Copyright 2008 George McGinley Smith |
||||
|
* All rights reserved. |
||||
|
* |
||||
|
* Redistribution and use in source and binary forms, with or without modification, |
||||
|
* are permitted provided that the following conditions are met: |
||||
|
* |
||||
|
* Redistributions of source code must retain the above copyright notice, this list of |
||||
|
* conditions and the following disclaimer. |
||||
|
* Redistributions in binary form must reproduce the above copyright notice, this list |
||||
|
* of conditions and the following disclaimer in the documentation and/or other materials |
||||
|
* provided with the distribution. |
||||
|
* |
||||
|
* Neither the name of the author nor the names of contributors may be used to endorse |
||||
|
* or promote products derived from this software without specific prior written permission. |
||||
|
* |
||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
||||
|
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
||||
|
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
||||
|
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
||||
|
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
||||
|
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
||||
|
* OF THE POSSIBILITY OF SUCH DAMAGE. |
||||
|
* |
||||
|
*/ |
||||
|
|
||||
|
// t: current time, b: begInnIng value, c: change In value, d: duration
|
||||
|
$.easing.jswing = $.easing.swing; |
||||
|
|
||||
|
$.extend($.easing, |
||||
|
{ |
||||
|
def: 'easeOutQuad', |
||||
|
swing: function (x, t, b, c, d) { |
||||
|
//alert($.easing.default);
|
||||
|
return $.easing[$.easing.def](x, t, b, c, d); |
||||
|
}, |
||||
|
easeInQuad: function (x, t, b, c, d) { |
||||
|
return c*(t/=d)*t + b; |
||||
|
}, |
||||
|
easeOutQuad: function (x, t, b, c, d) { |
||||
|
return -c *(t/=d)*(t-2) + b; |
||||
|
}, |
||||
|
easeInOutQuad: function (x, t, b, c, d) { |
||||
|
if ((t/=d/2) < 1) return c/2*t*t + b; |
||||
|
return -c/2 * ((--t)*(t-2) - 1) + b; |
||||
|
}, |
||||
|
easeInCubic: function (x, t, b, c, d) { |
||||
|
return c*(t/=d)*t*t + b; |
||||
|
}, |
||||
|
easeOutCubic: function (x, t, b, c, d) { |
||||
|
return c*((t=t/d-1)*t*t + 1) + b; |
||||
|
}, |
||||
|
easeInOutCubic: function (x, t, b, c, d) { |
||||
|
if ((t/=d/2) < 1) return c/2*t*t*t + b; |
||||
|
return c/2*((t-=2)*t*t + 2) + b; |
||||
|
}, |
||||
|
easeInQuart: function (x, t, b, c, d) { |
||||
|
return c*(t/=d)*t*t*t + b; |
||||
|
}, |
||||
|
easeOutQuart: function (x, t, b, c, d) { |
||||
|
return -c * ((t=t/d-1)*t*t*t - 1) + b; |
||||
|
}, |
||||
|
easeInOutQuart: function (x, t, b, c, d) { |
||||
|
if ((t/=d/2) < 1) return c/2*t*t*t*t + b; |
||||
|
return -c/2 * ((t-=2)*t*t*t - 2) + b; |
||||
|
}, |
||||
|
easeInQuint: function (x, t, b, c, d) { |
||||
|
return c*(t/=d)*t*t*t*t + b; |
||||
|
}, |
||||
|
easeOutQuint: function (x, t, b, c, d) { |
||||
|
return c*((t=t/d-1)*t*t*t*t + 1) + b; |
||||
|
}, |
||||
|
easeInOutQuint: function (x, t, b, c, d) { |
||||
|
if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; |
||||
|
return c/2*((t-=2)*t*t*t*t + 2) + b; |
||||
|
}, |
||||
|
easeInSine: function (x, t, b, c, d) { |
||||
|
return -c * Math.cos(t/d * (Math.PI/2)) + c + b; |
||||
|
}, |
||||
|
easeOutSine: function (x, t, b, c, d) { |
||||
|
return c * Math.sin(t/d * (Math.PI/2)) + b; |
||||
|
}, |
||||
|
easeInOutSine: function (x, t, b, c, d) { |
||||
|
return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b; |
||||
|
}, |
||||
|
easeInExpo: function (x, t, b, c, d) { |
||||
|
return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; |
||||
|
}, |
||||
|
easeOutExpo: function (x, t, b, c, d) { |
||||
|
return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; |
||||
|
}, |
||||
|
easeInOutExpo: function (x, t, b, c, d) { |
||||
|
if (t==0) return b; |
||||
|
if (t==d) return b+c; |
||||
|
if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; |
||||
|
return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; |
||||
|
}, |
||||
|
easeInCirc: function (x, t, b, c, d) { |
||||
|
return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b; |
||||
|
}, |
||||
|
easeOutCirc: function (x, t, b, c, d) { |
||||
|
return c * Math.sqrt(1 - (t=t/d-1)*t) + b; |
||||
|
}, |
||||
|
easeInOutCirc: function (x, t, b, c, d) { |
||||
|
if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b; |
||||
|
return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b; |
||||
|
}, |
||||
|
easeInElastic: function (x, t, b, c, d) { |
||||
|
var s=1.70158;var p=0;var a=c; |
||||
|
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; |
||||
|
if (a < Math.abs(c)) { a=c; var s=p/4; } |
||||
|
else var s = p/(2*Math.PI) * Math.asin (c/a); |
||||
|
return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; |
||||
|
}, |
||||
|
easeOutElastic: function (x, t, b, c, d) { |
||||
|
var s=1.70158;var p=0;var a=c; |
||||
|
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; |
||||
|
if (a < Math.abs(c)) { a=c; var s=p/4; } |
||||
|
else var s = p/(2*Math.PI) * Math.asin (c/a); |
||||
|
return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; |
||||
|
}, |
||||
|
easeInOutElastic: function (x, t, b, c, d) { |
||||
|
var s=1.70158;var p=0;var a=c; |
||||
|
if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5); |
||||
|
if (a < Math.abs(c)) { a=c; var s=p/4; } |
||||
|
else var s = p/(2*Math.PI) * Math.asin (c/a); |
||||
|
if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; |
||||
|
return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; |
||||
|
}, |
||||
|
easeInBack: function (x, t, b, c, d, s) { |
||||
|
if (s == undefined) s = 1.70158; |
||||
|
return c*(t/=d)*t*((s+1)*t - s) + b; |
||||
|
}, |
||||
|
easeOutBack: function (x, t, b, c, d, s) { |
||||
|
if (s == undefined) s = 1.70158; |
||||
|
return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; |
||||
|
}, |
||||
|
easeInOutBack: function (x, t, b, c, d, s) { |
||||
|
if (s == undefined) s = 1.70158; |
||||
|
if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; |
||||
|
return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; |
||||
|
}, |
||||
|
easeInBounce: function (x, t, b, c, d) { |
||||
|
return c - $.easing.easeOutBounce (x, d-t, 0, c, d) + b; |
||||
|
}, |
||||
|
easeOutBounce: function (x, t, b, c, d) { |
||||
|
if ((t/=d) < (1/2.75)) { |
||||
|
return c*(7.5625*t*t) + b; |
||||
|
} else if (t < (2/2.75)) { |
||||
|
return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; |
||||
|
} else if (t < (2.5/2.75)) { |
||||
|
return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; |
||||
|
} else { |
||||
|
return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; |
||||
|
} |
||||
|
}, |
||||
|
easeInOutBounce: function (x, t, b, c, d) { |
||||
|
if (t < d/2) return $.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b; |
||||
|
return $.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b; |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
/* |
||||
|
* |
||||
|
* TERMS OF USE - EASING EQUATIONS |
||||
|
* |
||||
|
* Open source under the BSD License. |
||||
|
* |
||||
|
* Copyright 2001 Robert Penner |
||||
|
* All rights reserved. |
||||
|
* |
||||
|
* Redistribution and use in source and binary forms, with or without modification, |
||||
|
* are permitted provided that the following conditions are met: |
||||
|
* |
||||
|
* Redistributions of source code must retain the above copyright notice, this list of |
||||
|
* conditions and the following disclaimer. |
||||
|
* Redistributions in binary form must reproduce the above copyright notice, this list |
||||
|
* of conditions and the following disclaimer in the documentation and/or other materials |
||||
|
* provided with the distribution. |
||||
|
* |
||||
|
* Neither the name of the author nor the names of contributors may be used to endorse |
||||
|
* or promote products derived from this software without specific prior written permission. |
||||
|
* |
||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
||||
|
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
||||
|
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
||||
|
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
||||
|
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
||||
|
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
||||
|
* OF THE POSSIBILITY OF SUCH DAMAGE. |
||||
|
* |
||||
|
*/ |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,50 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Drop 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Drop
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.effects.core.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.effects.drop = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left','opacity']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
|
||||
|
var direction = o.options.direction || 'left'; // Default Direction
|
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
$.effects.createWrapper(el); // Create Wrapper
|
||||
|
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left'; |
||||
|
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg'; |
||||
|
var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) / 2 : el.outerWidth({margin:true}) / 2); |
||||
|
if (mode == 'show') el.css('opacity', 0).css(ref, motion == 'pos' ? -distance : distance); // Shift
|
||||
|
|
||||
|
// Animation
|
||||
|
var animation = {opacity: mode == 'show' ? 1 : 0}; |
||||
|
animation[ref] = (mode == 'show' ? (motion == 'pos' ? '+=' : '-=') : (motion == 'pos' ? '-=' : '+=')) + distance; |
||||
|
|
||||
|
// Animate
|
||||
|
el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { |
||||
|
if(mode == 'hide') el.hide(); // Hide
|
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(this, arguments); // Callback
|
||||
|
el.dequeue(); |
||||
|
}}); |
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,79 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Explode 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Explode
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.effects.core.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.effects.explode = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
var rows = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3; |
||||
|
var cells = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3; |
||||
|
|
||||
|
o.options.mode = o.options.mode == 'toggle' ? ($(this).is(':visible') ? 'hide' : 'show') : o.options.mode; |
||||
|
var el = $(this).show().css('visibility', 'hidden'); |
||||
|
var offset = el.offset(); |
||||
|
|
||||
|
//Substract the margins - not fixing the problem yet.
|
||||
|
offset.top -= parseInt(el.css("marginTop"),10) || 0; |
||||
|
offset.left -= parseInt(el.css("marginLeft"),10) || 0; |
||||
|
|
||||
|
var width = el.outerWidth(true); |
||||
|
var height = el.outerHeight(true); |
||||
|
|
||||
|
for(var i=0;i<rows;i++) { // =
|
||||
|
for(var j=0;j<cells;j++) { // ||
|
||||
|
el |
||||
|
.clone() |
||||
|
.appendTo('body') |
||||
|
.wrap('<div></div>') |
||||
|
.css({ |
||||
|
position: 'absolute', |
||||
|
visibility: 'visible', |
||||
|
left: -j*(width/cells), |
||||
|
top: -i*(height/rows) |
||||
|
}) |
||||
|
.parent() |
||||
|
.addClass('ui-effects-explode') |
||||
|
.css({ |
||||
|
position: 'absolute', |
||||
|
overflow: 'hidden', |
||||
|
width: width/cells, |
||||
|
height: height/rows, |
||||
|
left: offset.left + j*(width/cells) + (o.options.mode == 'show' ? (j-Math.floor(cells/2))*(width/cells) : 0), |
||||
|
top: offset.top + i*(height/rows) + (o.options.mode == 'show' ? (i-Math.floor(rows/2))*(height/rows) : 0), |
||||
|
opacity: o.options.mode == 'show' ? 0 : 1 |
||||
|
}).animate({ |
||||
|
left: offset.left + j*(width/cells) + (o.options.mode == 'show' ? 0 : (j-Math.floor(cells/2))*(width/cells)), |
||||
|
top: offset.top + i*(height/rows) + (o.options.mode == 'show' ? 0 : (i-Math.floor(rows/2))*(height/rows)), |
||||
|
opacity: o.options.mode == 'show' ? 1 : 0 |
||||
|
}, o.duration || 500); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
// Set a timeout, to call the callback approx. when the other animations have finished
|
||||
|
setTimeout(function() { |
||||
|
|
||||
|
o.options.mode == 'show' ? el.css({ visibility: 'visible' }) : el.css({ visibility: 'visible' }).hide(); |
||||
|
if(o.callback) o.callback.apply(el[0]); // Callback
|
||||
|
el.dequeue(); |
||||
|
|
||||
|
$('div.ui-effects-explode').remove(); |
||||
|
|
||||
|
}, o.duration || 500); |
||||
|
|
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,32 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Fade 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Fade
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.effects.core.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.effects.fade = function(o) { |
||||
|
return this.queue(function() { |
||||
|
var elem = $(this), |
||||
|
mode = $.effects.setMode(elem, o.options.mode || 'hide'); |
||||
|
|
||||
|
elem.animate({ opacity: mode }, { |
||||
|
queue: false, |
||||
|
duration: o.duration, |
||||
|
easing: o.options.easing, |
||||
|
complete: function() { |
||||
|
(o.callback && o.callback.apply(this, arguments)); |
||||
|
elem.dequeue(); |
||||
|
} |
||||
|
}); |
||||
|
}); |
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,56 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Fold 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Fold
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.effects.core.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.effects.fold = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
|
||||
|
var size = o.options.size || 15; // Default fold size
|
||||
|
var horizFirst = !(!o.options.horizFirst); // Ensure a boolean value
|
||||
|
var duration = o.duration ? o.duration / 2 : $.fx.speeds._default / 2; |
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
|
||||
|
var widthFirst = ((mode == 'show') != horizFirst); |
||||
|
var ref = widthFirst ? ['width', 'height'] : ['height', 'width']; |
||||
|
var distance = widthFirst ? [wrapper.width(), wrapper.height()] : [wrapper.height(), wrapper.width()]; |
||||
|
var percent = /([0-9]+)%/.exec(size); |
||||
|
if(percent) size = parseInt(percent[1],10) / 100 * distance[mode == 'hide' ? 0 : 1]; |
||||
|
if(mode == 'show') wrapper.css(horizFirst ? {height: 0, width: size} : {height: size, width: 0}); // Shift
|
||||
|
|
||||
|
// Animation
|
||||
|
var animation1 = {}, animation2 = {}; |
||||
|
animation1[ref[0]] = mode == 'show' ? distance[0] : size; |
||||
|
animation2[ref[1]] = mode == 'show' ? distance[1] : 0; |
||||
|
|
||||
|
// Animate
|
||||
|
wrapper.animate(animation1, duration, o.options.easing) |
||||
|
.animate(animation2, duration, o.options.easing, function() { |
||||
|
if(mode == 'hide') el.hide(); // Hide
|
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(el[0], arguments); // Callback
|
||||
|
el.dequeue(); |
||||
|
}); |
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,50 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Highlight 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Highlight
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.effects.core.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.effects.highlight = function(o) { |
||||
|
return this.queue(function() { |
||||
|
var elem = $(this), |
||||
|
props = ['backgroundImage', 'backgroundColor', 'opacity'], |
||||
|
mode = $.effects.setMode(elem, o.options.mode || 'show'), |
||||
|
animation = { |
||||
|
backgroundColor: elem.css('backgroundColor') |
||||
|
}; |
||||
|
|
||||
|
if (mode == 'hide') { |
||||
|
animation.opacity = 0; |
||||
|
} |
||||
|
|
||||
|
$.effects.save(elem, props); |
||||
|
elem |
||||
|
.show() |
||||
|
.css({ |
||||
|
backgroundImage: 'none', |
||||
|
backgroundColor: o.options.color || '#ffff99' |
||||
|
}) |
||||
|
.animate(animation, { |
||||
|
queue: false, |
||||
|
duration: o.duration, |
||||
|
easing: o.options.easing, |
||||
|
complete: function() { |
||||
|
(mode == 'hide' && elem.hide()); |
||||
|
$.effects.restore(elem, props); |
||||
|
(mode == 'show' && !$.support.opacity && this.style.removeAttribute('filter')); |
||||
|
(o.callback && o.callback.apply(this, arguments)); |
||||
|
elem.dequeue(); |
||||
|
} |
||||
|
}); |
||||
|
}); |
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,51 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Pulsate 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Pulsate
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.effects.core.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.effects.pulsate = function(o) { |
||||
|
return this.queue(function() { |
||||
|
var elem = $(this), |
||||
|
mode = $.effects.setMode(elem, o.options.mode || 'show'); |
||||
|
times = ((o.options.times || 5) * 2) - 1; |
||||
|
duration = o.duration ? o.duration / 2 : $.fx.speeds._default / 2, |
||||
|
isVisible = elem.is(':visible'), |
||||
|
animateTo = 0; |
||||
|
|
||||
|
if (!isVisible) { |
||||
|
elem.css('opacity', 0).show(); |
||||
|
animateTo = 1; |
||||
|
} |
||||
|
|
||||
|
if ((mode == 'hide' && isVisible) || (mode == 'show' && !isVisible)) { |
||||
|
times--; |
||||
|
} |
||||
|
|
||||
|
for (var i = 0; i < times; i++) { |
||||
|
elem.animate({ opacity: animateTo }, duration, o.options.easing); |
||||
|
animateTo = (animateTo + 1) % 2; |
||||
|
} |
||||
|
|
||||
|
elem.animate({ opacity: animateTo }, duration, o.options.easing, function() { |
||||
|
if (animateTo == 0) { |
||||
|
elem.hide(); |
||||
|
} |
||||
|
(o.callback && o.callback.apply(this, arguments)); |
||||
|
}); |
||||
|
|
||||
|
elem |
||||
|
.queue('fx', function() { elem.dequeue(); }) |
||||
|
.dequeue(); |
||||
|
}); |
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,178 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Scale 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Scale
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.effects.core.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.effects.puff = function(o) { |
||||
|
return this.queue(function() { |
||||
|
var elem = $(this), |
||||
|
mode = $.effects.setMode(elem, o.options.mode || 'hide'), |
||||
|
percent = parseInt(o.options.percent, 10) || 150, |
||||
|
factor = percent / 100, |
||||
|
original = { height: elem.height(), width: elem.width() }; |
||||
|
|
||||
|
$.extend(o.options, { |
||||
|
fade: true, |
||||
|
mode: mode, |
||||
|
percent: mode == 'hide' ? percent : 100, |
||||
|
from: mode == 'hide' |
||||
|
? original |
||||
|
: { |
||||
|
height: original.height * factor, |
||||
|
width: original.width * factor |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
elem.effect('scale', o.options, o.duration, o.callback); |
||||
|
elem.dequeue(); |
||||
|
}); |
||||
|
}; |
||||
|
|
||||
|
$.effects.scale = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this); |
||||
|
|
||||
|
// Set options
|
||||
|
var options = $.extend(true, {}, o.options); |
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
|
||||
|
var percent = parseInt(o.options.percent,10) || (parseInt(o.options.percent,10) == 0 ? 0 : (mode == 'hide' ? 0 : 100)); // Set default scaling percent
|
||||
|
var direction = o.options.direction || 'both'; // Set default axis
|
||||
|
var origin = o.options.origin; // The origin of the scaling
|
||||
|
if (mode != 'effect') { // Set default origin and restore for show/hide
|
||||
|
options.origin = origin || ['middle','center']; |
||||
|
options.restore = true; |
||||
|
} |
||||
|
var original = {height: el.height(), width: el.width()}; // Save original
|
||||
|
el.from = o.options.from || (mode == 'show' ? {height: 0, width: 0} : original); // Default from state
|
||||
|
|
||||
|
// Adjust
|
||||
|
var factor = { // Set scaling factor
|
||||
|
y: direction != 'horizontal' ? (percent / 100) : 1, |
||||
|
x: direction != 'vertical' ? (percent / 100) : 1 |
||||
|
}; |
||||
|
el.to = {height: original.height * factor.y, width: original.width * factor.x}; // Set to state
|
||||
|
|
||||
|
if (o.options.fade) { // Fade option to support puff
|
||||
|
if (mode == 'show') {el.from.opacity = 0; el.to.opacity = 1;}; |
||||
|
if (mode == 'hide') {el.from.opacity = 1; el.to.opacity = 0;}; |
||||
|
}; |
||||
|
|
||||
|
// Animation
|
||||
|
options.from = el.from; options.to = el.to; options.mode = mode; |
||||
|
|
||||
|
// Animate
|
||||
|
el.effect('size', options, o.duration, o.callback); |
||||
|
el.dequeue(); |
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
$.effects.size = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left','width','height','overflow','opacity']; |
||||
|
var props1 = ['position','top','left','overflow','opacity']; // Always restore
|
||||
|
var props2 = ['width','height','overflow']; // Copy for children
|
||||
|
var cProps = ['fontSize']; |
||||
|
var vProps = ['borderTopWidth', 'borderBottomWidth', 'paddingTop', 'paddingBottom']; |
||||
|
var hProps = ['borderLeftWidth', 'borderRightWidth', 'paddingLeft', 'paddingRight']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
|
||||
|
var restore = o.options.restore || false; // Default restore
|
||||
|
var scale = o.options.scale || 'both'; // Default scale mode
|
||||
|
var origin = o.options.origin; // The origin of the sizing
|
||||
|
var original = {height: el.height(), width: el.width()}; // Save original
|
||||
|
el.from = o.options.from || original; // Default from state
|
||||
|
el.to = o.options.to || original; // Default to state
|
||||
|
// Adjust
|
||||
|
if (origin) { // Calculate baseline shifts
|
||||
|
var baseline = $.effects.getBaseline(origin, original); |
||||
|
el.from.top = (original.height - el.from.height) * baseline.y; |
||||
|
el.from.left = (original.width - el.from.width) * baseline.x; |
||||
|
el.to.top = (original.height - el.to.height) * baseline.y; |
||||
|
el.to.left = (original.width - el.to.width) * baseline.x; |
||||
|
}; |
||||
|
var factor = { // Set scaling factor
|
||||
|
from: {y: el.from.height / original.height, x: el.from.width / original.width}, |
||||
|
to: {y: el.to.height / original.height, x: el.to.width / original.width} |
||||
|
}; |
||||
|
if (scale == 'box' || scale == 'both') { // Scale the css box
|
||||
|
if (factor.from.y != factor.to.y) { // Vertical props scaling
|
||||
|
props = props.concat(vProps); |
||||
|
el.from = $.effects.setTransition(el, vProps, factor.from.y, el.from); |
||||
|
el.to = $.effects.setTransition(el, vProps, factor.to.y, el.to); |
||||
|
}; |
||||
|
if (factor.from.x != factor.to.x) { // Horizontal props scaling
|
||||
|
props = props.concat(hProps); |
||||
|
el.from = $.effects.setTransition(el, hProps, factor.from.x, el.from); |
||||
|
el.to = $.effects.setTransition(el, hProps, factor.to.x, el.to); |
||||
|
}; |
||||
|
}; |
||||
|
if (scale == 'content' || scale == 'both') { // Scale the content
|
||||
|
if (factor.from.y != factor.to.y) { // Vertical props scaling
|
||||
|
props = props.concat(cProps); |
||||
|
el.from = $.effects.setTransition(el, cProps, factor.from.y, el.from); |
||||
|
el.to = $.effects.setTransition(el, cProps, factor.to.y, el.to); |
||||
|
}; |
||||
|
}; |
||||
|
$.effects.save(el, restore ? props : props1); el.show(); // Save & Show
|
||||
|
$.effects.createWrapper(el); // Create Wrapper
|
||||
|
el.css('overflow','hidden').css(el.from); // Shift
|
||||
|
|
||||
|
// Animate
|
||||
|
if (scale == 'content' || scale == 'both') { // Scale the children
|
||||
|
vProps = vProps.concat(['marginTop','marginBottom']).concat(cProps); // Add margins/font-size
|
||||
|
hProps = hProps.concat(['marginLeft','marginRight']); // Add margins
|
||||
|
props2 = props.concat(vProps).concat(hProps); // Concat
|
||||
|
el.find("*[width]").each(function(){ |
||||
|
child = $(this); |
||||
|
if (restore) $.effects.save(child, props2); |
||||
|
var c_original = {height: child.height(), width: child.width()}; // Save original
|
||||
|
child.from = {height: c_original.height * factor.from.y, width: c_original.width * factor.from.x}; |
||||
|
child.to = {height: c_original.height * factor.to.y, width: c_original.width * factor.to.x}; |
||||
|
if (factor.from.y != factor.to.y) { // Vertical props scaling
|
||||
|
child.from = $.effects.setTransition(child, vProps, factor.from.y, child.from); |
||||
|
child.to = $.effects.setTransition(child, vProps, factor.to.y, child.to); |
||||
|
}; |
||||
|
if (factor.from.x != factor.to.x) { // Horizontal props scaling
|
||||
|
child.from = $.effects.setTransition(child, hProps, factor.from.x, child.from); |
||||
|
child.to = $.effects.setTransition(child, hProps, factor.to.x, child.to); |
||||
|
}; |
||||
|
child.css(child.from); // Shift children
|
||||
|
child.animate(child.to, o.duration, o.options.easing, function(){ |
||||
|
if (restore) $.effects.restore(child, props2); // Restore children
|
||||
|
}); // Animate children
|
||||
|
}); |
||||
|
}; |
||||
|
|
||||
|
// Animate
|
||||
|
el.animate(el.to, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { |
||||
|
if (el.to.opacity === 0) { |
||||
|
el.css('opacity', el.from.opacity); |
||||
|
} |
||||
|
if(mode == 'hide') el.hide(); // Hide
|
||||
|
$.effects.restore(el, restore ? props : props1); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(this, arguments); // Callback
|
||||
|
el.dequeue(); |
||||
|
}}); |
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,57 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Shake 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Shake
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.effects.core.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.effects.shake = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
|
||||
|
var direction = o.options.direction || 'left'; // Default direction
|
||||
|
var distance = o.options.distance || 20; // Default distance
|
||||
|
var times = o.options.times || 3; // Default # of times
|
||||
|
var speed = o.duration || o.options.duration || 140; // Default speed per shake
|
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
$.effects.createWrapper(el); // Create Wrapper
|
||||
|
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left'; |
||||
|
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg'; |
||||
|
|
||||
|
// Animation
|
||||
|
var animation = {}, animation1 = {}, animation2 = {}; |
||||
|
animation[ref] = (motion == 'pos' ? '-=' : '+=') + distance; |
||||
|
animation1[ref] = (motion == 'pos' ? '+=' : '-=') + distance * 2; |
||||
|
animation2[ref] = (motion == 'pos' ? '-=' : '+=') + distance * 2; |
||||
|
|
||||
|
// Animate
|
||||
|
el.animate(animation, speed, o.options.easing); |
||||
|
for (var i = 1; i < times; i++) { // Shakes
|
||||
|
el.animate(animation1, speed, o.options.easing).animate(animation2, speed, o.options.easing); |
||||
|
}; |
||||
|
el.animate(animation1, speed, o.options.easing). |
||||
|
animate(animation, speed / 2, o.options.easing, function(){ // Last shake
|
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(this, arguments); // Callback
|
||||
|
}); |
||||
|
el.queue('fx', function() { el.dequeue(); }); |
||||
|
el.dequeue(); |
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,50 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Slide 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Slide
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.effects.core.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.effects.slide = function(o) { |
||||
|
|
||||
|
return this.queue(function() { |
||||
|
|
||||
|
// Create element
|
||||
|
var el = $(this), props = ['position','top','left']; |
||||
|
|
||||
|
// Set options
|
||||
|
var mode = $.effects.setMode(el, o.options.mode || 'show'); // Set Mode
|
||||
|
var direction = o.options.direction || 'left'; // Default Direction
|
||||
|
|
||||
|
// Adjust
|
||||
|
$.effects.save(el, props); el.show(); // Save & Show
|
||||
|
$.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
|
||||
|
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left'; |
||||
|
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg'; |
||||
|
var distance = o.options.distance || (ref == 'top' ? el.outerHeight({margin:true}) : el.outerWidth({margin:true})); |
||||
|
if (mode == 'show') el.css(ref, motion == 'pos' ? -distance : distance); // Shift
|
||||
|
|
||||
|
// Animation
|
||||
|
var animation = {}; |
||||
|
animation[ref] = (mode == 'show' ? (motion == 'pos' ? '+=' : '-=') : (motion == 'pos' ? '-=' : '+=')) + distance; |
||||
|
|
||||
|
// Animate
|
||||
|
el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { |
||||
|
if(mode == 'hide') el.hide(); // Hide
|
||||
|
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
||||
|
if(o.callback) o.callback.apply(this, arguments); // Callback
|
||||
|
el.dequeue(); |
||||
|
}}); |
||||
|
|
||||
|
}); |
||||
|
|
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,45 @@ |
|||||
|
/* |
||||
|
* jQuery UI Effects Transfer 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Effects/Transfer
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.effects.core.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.effects.transfer = function(o) { |
||||
|
return this.queue(function() { |
||||
|
var elem = $(this), |
||||
|
target = $(o.options.to), |
||||
|
endPosition = target.offset(), |
||||
|
animation = { |
||||
|
top: endPosition.top, |
||||
|
left: endPosition.left, |
||||
|
height: target.innerHeight(), |
||||
|
width: target.innerWidth() |
||||
|
}, |
||||
|
startPosition = elem.offset(), |
||||
|
transfer = $('<div class="ui-effects-transfer"></div>') |
||||
|
.appendTo(document.body) |
||||
|
.addClass(o.options.className) |
||||
|
.css({ |
||||
|
top: startPosition.top, |
||||
|
left: startPosition.left, |
||||
|
height: elem.innerHeight(), |
||||
|
width: elem.innerWidth(), |
||||
|
position: 'absolute' |
||||
|
}) |
||||
|
.animate(animation, o.duration, o.options.easing, function() { |
||||
|
transfer.remove(); |
||||
|
(o.callback && o.callback.apply(elem[0], arguments)); |
||||
|
elem.dequeue(); |
||||
|
}); |
||||
|
}); |
||||
|
}; |
||||
|
|
||||
|
})(jQuery); |
@ -0,0 +1,598 @@ |
|||||
|
/* |
||||
|
* jQuery UI Accordion 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Accordion
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.ui.core.js |
||||
|
* jquery.ui.widget.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.widget( "ui.accordion", { |
||||
|
options: { |
||||
|
active: 0, |
||||
|
animated: "slide", |
||||
|
autoHeight: true, |
||||
|
clearStyle: false, |
||||
|
collapsible: false, |
||||
|
event: "click", |
||||
|
fillSpace: false, |
||||
|
header: "> li > :first-child,> :not(li):even", |
||||
|
icons: { |
||||
|
header: "ui-icon-triangle-1-e", |
||||
|
headerSelected: "ui-icon-triangle-1-s" |
||||
|
}, |
||||
|
navigation: false, |
||||
|
navigationFilter: function() { |
||||
|
return this.href.toLowerCase() === location.href.toLowerCase(); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
_create: function() { |
||||
|
var self = this, |
||||
|
options = self.options; |
||||
|
|
||||
|
self.running = 0; |
||||
|
|
||||
|
self.element |
||||
|
.addClass( "ui-accordion ui-widget ui-helper-reset" ) |
||||
|
// in lack of child-selectors in CSS
|
||||
|
// we need to mark top-LIs in a UL-accordion for some IE-fix
|
||||
|
.children( "li" ) |
||||
|
.addClass( "ui-accordion-li-fix" ); |
||||
|
|
||||
|
self.headers = self.element.find( options.header ) |
||||
|
.addClass( "ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" ) |
||||
|
.bind( "mouseenter.accordion", function() { |
||||
|
if ( options.disabled ) { |
||||
|
return; |
||||
|
} |
||||
|
$( this ).addClass( "ui-state-hover" ); |
||||
|
}) |
||||
|
.bind( "mouseleave.accordion", function() { |
||||
|
if ( options.disabled ) { |
||||
|
return; |
||||
|
} |
||||
|
$( this ).removeClass( "ui-state-hover" ); |
||||
|
}) |
||||
|
.bind( "focus.accordion", function() { |
||||
|
if ( options.disabled ) { |
||||
|
return; |
||||
|
} |
||||
|
$( this ).addClass( "ui-state-focus" ); |
||||
|
}) |
||||
|
.bind( "blur.accordion", function() { |
||||
|
if ( options.disabled ) { |
||||
|
return; |
||||
|
} |
||||
|
$( this ).removeClass( "ui-state-focus" ); |
||||
|
}); |
||||
|
|
||||
|
self.headers.next() |
||||
|
.addClass( "ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" ); |
||||
|
|
||||
|
if ( options.navigation ) { |
||||
|
var current = self.element.find( "a" ).filter( options.navigationFilter ).eq( 0 ); |
||||
|
if ( current.length ) { |
||||
|
var header = current.closest( ".ui-accordion-header" ); |
||||
|
if ( header.length ) { |
||||
|
// anchor within header
|
||||
|
self.active = header; |
||||
|
} else { |
||||
|
// anchor within content
|
||||
|
self.active = current.closest( ".ui-accordion-content" ).prev(); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
self.active = self._findActive( self.active || options.active ) |
||||
|
.addClass( "ui-state-default ui-state-active" ) |
||||
|
.toggleClass( "ui-corner-all ui-corner-top" ); |
||||
|
self.active.next().addClass( "ui-accordion-content-active" ); |
||||
|
|
||||
|
self._createIcons(); |
||||
|
self.resize(); |
||||
|
|
||||
|
// ARIA
|
||||
|
self.element.attr( "role", "tablist" ); |
||||
|
|
||||
|
self.headers |
||||
|
.attr( "role", "tab" ) |
||||
|
.bind( "keydown.accordion", function( event ) { |
||||
|
return self._keydown( event ); |
||||
|
}) |
||||
|
.next() |
||||
|
.attr( "role", "tabpanel" ); |
||||
|
|
||||
|
self.headers |
||||
|
.not( self.active || "" ) |
||||
|
.attr({ |
||||
|
"aria-expanded": "false", |
||||
|
tabIndex: -1 |
||||
|
}) |
||||
|
.next() |
||||
|
.hide(); |
||||
|
|
||||
|
// make sure at least one header is in the tab order
|
||||
|
if ( !self.active.length ) { |
||||
|
self.headers.eq( 0 ).attr( "tabIndex", 0 ); |
||||
|
} else { |
||||
|
self.active |
||||
|
.attr({ |
||||
|
"aria-expanded": "true", |
||||
|
tabIndex: 0 |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
// only need links in tab order for Safari
|
||||
|
if ( !$.browser.safari ) { |
||||
|
self.headers.find( "a" ).attr( "tabIndex", -1 ); |
||||
|
} |
||||
|
|
||||
|
if ( options.event ) { |
||||
|
self.headers.bind( options.event.split(" ").join(".accordion ") + ".accordion", function(event) { |
||||
|
self._clickHandler.call( self, event, this ); |
||||
|
event.preventDefault(); |
||||
|
}); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
_createIcons: function() { |
||||
|
var options = this.options; |
||||
|
if ( options.icons ) { |
||||
|
$( "<span></span>" ) |
||||
|
.addClass( "ui-icon " + options.icons.header ) |
||||
|
.prependTo( this.headers ); |
||||
|
this.active.children( ".ui-icon" ) |
||||
|
.toggleClass(options.icons.header) |
||||
|
.toggleClass(options.icons.headerSelected); |
||||
|
this.element.addClass( "ui-accordion-icons" ); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
_destroyIcons: function() { |
||||
|
this.headers.children( ".ui-icon" ).remove(); |
||||
|
this.element.removeClass( "ui-accordion-icons" ); |
||||
|
}, |
||||
|
|
||||
|
destroy: function() { |
||||
|
var options = this.options; |
||||
|
|
||||
|
this.element |
||||
|
.removeClass( "ui-accordion ui-widget ui-helper-reset" ) |
||||
|
.removeAttr( "role" ); |
||||
|
|
||||
|
this.headers |
||||
|
.unbind( ".accordion" ) |
||||
|
.removeClass( "ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top" ) |
||||
|
.removeAttr( "role" ) |
||||
|
.removeAttr( "aria-expanded" ) |
||||
|
.removeAttr( "tabIndex" ); |
||||
|
|
||||
|
this.headers.find( "a" ).removeAttr( "tabIndex" ); |
||||
|
this._destroyIcons(); |
||||
|
var contents = this.headers.next() |
||||
|
.css( "display", "" ) |
||||
|
.removeAttr( "role" ) |
||||
|
.removeClass( "ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled" ); |
||||
|
if ( options.autoHeight || options.fillHeight ) { |
||||
|
contents.css( "height", "" ); |
||||
|
} |
||||
|
|
||||
|
return $.Widget.prototype.destroy.call( this ); |
||||
|
}, |
||||
|
|
||||
|
_setOption: function( key, value ) { |
||||
|
$.Widget.prototype._setOption.apply( this, arguments ); |
||||
|
|
||||
|
if ( key == "active" ) { |
||||
|
this.activate( value ); |
||||
|
} |
||||
|
if ( key == "icons" ) { |
||||
|
this._destroyIcons(); |
||||
|
if ( value ) { |
||||
|
this._createIcons(); |
||||
|
} |
||||
|
} |
||||
|
// #5332 - opacity doesn't cascade to positioned elements in IE
|
||||
|
// so we need to add the disabled class to the headers and panels
|
||||
|
if ( key == "disabled" ) { |
||||
|
this.headers.add(this.headers.next()) |
||||
|
[ value ? "addClass" : "removeClass" ]( |
||||
|
"ui-accordion-disabled ui-state-disabled" ); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
_keydown: function( event ) { |
||||
|
if ( this.options.disabled || event.altKey || event.ctrlKey ) { |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
var keyCode = $.ui.keyCode, |
||||
|
length = this.headers.length, |
||||
|
currentIndex = this.headers.index( event.target ), |
||||
|
toFocus = false; |
||||
|
|
||||
|
switch ( event.keyCode ) { |
||||
|
case keyCode.RIGHT: |
||||
|
case keyCode.DOWN: |
||||
|
toFocus = this.headers[ ( currentIndex + 1 ) % length ]; |
||||
|
break; |
||||
|
case keyCode.LEFT: |
||||
|
case keyCode.UP: |
||||
|
toFocus = this.headers[ ( currentIndex - 1 + length ) % length ]; |
||||
|
break; |
||||
|
case keyCode.SPACE: |
||||
|
case keyCode.ENTER: |
||||
|
this._clickHandler( { target: event.target }, event.target ); |
||||
|
event.preventDefault(); |
||||
|
} |
||||
|
|
||||
|
if ( toFocus ) { |
||||
|
$( event.target ).attr( "tabIndex", -1 ); |
||||
|
$( toFocus ).attr( "tabIndex", 0 ); |
||||
|
toFocus.focus(); |
||||
|
return false; |
||||
|
} |
||||
|
|
||||
|
return true; |
||||
|
}, |
||||
|
|
||||
|
resize: function() { |
||||
|
var options = this.options, |
||||
|
maxHeight; |
||||
|
|
||||
|
if ( options.fillSpace ) { |
||||
|
if ( $.browser.msie ) { |
||||
|
var defOverflow = this.element.parent().css( "overflow" ); |
||||
|
this.element.parent().css( "overflow", "hidden"); |
||||
|
} |
||||
|
maxHeight = this.element.parent().height(); |
||||
|
if ($.browser.msie) { |
||||
|
this.element.parent().css( "overflow", defOverflow ); |
||||
|
} |
||||
|
|
||||
|
this.headers.each(function() { |
||||
|
maxHeight -= $( this ).outerHeight( true ); |
||||
|
}); |
||||
|
|
||||
|
this.headers.next() |
||||
|
.each(function() { |
||||
|
$( this ).height( Math.max( 0, maxHeight - |
||||
|
$( this ).innerHeight() + $( this ).height() ) ); |
||||
|
}) |
||||
|
.css( "overflow", "auto" ); |
||||
|
} else if ( options.autoHeight ) { |
||||
|
maxHeight = 0; |
||||
|
this.headers.next() |
||||
|
.each(function() { |
||||
|
maxHeight = Math.max( maxHeight, $( this ).height( "" ).height() ); |
||||
|
}) |
||||
|
.height( maxHeight ); |
||||
|
} |
||||
|
|
||||
|
return this; |
||||
|
}, |
||||
|
|
||||
|
activate: function( index ) { |
||||
|
// TODO this gets called on init, changing the option without an explicit call for that
|
||||
|
this.options.active = index; |
||||
|
// call clickHandler with custom event
|
||||
|
var active = this._findActive( index )[ 0 ]; |
||||
|
this._clickHandler( { target: active }, active ); |
||||
|
|
||||
|
return this; |
||||
|
}, |
||||
|
|
||||
|
_findActive: function( selector ) { |
||||
|
return selector |
||||
|
? typeof selector === "number" |
||||
|
? this.headers.filter( ":eq(" + selector + ")" ) |
||||
|
: this.headers.not( this.headers.not( selector ) ) |
||||
|
: selector === false |
||||
|
? $( [] ) |
||||
|
: this.headers.filter( ":eq(0)" ); |
||||
|
}, |
||||
|
|
||||
|
// TODO isn't event.target enough? why the separate target argument?
|
||||
|
_clickHandler: function( event, target ) { |
||||
|
var options = this.options; |
||||
|
if ( options.disabled ) { |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
// called only when using activate(false) to close all parts programmatically
|
||||
|
if ( !event.target ) { |
||||
|
if ( !options.collapsible ) { |
||||
|
return; |
||||
|
} |
||||
|
this.active |
||||
|
.removeClass( "ui-state-active ui-corner-top" ) |
||||
|
.addClass( "ui-state-default ui-corner-all" ) |
||||
|
.children( ".ui-icon" ) |
||||
|
.removeClass( options.icons.headerSelected ) |
||||
|
.addClass( options.icons.header ); |
||||
|
this.active.next().addClass( "ui-accordion-content-active" ); |
||||
|
var toHide = this.active.next(), |
||||
|
data = { |
||||
|
options: options, |
||||
|
newHeader: $( [] ), |
||||
|
oldHeader: options.active, |
||||
|
newContent: $( [] ), |
||||
|
oldContent: toHide |
||||
|
}, |
||||
|
toShow = ( this.active = $( [] ) ); |
||||
|
this._toggle( toShow, toHide, data ); |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
// get the click target
|
||||
|
var clicked = $( event.currentTarget || target ), |
||||
|
clickedIsActive = clicked[0] === this.active[0]; |
||||
|
|
||||
|
// TODO the option is changed, is that correct?
|
||||
|
// TODO if it is correct, shouldn't that happen after determining that the click is valid?
|
||||
|
options.active = options.collapsible && clickedIsActive ? |
||||
|
false : |
||||
|
this.headers.index( clicked ); |
||||
|
|
||||
|
// if animations are still active, or the active header is the target, ignore click
|
||||
|
if ( this.running || ( !options.collapsible && clickedIsActive ) ) { |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
// switch classes
|
||||
|
this.active |
||||
|
.removeClass( "ui-state-active ui-corner-top" ) |
||||
|
.addClass( "ui-state-default ui-corner-all" ) |
||||
|
.children( ".ui-icon" ) |
||||
|
.removeClass( options.icons.headerSelected ) |
||||
|
.addClass( options.icons.header ); |
||||
|
if ( !clickedIsActive ) { |
||||
|
clicked |
||||
|
.removeClass( "ui-state-default ui-corner-all" ) |
||||
|
.addClass( "ui-state-active ui-corner-top" ) |
||||
|
.children( ".ui-icon" ) |
||||
|
.removeClass( options.icons.header ) |
||||
|
.addClass( options.icons.headerSelected ); |
||||
|
clicked |
||||
|
.next() |
||||
|
.addClass( "ui-accordion-content-active" ); |
||||
|
} |
||||
|
|
||||
|
// find elements to show and hide
|
||||
|
var toShow = clicked.next(), |
||||
|
toHide = this.active.next(), |
||||
|
data = { |
||||
|
options: options, |
||||
|
newHeader: clickedIsActive && options.collapsible ? $([]) : clicked, |
||||
|
oldHeader: this.active, |
||||
|
newContent: clickedIsActive && options.collapsible ? $([]) : toShow, |
||||
|
oldContent: toHide |
||||
|
}, |
||||
|
down = this.headers.index( this.active[0] ) > this.headers.index( clicked[0] ); |
||||
|
|
||||
|
this.active = clickedIsActive ? $([]) : clicked; |
||||
|
this._toggle( toShow, toHide, data, clickedIsActive, down ); |
||||
|
|
||||
|
return; |
||||
|
}, |
||||
|
|
||||
|
_toggle: function( toShow, toHide, data, clickedIsActive, down ) { |
||||
|
var self = this, |
||||
|
options = self.options; |
||||
|
|
||||
|
self.toShow = toShow; |
||||
|
self.toHide = toHide; |
||||
|
self.data = data; |
||||
|
|
||||
|
var complete = function() { |
||||
|
if ( !self ) { |
||||
|
return; |
||||
|
} |
||||
|
return self._completed.apply( self, arguments ); |
||||
|
}; |
||||
|
|
||||
|
// trigger changestart event
|
||||
|
self._trigger( "changestart", null, self.data ); |
||||
|
|
||||
|
// count elements to animate
|
||||
|
self.running = toHide.size() === 0 ? toShow.size() : toHide.size(); |
||||
|
|
||||
|
if ( options.animated ) { |
||||
|
var animOptions = {}; |
||||
|
|
||||
|
if ( options.collapsible && clickedIsActive ) { |
||||
|
animOptions = { |
||||
|
toShow: $( [] ), |
||||
|
toHide: toHide, |
||||
|
complete: complete, |
||||
|
down: down, |
||||
|
autoHeight: options.autoHeight || options.fillSpace |
||||
|
}; |
||||
|
} else { |
||||
|
animOptions = { |
||||
|
toShow: toShow, |
||||
|
toHide: toHide, |
||||
|
complete: complete, |
||||
|
down: down, |
||||
|
autoHeight: options.autoHeight || options.fillSpace |
||||
|
}; |
||||
|
} |
||||
|
|
||||
|
if ( !options.proxied ) { |
||||
|
options.proxied = options.animated; |
||||
|
} |
||||
|
|
||||
|
if ( !options.proxiedDuration ) { |
||||
|
options.proxiedDuration = options.duration; |
||||
|
} |
||||
|
|
||||
|
options.animated = $.isFunction( options.proxied ) ? |
||||
|
options.proxied( animOptions ) : |
||||
|
options.proxied; |
||||
|
|
||||
|
options.duration = $.isFunction( options.proxiedDuration ) ? |
||||
|
options.proxiedDuration( animOptions ) : |
||||
|
options.proxiedDuration; |
||||
|
|
||||
|
var animations = $.ui.accordion.animations, |
||||
|
duration = options.duration, |
||||
|
easing = options.animated; |
||||
|
|
||||
|
if ( easing && !animations[ easing ] && !$.easing[ easing ] ) { |
||||
|
easing = "slide"; |
||||
|
} |
||||
|
if ( !animations[ easing ] ) { |
||||
|
animations[ easing ] = function( options ) { |
||||
|
this.slide( options, { |
||||
|
easing: easing, |
||||
|
duration: duration || 700 |
||||
|
}); |
||||
|
}; |
||||
|
} |
||||
|
|
||||
|
animations[ easing ]( animOptions ); |
||||
|
} else { |
||||
|
if ( options.collapsible && clickedIsActive ) { |
||||
|
toShow.toggle(); |
||||
|
} else { |
||||
|
toHide.hide(); |
||||
|
toShow.show(); |
||||
|
} |
||||
|
|
||||
|
complete( true ); |
||||
|
} |
||||
|
|
||||
|
// TODO assert that the blur and focus triggers are really necessary, remove otherwise
|
||||
|
toHide.prev() |
||||
|
.attr({ |
||||
|
"aria-expanded": "false", |
||||
|
tabIndex: -1 |
||||
|
}) |
||||
|
.blur(); |
||||
|
toShow.prev() |
||||
|
.attr({ |
||||
|
"aria-expanded": "true", |
||||
|
tabIndex: 0 |
||||
|
}) |
||||
|
.focus(); |
||||
|
}, |
||||
|
|
||||
|
_completed: function( cancel ) { |
||||
|
this.running = cancel ? 0 : --this.running; |
||||
|
if ( this.running ) { |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
if ( this.options.clearStyle ) { |
||||
|
this.toShow.add( this.toHide ).css({ |
||||
|
height: "", |
||||
|
overflow: "" |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
// other classes are removed before the animation; this one needs to stay until completed
|
||||
|
this.toHide.removeClass( "ui-accordion-content-active" ); |
||||
|
|
||||
|
this._trigger( "change", null, this.data ); |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
$.extend( $.ui.accordion, { |
||||
|
version: "1.8.5", |
||||
|
animations: { |
||||
|
slide: function( options, additions ) { |
||||
|
options = $.extend({ |
||||
|
easing: "swing", |
||||
|
duration: 300 |
||||
|
}, options, additions ); |
||||
|
if ( !options.toHide.size() ) { |
||||
|
options.toShow.animate({ |
||||
|
height: "show", |
||||
|
paddingTop: "show", |
||||
|
paddingBottom: "show" |
||||
|
}, options ); |
||||
|
return; |
||||
|
} |
||||
|
if ( !options.toShow.size() ) { |
||||
|
options.toHide.animate({ |
||||
|
height: "hide", |
||||
|
paddingTop: "hide", |
||||
|
paddingBottom: "hide" |
||||
|
}, options ); |
||||
|
return; |
||||
|
} |
||||
|
var overflow = options.toShow.css( "overflow" ), |
||||
|
percentDone = 0, |
||||
|
showProps = {}, |
||||
|
hideProps = {}, |
||||
|
fxAttrs = [ "height", "paddingTop", "paddingBottom" ], |
||||
|
originalWidth; |
||||
|
// fix width before calculating height of hidden element
|
||||
|
var s = options.toShow; |
||||
|
originalWidth = s[0].style.width; |
||||
|
s.width( parseInt( s.parent().width(), 10 ) |
||||
|
- parseInt( s.css( "paddingLeft" ), 10 ) |
||||
|
- parseInt( s.css( "paddingRight" ), 10 ) |
||||
|
- ( parseInt( s.css( "borderLeftWidth" ), 10 ) || 0 ) |
||||
|
- ( parseInt( s.css( "borderRightWidth" ), 10) || 0 ) ); |
||||
|
|
||||
|
$.each( fxAttrs, function( i, prop ) { |
||||
|
hideProps[ prop ] = "hide"; |
||||
|
|
||||
|
var parts = ( "" + $.css( options.toShow[0], prop ) ).match( /^([\d+-.]+)(.*)$/ ); |
||||
|
showProps[ prop ] = { |
||||
|
value: parts[ 1 ], |
||||
|
unit: parts[ 2 ] || "px" |
||||
|
}; |
||||
|
}); |
||||
|
options.toShow.css({ height: 0, overflow: "hidden" }).show(); |
||||
|
options.toHide |
||||
|
.filter( ":hidden" ) |
||||
|
.each( options.complete ) |
||||
|
.end() |
||||
|
.filter( ":visible" ) |
||||
|
.animate( hideProps, { |
||||
|
step: function( now, settings ) { |
||||
|
// only calculate the percent when animating height
|
||||
|
// IE gets very inconsistent results when animating elements
|
||||
|
// with small values, which is common for padding
|
||||
|
if ( settings.prop == "height" ) { |
||||
|
percentDone = ( settings.end - settings.start === 0 ) ? 0 : |
||||
|
( settings.now - settings.start ) / ( settings.end - settings.start ); |
||||
|
} |
||||
|
|
||||
|
options.toShow[ 0 ].style[ settings.prop ] = |
||||
|
( percentDone * showProps[ settings.prop ].value ) |
||||
|
+ showProps[ settings.prop ].unit; |
||||
|
}, |
||||
|
duration: options.duration, |
||||
|
easing: options.easing, |
||||
|
complete: function() { |
||||
|
if ( !options.autoHeight ) { |
||||
|
options.toShow.css( "height", "" ); |
||||
|
} |
||||
|
options.toShow.css({ |
||||
|
width: originalWidth, |
||||
|
overflow: overflow |
||||
|
}); |
||||
|
options.complete(); |
||||
|
} |
||||
|
}); |
||||
|
}, |
||||
|
bounceslide: function( options ) { |
||||
|
this.slide( options, { |
||||
|
easing: options.down ? "easeOutBounce" : "swing", |
||||
|
duration: options.down ? 1000 : 200 |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
})( jQuery ); |
@ -0,0 +1,555 @@ |
|||||
|
/* |
||||
|
* jQuery UI Autocomplete 1.8.5 |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Autocomplete
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.ui.core.js |
||||
|
* jquery.ui.widget.js |
||||
|
* jquery.ui.position.js |
||||
|
*/ |
||||
|
(function( $, undefined ) { |
||||
|
|
||||
|
$.widget( "ui.autocomplete", { |
||||
|
options: { |
||||
|
appendTo: "body", |
||||
|
delay: 300, |
||||
|
minLength: 1, |
||||
|
position: { |
||||
|
my: "left top", |
||||
|
at: "left bottom", |
||||
|
collision: "none" |
||||
|
}, |
||||
|
source: null |
||||
|
}, |
||||
|
_create: function() { |
||||
|
var self = this, |
||||
|
doc = this.element[ 0 ].ownerDocument; |
||||
|
this.element |
||||
|
.addClass( "ui-autocomplete-input" ) |
||||
|
.attr( "autocomplete", "off" ) |
||||
|
// TODO verify these actually work as intended
|
||||
|
.attr({ |
||||
|
role: "textbox", |
||||
|
"aria-autocomplete": "list", |
||||
|
"aria-haspopup": "true" |
||||
|
}) |
||||
|
.bind( "keydown.autocomplete", function( event ) { |
||||
|
if ( self.options.disabled ) { |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
var keyCode = $.ui.keyCode; |
||||
|
switch( event.keyCode ) { |
||||
|
case keyCode.PAGE_UP: |
||||
|
self._move( "previousPage", event ); |
||||
|
break; |
||||
|
case keyCode.PAGE_DOWN: |
||||
|
self._move( "nextPage", event ); |
||||
|
break; |
||||
|
case keyCode.UP: |
||||
|
self._move( "previous", event ); |
||||
|
// prevent moving cursor to beginning of text field in some browsers
|
||||
|
event.preventDefault(); |
||||
|
break; |
||||
|
case keyCode.DOWN: |
||||
|
self._move( "next", event ); |
||||
|
// prevent moving cursor to end of text field in some browsers
|
||||
|
event.preventDefault(); |
||||
|
break; |
||||
|
case keyCode.ENTER: |
||||
|
case keyCode.NUMPAD_ENTER: |
||||
|
// when menu is open or has focus
|
||||
|
if ( self.menu.element.is( ":visible" ) ) { |
||||
|
event.preventDefault(); |
||||
|
} |
||||
|
//passthrough - ENTER and TAB both select the current element
|
||||
|
case keyCode.TAB: |
||||
|
if ( !self.menu.active ) { |
||||
|
return; |
||||
|
} |
||||
|
self.menu.select( event ); |
||||
|
break; |
||||
|
case keyCode.ESCAPE: |
||||
|
self.element.val( self.term ); |
||||
|
self.close( event ); |
||||
|
break; |
||||
|
default: |
||||
|
// keypress is triggered before the input value is changed
|
||||
|
clearTimeout( self.searching ); |
||||
|
self.searching = setTimeout(function() { |
||||
|
// only search if the value has changed
|
||||
|
if ( self.term != self.element.val() ) { |
||||
|
self.selectedItem = null; |
||||
|
self.search( null, event ); |
||||
|
} |
||||
|
}, self.options.delay ); |
||||
|
break; |
||||
|
} |
||||
|
}) |
||||
|
.bind( "focus.autocomplete", function() { |
||||
|
if ( self.options.disabled ) { |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
self.selectedItem = null; |
||||
|
self.previous = self.element.val(); |
||||
|
}) |
||||
|
.bind( "blur.autocomplete", function( event ) { |
||||
|
if ( self.options.disabled ) { |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
clearTimeout( self.searching ); |
||||
|
// clicks on the menu (or a button to trigger a search) will cause a blur event
|
||||
|
self.closing = setTimeout(function() { |
||||
|
self.close( event ); |
||||
|
self._change( event ); |
||||
|
}, 150 ); |
||||
|
}); |
||||
|
this._initSource(); |
||||
|
this.response = function() { |
||||
|
return self._response.apply( self, arguments ); |
||||
|
}; |
||||
|
this.menu = $( "<ul></ul>" ) |
||||
|
.addClass( "ui-autocomplete" ) |
||||
|
.appendTo( $( this.options.appendTo || "body", doc )[0] ) |
||||
|
// prevent the close-on-blur in case of a "slow" click on the menu (long mousedown)
|
||||
|
.mousedown(function( event ) { |
||||
|
// clicking on the scrollbar causes focus to shift to the body
|
||||
|
// but we can't detect a mouseup or a click immediately afterward
|
||||
|
// so we have to track the next mousedown and close the menu if
|
||||
|
// the user clicks somewhere outside of the autocomplete
|
||||
|
var menuElement = self.menu.element[ 0 ]; |
||||
|
if ( event.target === menuElement ) { |
||||
|
setTimeout(function() { |
||||
|
$( document ).one( 'mousedown', function( event ) { |
||||
|
if ( event.target !== self.element[ 0 ] && |
||||
|
event.target !== menuElement && |
||||
|
!$.ui.contains( menuElement, event.target ) ) { |
||||
|
self.close(); |
||||
|
} |
||||
|
}); |
||||
|
}, 1 ); |
||||
|
} |
||||
|
|
||||
|
// use another timeout to make sure the blur-event-handler on the input was already triggered
|
||||
|
setTimeout(function() { |
||||
|
clearTimeout( self.closing ); |
||||
|
}, 13); |
||||
|
}) |
||||
|
.menu({ |
||||
|
focus: function( event, ui ) { |
||||
|
var item = ui.item.data( "item.autocomplete" ); |
||||
|
if ( false !== self._trigger( "focus", null, { item: item } ) ) { |
||||
|
// use value to match what will end up in the input, if it was a key event
|
||||
|
if ( /^key/.test(event.originalEvent.type) ) { |
||||
|
self.element.val( item.value ); |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
selected: function( event, ui ) { |
||||
|
var item = ui.item.data( "item.autocomplete" ), |
||||
|
previous = self.previous; |
||||
|
|
||||
|
// only trigger when focus was lost (click on menu)
|
||||
|
if ( self.element[0] !== doc.activeElement ) { |
||||
|
self.element.focus(); |
||||
|
self.previous = previous; |
||||
|
} |
||||
|
|
||||
|
if ( false !== self._trigger( "select", event, { item: item } ) ) { |
||||
|
self.term = item.value; |
||||
|
self.element.val( item.value ); |
||||
|
} |
||||
|
|
||||
|
self.close( event ); |
||||
|
self.selectedItem = item; |
||||
|
}, |
||||
|
blur: function( event, ui ) { |
||||
|
// don't set the value of the text field if it's already correct
|
||||
|
// this prevents moving the cursor unnecessarily
|
||||
|
if ( self.menu.element.is(":visible") && |
||||
|
( self.element.val() !== self.term ) ) { |
||||
|
self.element.val( self.term ); |
||||
|
} |
||||
|
} |
||||
|
}) |
||||
|
.zIndex( this.element.zIndex() + 1 ) |
||||
|
// workaround for jQuery bug #5781 http://dev.jquery.com/ticket/5781
|
||||
|
.css({ top: 0, left: 0 }) |
||||
|
.hide() |
||||
|
.data( "menu" ); |
||||
|
if ( $.fn.bgiframe ) { |
||||
|
this.menu.element.bgiframe(); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
destroy: function() { |
||||
|
this.element |
||||
|
.removeClass( "ui-autocomplete-input" ) |
||||
|
.removeAttr( "autocomplete" ) |
||||
|
.removeAttr( "role" ) |
||||
|
.removeAttr( "aria-autocomplete" ) |
||||
|
.removeAttr( "aria-haspopup" ); |
||||
|
this.menu.element.remove(); |
||||
|
$.Widget.prototype.destroy.call( this ); |
||||
|
}, |
||||
|
|
||||
|
_setOption: function( key, value ) { |
||||
|
$.Widget.prototype._setOption.apply( this, arguments ); |
||||
|
if ( key === "source" ) { |
||||
|
this._initSource(); |
||||
|
} |
||||
|
if ( key === "appendTo" ) { |
||||
|
this.menu.element.appendTo( $( value || "body", this.element[0].ownerDocument )[0] ) |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
_initSource: function() { |
||||
|
var self = this, |
||||
|
array, |
||||
|
url; |
||||
|
if ( $.isArray(this.options.source) ) { |
||||
|
array = this.options.source; |
||||
|
this.source = function( request, response ) { |
||||
|
response( $.ui.autocomplete.filter(array, request.term) ); |
||||
|
}; |
||||
|
} else if ( typeof this.options.source === "string" ) { |
||||
|
url = this.options.source; |
||||
|
this.source = function( request, response ) { |
||||
|
if (self.xhr) { |
||||
|
self.xhr.abort(); |
||||
|
} |
||||
|
self.xhr = $.getJSON( url, request, function( data, status, xhr ) { |
||||
|
if ( xhr === self.xhr ) { |
||||
|
response( data ); |
||||
|
} |
||||
|
self.xhr = null; |
||||
|
}); |
||||
|
}; |
||||
|
} else { |
||||
|
this.source = this.options.source; |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
search: function( value, event ) { |
||||
|
value = value != null ? value : this.element.val(); |
||||
|
|
||||
|
// always save the actual value, not the one passed as an argument
|
||||
|
this.term = this.element.val(); |
||||
|
|
||||
|
if ( value.length < this.options.minLength ) { |
||||
|
return this.close( event ); |
||||
|
} |
||||
|
|
||||
|
clearTimeout( this.closing ); |
||||
|
if ( this._trigger("search") === false ) { |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
return this._search( value ); |
||||
|
}, |
||||
|
|
||||
|
_search: function( value ) { |
||||
|
this.element.addClass( "ui-autocomplete-loading" ); |
||||
|
|
||||
|
this.source( { term: value }, this.response ); |
||||
|
}, |
||||
|
|
||||
|
_response: function( content ) { |
||||
|
if ( content.length ) { |
||||
|
content = this._normalize( content ); |
||||
|
this._suggest( content ); |
||||
|
this._trigger( "open" ); |
||||
|
} else { |
||||
|
this.close(); |
||||
|
} |
||||
|
this.element.removeClass( "ui-autocomplete-loading" ); |
||||
|
}, |
||||
|
|
||||
|
close: function( event ) { |
||||
|
clearTimeout( this.closing ); |
||||
|
if ( this.menu.element.is(":visible") ) { |
||||
|
this._trigger( "close", event ); |
||||
|
this.menu.element.hide(); |
||||
|
this.menu.deactivate(); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
_change: function( event ) { |
||||
|
if ( this.previous !== this.element.val() ) { |
||||
|
this._trigger( "change", event, { item: this.selectedItem } ); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
_normalize: function( items ) { |
||||
|
// assume all items have the right format when the first item is complete
|
||||
|
if ( items.length && items[0].label && items[0].value ) { |
||||
|
return items; |
||||
|
} |
||||
|
return $.map( items, function(item) { |
||||
|
if ( typeof item === "string" ) { |
||||
|
return { |
||||
|
label: item, |
||||
|
value: item |
||||
|
}; |
||||
|
} |
||||
|
return $.extend({ |
||||
|
label: item.label || item.value, |
||||
|
value: item.value || item.label |
||||
|
}, item ); |
||||
|
}); |
||||
|
}, |
||||
|
|
||||
|
_suggest: function( items ) { |
||||
|
var ul = this.menu.element |
||||
|
.empty() |
||||
|
.zIndex( this.element.zIndex() + 1 ), |
||||
|
menuWidth, |
||||
|
textWidth; |
||||
|
this._renderMenu( ul, items ); |
||||
|
// TODO refresh should check if the active item is still in the dom, removing the need for a manual deactivate
|
||||
|
this.menu.deactivate(); |
||||
|
this.menu.refresh(); |
||||
|
this.menu.element.show().position( $.extend({ |
||||
|
of: this.element |
||||
|
}, this.options.position )); |
||||
|
|
||||
|
menuWidth = ul.width( "" ).outerWidth(); |
||||
|
textWidth = this.element.outerWidth(); |
||||
|
ul.outerWidth( Math.max( menuWidth, textWidth ) ); |
||||
|
}, |
||||
|
|
||||
|
_renderMenu: function( ul, items ) { |
||||
|
var self = this; |
||||
|
$.each( items, function( index, item ) { |
||||
|
self._renderItem( ul, item ); |
||||
|
}); |
||||
|
}, |
||||
|
|
||||
|
_renderItem: function( ul, item) { |
||||
|
return $( "<li></li>" ) |
||||
|
.data( "item.autocomplete", item ) |
||||
|
.append( $( "<a></a>" ).text( item.label ) ) |
||||
|
.appendTo( ul ); |
||||
|
}, |
||||
|
|
||||
|
_move: function( direction, event ) { |
||||
|
if ( !this.menu.element.is(":visible") ) { |
||||
|
this.search( null, event ); |
||||
|
return; |
||||
|
} |
||||
|
if ( this.menu.first() && /^previous/.test(direction) || |
||||
|
this.menu.last() && /^next/.test(direction) ) { |
||||
|
this.element.val( this.term ); |
||||
|
this.menu.deactivate(); |
||||
|
return; |
||||
|
} |
||||
|
this.menu[ direction ]( event ); |
||||
|
}, |
||||
|
|
||||
|
widget: function() { |
||||
|
return this.menu.element; |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
$.extend( $.ui.autocomplete, { |
||||
|
escapeRegex: function( value ) { |
||||
|
return value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); |
||||
|
}, |
||||
|
filter: function(array, term) { |
||||
|
var matcher = new RegExp( $.ui.autocomplete.escapeRegex(term), "i" ); |
||||
|
return $.grep( array, function(value) { |
||||
|
return matcher.test( value.label || value.value || value ); |
||||
|
}); |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
}( jQuery )); |
||||
|
|
||||
|
/* |
||||
|
* jQuery UI Menu (not officially released) |
||||
|
* |
||||
|
* This widget isn't yet finished and the API is subject to change. We plan to finish |
||||
|
* it for the next release. You're welcome to give it a try anyway and give us feedback, |
||||
|
* as long as you're okay with migrating your code later on. We can help with that, too. |
||||
|
* |
||||
|
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
|
* Dual licensed under the MIT or GPL Version 2 licenses. |
||||
|
* http://jquery.org/license
|
||||
|
* |
||||
|
* http://docs.jquery.com/UI/Menu
|
||||
|
* |
||||
|
* Depends: |
||||
|
* jquery.ui.core.js |
||||
|
* jquery.ui.widget.js |
||||
|
*/ |
||||
|
(function($) { |
||||
|
|
||||
|
$.widget("ui.menu", { |
||||
|
_create: function() { |
||||
|
var self = this; |
||||
|
this.element |
||||
|
.addClass("ui-menu ui-widget ui-widget-content ui-corner-all") |
||||
|
.attr({ |
||||
|
role: "listbox", |
||||
|
"aria-activedescendant": "ui-active-menuitem" |
||||
|
}) |
||||
|
.click(function( event ) { |
||||
|
if ( !$( event.target ).closest( ".ui-menu-item a" ).length ) { |
||||
|
return; |
||||
|
} |
||||
|
// temporary
|
||||
|
event.preventDefault(); |
||||
|
self.select( event ); |
||||
|
}); |
||||
|
this.refresh(); |
||||
|
}, |
||||
|
|
||||
|
refresh: function() { |
||||
|
var self = this; |
||||
|
|
||||
|
// don't refresh list items that are already adapted
|
||||
|
var items = this.element.children("li:not(.ui-menu-item):has(a)") |
||||
|
.addClass("ui-menu-item") |
||||
|
.attr("role", "menuitem"); |
||||
|
|
||||
|
items.children("a") |
||||
|
.addClass("ui-corner-all") |
||||
|
.attr("tabindex", -1) |
||||
|
// mouseenter doesn't work with event delegation
|
||||
|
.mouseenter(function( event ) { |
||||
|
self.activate( event, $(this).parent() ); |
||||
|
}) |
||||
|
.mouseleave(function() { |
||||
|
self.deactivate(); |
||||
|
}); |
||||
|
}, |
||||
|
|
||||
|
activate: function( event, item ) { |
||||
|
this.deactivate(); |
||||
|
if (this.hasScroll()) { |
||||
|
var offset = item.offset().top - this.element.offset().top, |
||||
|
scroll = this.element.attr("scrollTop"), |
||||
|
elementHeight = this.element.height(); |
||||
|
if (offset < 0) { |
||||
|
this.element.attr("scrollTop", scroll + offset); |
||||
|
} else if (offset >= elementHeight) { |
||||
|
this.element.attr("scrollTop", scroll + offset - elementHeight + item.height()); |
||||
|
} |
||||
|
} |
||||
|
this.active = item.eq(0) |
||||
|
.children("a") |
||||
|
.addClass("ui-state-hover") |
||||
|
.attr("id", "ui-active-menuitem") |
||||
|
.end(); |
||||
|
this._trigger("focus", event, { item: item }); |
||||
|
}, |
||||
|
|
||||
|
deactivate: function() { |
||||
|
if (!this.active) { return; } |
||||
|
|
||||
|
this.active.children("a") |
||||
|
.removeClass("ui-state-hover") |
||||
|
.removeAttr("id"); |
||||
|
this._trigger("blur"); |
||||
|
this.active = null; |
||||
|
}, |
||||
|
|
||||
|
next: function(event) { |
||||
|
this.move("next", ".ui-menu-item:first", event); |
||||
|
}, |
||||
|
|
||||
|
previous: function(event) { |
||||
|
this.move("prev", ".ui-menu-item:last", event); |
||||
|
}, |
||||
|
|
||||
|
first: function() { |
||||
|
return this.active && !this.active.prevAll(".ui-menu-item").length; |
||||
|
}, |
||||
|
|
||||
|
last: function() { |
||||
|
return this.active && !this.active.nextAll(".ui-menu-item").length; |
||||
|
}, |
||||
|
|
||||
|
move: function(direction, edge, event) { |
||||
|
if (!this.active) { |
||||
|
this.activate(event, this.element.children(edge)); |
||||
|
return; |
||||
|
} |
||||
|
var next = this.active[direction + "All"](".ui-menu-item").eq(0); |
||||
|
if (next.length) { |
||||
|
this.activate(event, next); |
||||
|
} else { |
||||
|
this.activate(event, this.element.children(edge)); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
// TODO merge with previousPage
|
||||
|
nextPage: function(event) { |
||||
|
if (this.hasScroll()) { |
||||
|
// TODO merge with no-scroll-else
|
||||
|
if (!this.active || this.last()) { |
||||
|
this.activate(event, this.element.children(":first")); |
||||
|
return; |
||||
|
} |
||||
|
var base = this.active.offset().top, |
||||
|
height = this.element.height(), |
||||
|
result = this.element.children("li").filter(function() { |
||||
|
var close = $(this).offset().top - base - height + $(this).height(); |
||||
|
// TODO improve approximation
|
||||
|
return close < 10 && close > -10; |
||||
|
}); |
||||
|
|
||||
|
// TODO try to catch this earlier when scrollTop indicates the last page anyway
|
||||
|
if (!result.length) { |
||||
|
result = this.element.children(":last"); |
||||
|
} |
||||
|
this.activate(event, result); |
||||
|
} else { |
||||
|
this.activate(event, this.element.children(!this.active || this.last() ? ":first" : ":last")); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
// TODO merge with nextPage
|
||||
|
previousPage: function(event) { |
||||
|
if (this.hasScroll()) { |
||||
|
// TODO merge with no-scroll-else
|
||||
|
if (!this.active || this.first()) { |
||||
|
this.activate(event, this.element.children(":last")); |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
var base = this.active.offset().top, |
||||
|
height = this.element.height(); |
||||
|
result = this.element.children("li").filter(function() { |
||||
|
var close = $(this).offset().top - base + height - $(this).height(); |
||||
|
// TODO improve approximation
|
||||
|
return close < 10 && close > -10; |
||||
|
}); |
||||
|
|
||||
|
// TODO try to catch this earlier when scrollTop indicates the last page anyway
|
||||
|
if (!result.length) { |
||||
|
result = this.element.children(":first"); |
||||
|
} |
||||
|
this.activate(event, result); |
||||
|
} else { |
||||
|
this.activate(event, this.element.children(!this.active || this.first() ? ":last" : ":first")); |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
hasScroll: function() { |
||||
|
return this.element.height() < this.element.attr("scrollHeight"); |
||||
|
}, |
||||
|
|
||||
|
select: function( event ) { |
||||
|
this._trigger("selected", event, { item: this.active }); |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
}(jQuery)); |