[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [6603] update yui from upstream
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [6603] update yui from upstream |
Date: |
Tue, 16 Nov 2010 21:18:13 +0000 |
Revision: 6603
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6603
Author: sigurdne
Date: 2010-11-16 21:18:12 +0000 (Tue, 16 Nov 2010)
Log Message:
-----------
update yui from upstream
Modified Paths:
--------------
trunk/phpgwapi/js/yahoo/animation/animation-debug.js
trunk/phpgwapi/js/yahoo/animation/animation-min.js
trunk/phpgwapi/js/yahoo/animation/animation.js
trunk/phpgwapi/js/yahoo/assets/skins/sam/autocomplete.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/button.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/calendar.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/carousel.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/colorpicker.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/container.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/datatable.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/editor.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/imagecropper.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/layout.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/logger.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/menu.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/paginator.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/profilerviewer.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/progressbar.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/resize.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/simpleeditor.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/skin.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/slider.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/tabview.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/treeview.css
trunk/phpgwapi/js/yahoo/assets/skins/sam/yuitest.css
trunk/phpgwapi/js/yahoo/autocomplete/assets/autocomplete-core.css
trunk/phpgwapi/js/yahoo/autocomplete/assets/skins/sam/autocomplete-skin.css
trunk/phpgwapi/js/yahoo/autocomplete/assets/skins/sam/autocomplete.css
trunk/phpgwapi/js/yahoo/autocomplete/autocomplete-debug.js
trunk/phpgwapi/js/yahoo/autocomplete/autocomplete-min.js
trunk/phpgwapi/js/yahoo/autocomplete/autocomplete.js
trunk/phpgwapi/js/yahoo/base/base-min.css
trunk/phpgwapi/js/yahoo/base/base.css
trunk/phpgwapi/js/yahoo/button/assets/button-core.css
trunk/phpgwapi/js/yahoo/button/assets/skins/sam/button-skin.css
trunk/phpgwapi/js/yahoo/button/assets/skins/sam/button.css
trunk/phpgwapi/js/yahoo/button/button-debug.js
trunk/phpgwapi/js/yahoo/button/button-min.js
trunk/phpgwapi/js/yahoo/button/button.js
trunk/phpgwapi/js/yahoo/calendar/assets/calendar-core.css
trunk/phpgwapi/js/yahoo/calendar/assets/calendar.css
trunk/phpgwapi/js/yahoo/calendar/assets/skins/sam/calendar-skin.css
trunk/phpgwapi/js/yahoo/calendar/assets/skins/sam/calendar.css
trunk/phpgwapi/js/yahoo/calendar/calendar-debug.js
trunk/phpgwapi/js/yahoo/calendar/calendar-min.js
trunk/phpgwapi/js/yahoo/calendar/calendar.js
trunk/phpgwapi/js/yahoo/carousel/assets/carousel-core.css
trunk/phpgwapi/js/yahoo/carousel/assets/skins/sam/carousel-skin.css
trunk/phpgwapi/js/yahoo/carousel/assets/skins/sam/carousel.css
trunk/phpgwapi/js/yahoo/carousel/carousel-debug.js
trunk/phpgwapi/js/yahoo/carousel/carousel-min.js
trunk/phpgwapi/js/yahoo/carousel/carousel.js
trunk/phpgwapi/js/yahoo/charts/assets/charts.swf
trunk/phpgwapi/js/yahoo/charts/charts-debug.js
trunk/phpgwapi/js/yahoo/charts/charts-min.js
trunk/phpgwapi/js/yahoo/charts/charts.js
trunk/phpgwapi/js/yahoo/colorpicker/assets/colorpicker-core.css
trunk/phpgwapi/js/yahoo/colorpicker/assets/skins/sam/colorpicker-skin.css
trunk/phpgwapi/js/yahoo/colorpicker/assets/skins/sam/colorpicker.css
trunk/phpgwapi/js/yahoo/colorpicker/colorpicker-debug.js
trunk/phpgwapi/js/yahoo/colorpicker/colorpicker-min.js
trunk/phpgwapi/js/yahoo/colorpicker/colorpicker.js
trunk/phpgwapi/js/yahoo/connection/connection-debug.js
trunk/phpgwapi/js/yahoo/connection/connection-min.js
trunk/phpgwapi/js/yahoo/connection/connection.js
trunk/phpgwapi/js/yahoo/connection/connection_core-debug.js
trunk/phpgwapi/js/yahoo/connection/connection_core-min.js
trunk/phpgwapi/js/yahoo/connection/connection_core.js
trunk/phpgwapi/js/yahoo/container/assets/container-core.css
trunk/phpgwapi/js/yahoo/container/assets/container.css
trunk/phpgwapi/js/yahoo/container/assets/skins/sam/container-skin.css
trunk/phpgwapi/js/yahoo/container/assets/skins/sam/container.css
trunk/phpgwapi/js/yahoo/container/container-debug.js
trunk/phpgwapi/js/yahoo/container/container-min.js
trunk/phpgwapi/js/yahoo/container/container.js
trunk/phpgwapi/js/yahoo/container/container_core-debug.js
trunk/phpgwapi/js/yahoo/container/container_core-min.js
trunk/phpgwapi/js/yahoo/container/container_core.js
trunk/phpgwapi/js/yahoo/cookie/cookie-debug.js
trunk/phpgwapi/js/yahoo/cookie/cookie-min.js
trunk/phpgwapi/js/yahoo/cookie/cookie.js
trunk/phpgwapi/js/yahoo/datasource/datasource-debug.js
trunk/phpgwapi/js/yahoo/datasource/datasource-min.js
trunk/phpgwapi/js/yahoo/datasource/datasource.js
trunk/phpgwapi/js/yahoo/datatable/assets/datatable-core.css
trunk/phpgwapi/js/yahoo/datatable/assets/datatable.css
trunk/phpgwapi/js/yahoo/datatable/assets/skins/sam/datatable-skin.css
trunk/phpgwapi/js/yahoo/datatable/assets/skins/sam/datatable.css
trunk/phpgwapi/js/yahoo/datatable/datatable-debug.js
trunk/phpgwapi/js/yahoo/datatable/datatable-min.js
trunk/phpgwapi/js/yahoo/datatable/datatable.js
trunk/phpgwapi/js/yahoo/datemath/datemath-debug.js
trunk/phpgwapi/js/yahoo/datemath/datemath-min.js
trunk/phpgwapi/js/yahoo/datemath/datemath.js
trunk/phpgwapi/js/yahoo/dom/dom-debug.js
trunk/phpgwapi/js/yahoo/dom/dom-min.js
trunk/phpgwapi/js/yahoo/dom/dom.js
trunk/phpgwapi/js/yahoo/dragdrop/dragdrop-debug.js
trunk/phpgwapi/js/yahoo/dragdrop/dragdrop-min.js
trunk/phpgwapi/js/yahoo/dragdrop/dragdrop.js
trunk/phpgwapi/js/yahoo/editor/assets/editor-core.css
trunk/phpgwapi/js/yahoo/editor/assets/simpleeditor-core.css
trunk/phpgwapi/js/yahoo/editor/assets/skins/sam/editor-skin.css
trunk/phpgwapi/js/yahoo/editor/assets/skins/sam/editor.css
trunk/phpgwapi/js/yahoo/editor/assets/skins/sam/simpleeditor-skin.css
trunk/phpgwapi/js/yahoo/editor/assets/skins/sam/simpleeditor.css
trunk/phpgwapi/js/yahoo/editor/editor-debug.js
trunk/phpgwapi/js/yahoo/editor/editor-min.js
trunk/phpgwapi/js/yahoo/editor/editor.js
trunk/phpgwapi/js/yahoo/editor/simpleeditor-debug.js
trunk/phpgwapi/js/yahoo/editor/simpleeditor-min.js
trunk/phpgwapi/js/yahoo/editor/simpleeditor.js
trunk/phpgwapi/js/yahoo/element/element-debug.js
trunk/phpgwapi/js/yahoo/element/element-min.js
trunk/phpgwapi/js/yahoo/element/element.js
trunk/phpgwapi/js/yahoo/element-delegate/element-delegate-debug.js
trunk/phpgwapi/js/yahoo/element-delegate/element-delegate-min.js
trunk/phpgwapi/js/yahoo/element-delegate/element-delegate.js
trunk/phpgwapi/js/yahoo/event/event-debug.js
trunk/phpgwapi/js/yahoo/event/event-min.js
trunk/phpgwapi/js/yahoo/event/event.js
trunk/phpgwapi/js/yahoo/event-delegate/event-delegate-debug.js
trunk/phpgwapi/js/yahoo/event-delegate/event-delegate-min.js
trunk/phpgwapi/js/yahoo/event-delegate/event-delegate.js
trunk/phpgwapi/js/yahoo/event-mouseenter/event-mouseenter-debug.js
trunk/phpgwapi/js/yahoo/event-mouseenter/event-mouseenter-min.js
trunk/phpgwapi/js/yahoo/event-mouseenter/event-mouseenter.js
trunk/phpgwapi/js/yahoo/event-simulate/event-simulate-debug.js
trunk/phpgwapi/js/yahoo/event-simulate/event-simulate-min.js
trunk/phpgwapi/js/yahoo/event-simulate/event-simulate.js
trunk/phpgwapi/js/yahoo/fonts/fonts-min.css
trunk/phpgwapi/js/yahoo/fonts/fonts.css
trunk/phpgwapi/js/yahoo/get/get-debug.js
trunk/phpgwapi/js/yahoo/get/get-min.js
trunk/phpgwapi/js/yahoo/get/get.js
trunk/phpgwapi/js/yahoo/grids/grids-min.css
trunk/phpgwapi/js/yahoo/grids/grids.css
trunk/phpgwapi/js/yahoo/history/history-debug.js
trunk/phpgwapi/js/yahoo/history/history-min.js
trunk/phpgwapi/js/yahoo/history/history.js
trunk/phpgwapi/js/yahoo/imagecropper/assets/imagecropper-core.css
trunk/phpgwapi/js/yahoo/imagecropper/assets/skins/sam/imagecropper-skin.css
trunk/phpgwapi/js/yahoo/imagecropper/assets/skins/sam/imagecropper.css
trunk/phpgwapi/js/yahoo/imagecropper/imagecropper-debug.js
trunk/phpgwapi/js/yahoo/imagecropper/imagecropper-min.js
trunk/phpgwapi/js/yahoo/imagecropper/imagecropper.js
trunk/phpgwapi/js/yahoo/imageloader/imageloader-debug.js
trunk/phpgwapi/js/yahoo/imageloader/imageloader-min.js
trunk/phpgwapi/js/yahoo/imageloader/imageloader.js
trunk/phpgwapi/js/yahoo/json/json-debug.js
trunk/phpgwapi/js/yahoo/json/json-min.js
trunk/phpgwapi/js/yahoo/json/json.js
trunk/phpgwapi/js/yahoo/layout/assets/layout-core.css
trunk/phpgwapi/js/yahoo/layout/assets/skins/sam/layout-skin.css
trunk/phpgwapi/js/yahoo/layout/assets/skins/sam/layout.css
trunk/phpgwapi/js/yahoo/layout/layout-debug.js
trunk/phpgwapi/js/yahoo/layout/layout-min.js
trunk/phpgwapi/js/yahoo/layout/layout.js
trunk/phpgwapi/js/yahoo/logger/assets/logger-core.css
trunk/phpgwapi/js/yahoo/logger/assets/logger.css
trunk/phpgwapi/js/yahoo/logger/assets/skins/sam/logger-skin.css
trunk/phpgwapi/js/yahoo/logger/assets/skins/sam/logger.css
trunk/phpgwapi/js/yahoo/logger/logger-debug.js
trunk/phpgwapi/js/yahoo/logger/logger-min.js
trunk/phpgwapi/js/yahoo/logger/logger.js
trunk/phpgwapi/js/yahoo/menu/assets/menu-core.css
trunk/phpgwapi/js/yahoo/menu/assets/menu.css
trunk/phpgwapi/js/yahoo/menu/assets/skins/sam/menu-skin.css
trunk/phpgwapi/js/yahoo/menu/assets/skins/sam/menu.css
trunk/phpgwapi/js/yahoo/menu/menu-debug.js
trunk/phpgwapi/js/yahoo/menu/menu-min.js
trunk/phpgwapi/js/yahoo/menu/menu.js
trunk/phpgwapi/js/yahoo/paginator/assets/paginator-core.css
trunk/phpgwapi/js/yahoo/paginator/assets/skins/sam/paginator-skin.css
trunk/phpgwapi/js/yahoo/paginator/assets/skins/sam/paginator.css
trunk/phpgwapi/js/yahoo/paginator/paginator-debug.js
trunk/phpgwapi/js/yahoo/paginator/paginator-min.js
trunk/phpgwapi/js/yahoo/paginator/paginator.js
trunk/phpgwapi/js/yahoo/profiler/profiler-debug.js
trunk/phpgwapi/js/yahoo/profiler/profiler-min.js
trunk/phpgwapi/js/yahoo/profiler/profiler.js
trunk/phpgwapi/js/yahoo/profilerviewer/assets/profilerviewer-core.css
trunk/phpgwapi/js/yahoo/profilerviewer/assets/skins/sam/profilerviewer-skin.css
trunk/phpgwapi/js/yahoo/profilerviewer/assets/skins/sam/profilerviewer.css
trunk/phpgwapi/js/yahoo/profilerviewer/profilerviewer-debug.js
trunk/phpgwapi/js/yahoo/profilerviewer/profilerviewer-min.js
trunk/phpgwapi/js/yahoo/profilerviewer/profilerviewer.js
trunk/phpgwapi/js/yahoo/progressbar/assets/progressbar-core.css
trunk/phpgwapi/js/yahoo/progressbar/assets/skins/sam/progressbar-skin.css
trunk/phpgwapi/js/yahoo/progressbar/assets/skins/sam/progressbar.css
trunk/phpgwapi/js/yahoo/progressbar/progressbar-debug.js
trunk/phpgwapi/js/yahoo/progressbar/progressbar-min.js
trunk/phpgwapi/js/yahoo/progressbar/progressbar.js
trunk/phpgwapi/js/yahoo/reset/reset-min.css
trunk/phpgwapi/js/yahoo/reset/reset.css
trunk/phpgwapi/js/yahoo/reset-fonts/reset-fonts.css
trunk/phpgwapi/js/yahoo/reset-fonts-grids/reset-fonts-grids.css
trunk/phpgwapi/js/yahoo/resize/assets/resize-core.css
trunk/phpgwapi/js/yahoo/resize/assets/skins/sam/resize-skin.css
trunk/phpgwapi/js/yahoo/resize/assets/skins/sam/resize.css
trunk/phpgwapi/js/yahoo/resize/resize-debug.js
trunk/phpgwapi/js/yahoo/resize/resize-min.js
trunk/phpgwapi/js/yahoo/resize/resize.js
trunk/phpgwapi/js/yahoo/selector/selector-debug.js
trunk/phpgwapi/js/yahoo/selector/selector-min.js
trunk/phpgwapi/js/yahoo/selector/selector.js
trunk/phpgwapi/js/yahoo/slider/assets/skins/sam/slider-skin.css
trunk/phpgwapi/js/yahoo/slider/assets/skins/sam/slider.css
trunk/phpgwapi/js/yahoo/slider/assets/slider-core.css
trunk/phpgwapi/js/yahoo/slider/assets/slider-skin.css
trunk/phpgwapi/js/yahoo/slider/slider-debug.js
trunk/phpgwapi/js/yahoo/slider/slider-min.js
trunk/phpgwapi/js/yahoo/slider/slider.js
trunk/phpgwapi/js/yahoo/storage/storage-debug.js
trunk/phpgwapi/js/yahoo/storage/storage-min.js
trunk/phpgwapi/js/yahoo/storage/storage.js
trunk/phpgwapi/js/yahoo/stylesheet/stylesheet-debug.js
trunk/phpgwapi/js/yahoo/stylesheet/stylesheet-min.js
trunk/phpgwapi/js/yahoo/stylesheet/stylesheet.js
trunk/phpgwapi/js/yahoo/swf/swf-debug.js
trunk/phpgwapi/js/yahoo/swf/swf-min.js
trunk/phpgwapi/js/yahoo/swf/swf.js
trunk/phpgwapi/js/yahoo/swfdetect/swfdetect-debug.js
trunk/phpgwapi/js/yahoo/swfdetect/swfdetect-min.js
trunk/phpgwapi/js/yahoo/swfdetect/swfdetect.js
trunk/phpgwapi/js/yahoo/swfstore/swf.js
trunk/phpgwapi/js/yahoo/swfstore/swfstore-debug.js
trunk/phpgwapi/js/yahoo/swfstore/swfstore-min.js
trunk/phpgwapi/js/yahoo/swfstore/swfstore.js
trunk/phpgwapi/js/yahoo/swfstore/swfstore.swf
trunk/phpgwapi/js/yahoo/tabview/assets/border_tabs.css
trunk/phpgwapi/js/yahoo/tabview/assets/skin-sam.css
trunk/phpgwapi/js/yahoo/tabview/assets/skins/sam/tabview-skin.css
trunk/phpgwapi/js/yahoo/tabview/assets/skins/sam/tabview.css
trunk/phpgwapi/js/yahoo/tabview/assets/tabview-core.css
trunk/phpgwapi/js/yahoo/tabview/assets/tabview.css
trunk/phpgwapi/js/yahoo/tabview/tabview-debug.js
trunk/phpgwapi/js/yahoo/tabview/tabview-min.js
trunk/phpgwapi/js/yahoo/tabview/tabview.js
trunk/phpgwapi/js/yahoo/treeview/assets/skins/sam/treeview-skin.css
trunk/phpgwapi/js/yahoo/treeview/assets/skins/sam/treeview.css
trunk/phpgwapi/js/yahoo/treeview/assets/treeview-core.css
trunk/phpgwapi/js/yahoo/treeview/treeview-debug.js
trunk/phpgwapi/js/yahoo/treeview/treeview-min.js
trunk/phpgwapi/js/yahoo/treeview/treeview.js
trunk/phpgwapi/js/yahoo/uploader/assets/uploader.swf
trunk/phpgwapi/js/yahoo/uploader/uploader-debug.js
trunk/phpgwapi/js/yahoo/uploader/uploader-min.js
trunk/phpgwapi/js/yahoo/uploader/uploader.js
trunk/phpgwapi/js/yahoo/utilities/utilities.js
trunk/phpgwapi/js/yahoo/yahoo/yahoo-debug.js
trunk/phpgwapi/js/yahoo/yahoo/yahoo-min.js
trunk/phpgwapi/js/yahoo/yahoo/yahoo.js
trunk/phpgwapi/js/yahoo/yahoo-dom-event/yahoo-dom-event.js
trunk/phpgwapi/js/yahoo/yuiloader/yuiloader-debug.js
trunk/phpgwapi/js/yahoo/yuiloader/yuiloader-min.js
trunk/phpgwapi/js/yahoo/yuiloader/yuiloader.js
trunk/phpgwapi/js/yahoo/yuiloader-dom-event/yuiloader-dom-event.js
trunk/phpgwapi/js/yahoo/yuitest/assets/skins/sam/yuitest-skin.css
trunk/phpgwapi/js/yahoo/yuitest/assets/skins/sam/yuitest.css
trunk/phpgwapi/js/yahoo/yuitest/assets/testlogger.css
trunk/phpgwapi/js/yahoo/yuitest/assets/yuitest-core.css
trunk/phpgwapi/js/yahoo/yuitest/yuitest-debug.js
trunk/phpgwapi/js/yahoo/yuitest/yuitest-min.js
trunk/phpgwapi/js/yahoo/yuitest/yuitest.js
trunk/phpgwapi/js/yahoo/yuitest/yuitest_core-debug.js
trunk/phpgwapi/js/yahoo/yuitest/yuitest_core-min.js
trunk/phpgwapi/js/yahoo/yuitest/yuitest_core.js
Removed Paths:
-------------
trunk/phpgwapi/js/yahoo/animation-min.js
trunk/phpgwapi/js/yahoo/animation.js
trunk/phpgwapi/js/yahoo/assets/YUIexamples.js
trunk/phpgwapi/js/yahoo/assets/bg_hd.gif
trunk/phpgwapi/js/yahoo/assets/dpSyntaxHighlighter.css
trunk/phpgwapi/js/yahoo/assets/dpSyntaxHighlighter.js
trunk/phpgwapi/js/yahoo/assets/example-hd-bg.gif
trunk/phpgwapi/js/yahoo/assets/title_h_bg.gif
trunk/phpgwapi/js/yahoo/assets/yui-candy.jpg
trunk/phpgwapi/js/yahoo/assets/yui.css
trunk/phpgwapi/js/yahoo/assets/yui.gif
trunk/phpgwapi/js/yahoo/autocomplete-min.js
trunk/phpgwapi/js/yahoo/autocomplete.js
trunk/phpgwapi/js/yahoo/base-min.css
trunk/phpgwapi/js/yahoo/base.css
trunk/phpgwapi/js/yahoo/button-min.js
trunk/phpgwapi/js/yahoo/button.js
trunk/phpgwapi/js/yahoo/calendar-min.js
trunk/phpgwapi/js/yahoo/calendar.js
trunk/phpgwapi/js/yahoo/carousel-min.js
trunk/phpgwapi/js/yahoo/carousel.js
trunk/phpgwapi/js/yahoo/charts-min.js
trunk/phpgwapi/js/yahoo/charts.js
trunk/phpgwapi/js/yahoo/colorpicker/assets/colorpicker_core.css
trunk/phpgwapi/js/yahoo/colorpicker-min.js
trunk/phpgwapi/js/yahoo/colorpicker.js
trunk/phpgwapi/js/yahoo/connection-min.js
trunk/phpgwapi/js/yahoo/connection.js
trunk/phpgwapi/js/yahoo/connection.swf
trunk/phpgwapi/js/yahoo/connection_core-min.js
trunk/phpgwapi/js/yahoo/connection_core.js
trunk/phpgwapi/js/yahoo/container-min.js
trunk/phpgwapi/js/yahoo/container.js
trunk/phpgwapi/js/yahoo/container_core-min.js
trunk/phpgwapi/js/yahoo/container_core.js
trunk/phpgwapi/js/yahoo/cookie-min.js
trunk/phpgwapi/js/yahoo/cookie.js
trunk/phpgwapi/js/yahoo/datasource-min.js
trunk/phpgwapi/js/yahoo/datasource.js
trunk/phpgwapi/js/yahoo/datatable/assets/skins/sam/transparent.gif
trunk/phpgwapi/js/yahoo/datatable-min.js
trunk/phpgwapi/js/yahoo/datatable.js
trunk/phpgwapi/js/yahoo/datemath-min.js
trunk/phpgwapi/js/yahoo/datemath.js
trunk/phpgwapi/js/yahoo/dom-min.js
trunk/phpgwapi/js/yahoo/dom.js
trunk/phpgwapi/js/yahoo/dragdrop-min.js
trunk/phpgwapi/js/yahoo/dragdrop.js
trunk/phpgwapi/js/yahoo/editor-min.js
trunk/phpgwapi/js/yahoo/editor.js
trunk/phpgwapi/js/yahoo/element-delegate-min.js
trunk/phpgwapi/js/yahoo/element-delegate.js
trunk/phpgwapi/js/yahoo/element-min.js
trunk/phpgwapi/js/yahoo/element.js
trunk/phpgwapi/js/yahoo/event-delegate-min.js
trunk/phpgwapi/js/yahoo/event-delegate.js
trunk/phpgwapi/js/yahoo/event-min.js
trunk/phpgwapi/js/yahoo/event-mouseenter-min.js
trunk/phpgwapi/js/yahoo/event-mouseenter.js
trunk/phpgwapi/js/yahoo/event-simulate-min.js
trunk/phpgwapi/js/yahoo/event-simulate.js
trunk/phpgwapi/js/yahoo/event.js
trunk/phpgwapi/js/yahoo/files.txt
trunk/phpgwapi/js/yahoo/fonts-min.css
trunk/phpgwapi/js/yahoo/fonts.css
trunk/phpgwapi/js/yahoo/get-min.js
trunk/phpgwapi/js/yahoo/get.js
trunk/phpgwapi/js/yahoo/grids-min.css
trunk/phpgwapi/js/yahoo/grids.css
trunk/phpgwapi/js/yahoo/history-min.js
trunk/phpgwapi/js/yahoo/history.js
trunk/phpgwapi/js/yahoo/imagecropper-min.js
trunk/phpgwapi/js/yahoo/imagecropper.js
trunk/phpgwapi/js/yahoo/imageloader-min.js
trunk/phpgwapi/js/yahoo/imageloader.js
trunk/phpgwapi/js/yahoo/index.html
trunk/phpgwapi/js/yahoo/json-min.js
trunk/phpgwapi/js/yahoo/json.js
trunk/phpgwapi/js/yahoo/layout-min.js
trunk/phpgwapi/js/yahoo/layout.js
trunk/phpgwapi/js/yahoo/license.txt
trunk/phpgwapi/js/yahoo/logger-min.js
trunk/phpgwapi/js/yahoo/logger.js
trunk/phpgwapi/js/yahoo/menu/assets/map.gif
trunk/phpgwapi/js/yahoo/menu-min.js
trunk/phpgwapi/js/yahoo/menu.js
trunk/phpgwapi/js/yahoo/paginator-min.js
trunk/phpgwapi/js/yahoo/paginator.js
trunk/phpgwapi/js/yahoo/profiler-min.js
trunk/phpgwapi/js/yahoo/profiler.js
trunk/phpgwapi/js/yahoo/profilerviewer-min.js
trunk/phpgwapi/js/yahoo/profilerviewer.js
trunk/phpgwapi/js/yahoo/progressbar-min.js
trunk/phpgwapi/js/yahoo/progressbar.js
trunk/phpgwapi/js/yahoo/reset-fonts-grids.css
trunk/phpgwapi/js/yahoo/reset-fonts.css
trunk/phpgwapi/js/yahoo/reset-min.css
trunk/phpgwapi/js/yahoo/reset.css
trunk/phpgwapi/js/yahoo/resize-min.js
trunk/phpgwapi/js/yahoo/resize.js
trunk/phpgwapi/js/yahoo/selector-min.js
trunk/phpgwapi/js/yahoo/selector.js
trunk/phpgwapi/js/yahoo/simpleeditor-min.js
trunk/phpgwapi/js/yahoo/simpleeditor.js
trunk/phpgwapi/js/yahoo/slider-min.js
trunk/phpgwapi/js/yahoo/slider.js
trunk/phpgwapi/js/yahoo/storage-min.js
trunk/phpgwapi/js/yahoo/storage.js
trunk/phpgwapi/js/yahoo/stylesheet-min.js
trunk/phpgwapi/js/yahoo/stylesheet.js
trunk/phpgwapi/js/yahoo/swf-min.js
trunk/phpgwapi/js/yahoo/swf.js
trunk/phpgwapi/js/yahoo/swfdetect-min.js
trunk/phpgwapi/js/yahoo/swfdetect.js
trunk/phpgwapi/js/yahoo/swfstore-min.js
trunk/phpgwapi/js/yahoo/swfstore.js
trunk/phpgwapi/js/yahoo/swfstore.swf
trunk/phpgwapi/js/yahoo/tabview-min.js
trunk/phpgwapi/js/yahoo/tabview.js
trunk/phpgwapi/js/yahoo/treeview/assets/check0.gif
trunk/phpgwapi/js/yahoo/treeview/assets/check1.gif
trunk/phpgwapi/js/yahoo/treeview/assets/check2.gif
trunk/phpgwapi/js/yahoo/treeview/assets/loading.gif
trunk/phpgwapi/js/yahoo/treeview/assets/sprite-menu.gif
trunk/phpgwapi/js/yahoo/treeview/assets/sprite-orig.gif
trunk/phpgwapi/js/yahoo/treeview/assets/treeview-loading.gif
trunk/phpgwapi/js/yahoo/treeview/assets/treeview-menu.css
trunk/phpgwapi/js/yahoo/treeview/assets/treeview-skin.css
trunk/phpgwapi/js/yahoo/treeview/assets/treeview-sprite.gif
trunk/phpgwapi/js/yahoo/treeview/assets/treeview.css
trunk/phpgwapi/js/yahoo/treeview-min.js
trunk/phpgwapi/js/yahoo/treeview.js
trunk/phpgwapi/js/yahoo/uploader-min.js
trunk/phpgwapi/js/yahoo/uploader.js
trunk/phpgwapi/js/yahoo/utilities.js
trunk/phpgwapi/js/yahoo/yahoo-dom-event.js
trunk/phpgwapi/js/yahoo/yahoo-min.js
trunk/phpgwapi/js/yahoo/yahoo.js
trunk/phpgwapi/js/yahoo/yuiloader-dom-event.js
trunk/phpgwapi/js/yahoo/yuiloader-min.js
trunk/phpgwapi/js/yahoo/yuiloader.js
trunk/phpgwapi/js/yahoo/yuitest-min.js
trunk/phpgwapi/js/yahoo/yuitest.js
trunk/phpgwapi/js/yahoo/yuitest_core-min.js
trunk/phpgwapi/js/yahoo/yuitest_core.js
Modified: trunk/phpgwapi/js/yahoo/animation/animation-debug.js
===================================================================
--- trunk/phpgwapi/js/yahoo/animation/animation-debug.js 2010-11-16
15:02:12 UTC (rev 6602)
+++ trunk/phpgwapi/js/yahoo/animation/animation-debug.js 2010-11-16
21:18:12 UTC (rev 6603)
@@ -2,7 +2,7 @@
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
-version: 2.8.1
+version: 2.8.2r1
*/
(function() {
@@ -1393,4 +1393,4 @@
Y.Scroll = Scroll;
})();
-YAHOO.register("animation", YAHOO.util.Anim, {version: "2.8.1", build: "19"});
+YAHOO.register("animation", YAHOO.util.Anim, {version: "2.8.2r1", build: "7"});
Modified: trunk/phpgwapi/js/yahoo/animation/animation-min.js
===================================================================
--- trunk/phpgwapi/js/yahoo/animation/animation-min.js 2010-11-16 15:02:12 UTC
(rev 6602)
+++ trunk/phpgwapi/js/yahoo/animation/animation-min.js 2010-11-16 21:18:12 UTC
(rev 6603)
@@ -2,7 +2,7 @@
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
-version: 2.8.1
+version: 2.8.2r1
*/
(function(){var B=YAHOO.util;var
A=function(D,C,E,F){if(!D){}this.init(D,C,E,F);};A.NAME="Anim";A.prototype={toString:function(){var
C=this.getEl()||{};var D=C.id||C.tagName;return(this.constructor.NAME+":
"+D);},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(C,E,D){return
this.method(this.currentFrame,E,D-E,this.totalFrames);},setAttribute:function(C,F,E){var
D=this.getEl();if(this.patterns.noNegatives.test(C)){F=(F>0)?F:0;}if(C in
D&&!("style" in D&&C in
D.style)){D[C]=F;}else{B.Dom.setStyle(D,C,F+E);}},getAttribute:function(C){var
E=this.getEl();var
G=B.Dom.getStyle(E,C);if(G!=="auto"&&!this.patterns.offsetUnit.test(G)){return
parseFloat(G);}var D=this.patterns.offsetAttribute.exec(C)||[];var
H=!!(D[3]);var F=!!(D[2]);if("style" in
E){if(F||(B.Dom.getStyle(E,"position")=="absolute"&&H)){G=E["offset"+D[0].charAt(0).toUpperCase()+D[0].substr(1)];}else{G=0;}}else{if(C
in E){G=E[C];}}return
G;},getDefaultUnit:function(C){if(this.patterns.defaultUnit.test(C)){return"px";}return"";},setRuntimeAttribute:function(D){var
I;var E;var F=this.attributes;this.runtimeAttributes[D]={};var
H=function(J){return(typeof
J!=="undefined");};if(!H(F[D]["to"])&&!H(F[D]["by"])){return
false;}I=(H(F[D]["from"]))?F[D]["from"]:this.getAttribute(D);if(H(F[D]["to"])){E=F[D]["to"];}else{if(H(F[D]["by"])){if(I.constructor==Array){E=[];for(var
G=0,C=I.length;G<C;++G){E[G]=I[G]+F[D]["by"][G]*1;}}else{E=I+F[D]["by"]*1;}}}this.runtimeAttributes[D].start=I;this.runtimeAttributes[D].end=E;this.runtimeAttributes[D].unit=(H(F[D].unit))?F[D]["unit"]:this.getDefaultUnit(D);return
true;},init:function(E,J,I,C){var D=false;var F=null;var
H=0;E=B.Dom.get(E);this.attributes=J||{};this.duration=!YAHOO.lang.isUndefined(I)?I:1;this.method=C||B.Easing.easeNone;this.useSeconds=true;this.currentFrame=0;this.totalFrames=B.AnimMgr.fps;this.setEl=function(M){E=B.Dom.get(M);};this.getEl=function(){return
E;};this.isAnimated=function(){return D;};this.getStartTime=function(){return
F;};this.runtimeAttributes={};this.animate=function(){if(this.isAnimated()){return
false;}this.currentFrame=0;this.totalFrames=(this.useSeconds)?Math.ceil(B.AnimMgr.fps*this.duration):this.duration;if(this.duration===0&&this.useSeconds){this.totalFrames=1;}B.AnimMgr.registerElement(this);return
true;};this.stop=function(M){if(!this.isAnimated()){return
false;}if(M){this.currentFrame=this.totalFrames;this._onTween.fire();}B.AnimMgr.stop(this);};var
L=function(){this.onStart.fire();this.runtimeAttributes={};for(var M in
this.attributes){this.setRuntimeAttribute(M);}D=true;H=0;F=new Date();};var
K=function(){var O={duration:new
Date()-this.getStartTime(),currentFrame:this.currentFrame};O.toString=function(){return("duration:
"+O.duration+", currentFrame: "+O.currentFrame);};this.onTween.fire(O);var
N=this.runtimeAttributes;for(var M in
N){this.setAttribute(M,this.doMethod(M,N[M].start,N[M].end),N[M].unit);}H+=1;};var
G=function(){var M=(new Date()-F)/1000;var
N={duration:M,frames:H,fps:H/M};N.toString=function(){return("duration:
"+N.duration+", frames: "+N.frames+", fps:
"+N.fps);};D=false;H=0;this.onComplete.fire(N);};this._onStart=new
B.CustomEvent("_start",this,true);this.onStart=new
B.CustomEvent("start",this);this.onTween=new
B.CustomEvent("tween",this);this._onTween=new
B.CustomEvent("_tween",this,true);this.onComplete=new
B.CustomEvent("complete",this);this._onComplete=new
B.CustomEvent("_complete",this,true);this._onStart.subscribe(L);this._onTween.subscribe(K);this._onComplete.subscribe(G);}};B.Anim=A;})();YAHOO.util.AnimMgr=new
function(){var C=null;var B=[];var
A=0;this.fps=1000;this.delay=1;this.registerElement=function(F){B[B.length]=F;A+=1;F._onStart.fire();this.start();};this.unRegister=function(G,F){F=F||E(G);if(!G.isAnimated()||F===-1){return
false;}G._onComplete.fire();B.splice(F,1);A-=1;if(A<=0){this.stop();}return
true;};this.start=function(){if(C===null){C=setInterval(this.run,this.delay);}};this.stop=function(H){if(!H){clearInterval(C);for(var
G=0,F=B.length;G<F;++G){this.unRegister(B[0],0);}B=[];C=null;A=0;}else{this.unRegister(H);}};this.run=function(){for(var
H=0,F=B.length;H<F;++H){var
G=B[H];if(!G||!G.isAnimated()){continue;}if(G.currentFrame<G.totalFrames||G.totalFrames===null){G.currentFrame+=1;if(G.useSeconds){D(G);}G._onTween.fire();}else{YAHOO.util.AnimMgr.stop(G,H);}}};var
E=function(H){for(var G=0,F=B.length;G<F;++G){if(B[G]===H){return G;}}return
-1;};var D=function(G){var J=G.totalFrames;var I=G.currentFrame;var
H=(G.currentFrame*G.duration*1000/G.totalFrames);var F=(new
Date()-G.getStartTime());var
K=0;if(F<G.duration*1000){K=Math.round((F/H-1)*G.currentFrame);}else{K=J-(I+1);}if(K>0&&isFinite(K)){if(G.currentFrame+K>=J){K=J-(I+1);}G.currentFrame+=K;}};this._queue=B;this._getIndex=E;};YAHOO.util.Bezier=new
function(){this.getPosition=function(E,D){var F=E.length;var C=[];for(var
B=0;B<F;++B){C[B]=[E[B][0],E[B][1]];}for(var
A=1;A<F;++A){for(B=0;B<F-A;++B){C[B][0]=(1-D)*C[B][0]+D*C[parseInt(B+1,10)][0];C[B][1]=(1-D)*C[B][1]+D*C[parseInt(B+1,10)][1];}}return[C[0][0],C[0][1]];};};(function(){var
A=function(F,E,G,H){A.superclass.constructor.call(this,F,E,G,H);};A.NAME="ColorAnim";A.DEFAULT_BGCOLOR="#fff";var
C=YAHOO.util;YAHOO.extend(A,C.Anim);var D=A.superclass;var
B=A.prototype;B.patterns.color=/color$/i;B.patterns.rgb=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;B.patterns.hex=/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;B.patterns.hex3=/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;B.patterns.transparent=/^transparent|rgba\(0,
0, 0, 0\)$/;B.parseColor=function(E){if(E.length==3){return E;}var
F=this.patterns.hex.exec(E);if(F&&F.length==4){return[parseInt(F[1],16),parseInt(F[2],16),parseInt(F[3],16)];}F=this.patterns.rgb.exec(E);if(F&&F.length==4){return[parseInt(F[1],10),parseInt(F[2],10),parseInt(F[3],10)];}F=this.patterns.hex3.exec(E);if(F&&F.length==4){return[parseInt(F[1]+F[1],16),parseInt(F[2]+F[2],16),parseInt(F[3]+F[3],16)];
}return null;};B.getAttribute=function(E){var
G=this.getEl();if(this.patterns.color.test(E)){var
I=YAHOO.util.Dom.getStyle(G,E);var
H=this;if(this.patterns.transparent.test(I)){var
F=YAHOO.util.Dom.getAncestorBy(G,function(J){return
!H.patterns.transparent.test(I);});if(F){I=C.Dom.getStyle(F,E);}else{I=A.DEFAULT_BGCOLOR;}}}else{I=D.getAttribute.call(this,E);}return
I;};B.doMethod=function(F,J,G){var
I;if(this.patterns.color.test(F)){I=[];for(var
H=0,E=J.length;H<E;++H){I[H]=D.doMethod.call(this,F,J[H],G[H]);}I="rgb("+Math.floor(I[0])+","+Math.floor(I[1])+","+Math.floor(I[2])+")";}else{I=D.doMethod.call(this,F,J,G);}return
I;};B.setRuntimeAttribute=function(F){D.setRuntimeAttribute.call(this,F);if(this.patterns.color.test(F)){var
H=this.attributes;var J=this.parseColor(this.runtimeAttributes[F].start);var
G=this.parseColor(this.runtimeAttributes[F].end);if(typeof
H[F]["to"]==="undefined"&&typeof
H[F]["by"]!=="undefined"){G=this.parseColor(H[F].by);for(var
I=0,E=J.length;I<E;++I){G[I]=J[I]+G[I];}}this.runtimeAttributes[F].start=J;this.runtimeAttributes[F].end=G;}};C.ColorAnim=A;})();
@@ -20,4 +20,4 @@
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.
*/
YAHOO.util.Easing={easeNone:function(B,A,D,C){return
D*B/C+A;},easeIn:function(B,A,D,C){return
D*(B/=C)*B+A;},easeOut:function(B,A,D,C){return
-D*(B/=C)*(B-2)+A;},easeBoth:function(B,A,D,C){if((B/=C/2)<1){return
D/2*B*B+A;}return
-D/2*((--B)*(B-2)-1)+A;},easeInStrong:function(B,A,D,C){return
D*(B/=C)*B*B*B+A;},easeOutStrong:function(B,A,D,C){return
-D*((B=B/C-1)*B*B*B-1)+A;},easeBothStrong:function(B,A,D,C){if((B/=C/2)<1){return
D/2*B*B*B*B+A;}return
-D/2*((B-=2)*B*B*B-2)+A;},elasticIn:function(C,A,G,F,B,E){if(C==0){return
A;}if((C/=F)==1){return A+G;}if(!E){E=F*0.3;}if(!B||B<Math.abs(G)){B=G;var
D=E/4;}else{var D=E/(2*Math.PI)*Math.asin(G/B);}return
-(B*Math.pow(2,10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E))+A;},elasticOut:function(C,A,G,F,B,E){if(C==0){return
A;}if((C/=F)==1){return A+G;}if(!E){E=F*0.3;}if(!B||B<Math.abs(G)){B=G;var
D=E/4;}else{var D=E/(2*Math.PI)*Math.asin(G/B);}return
B*Math.pow(2,-10*C)*Math.sin((C*F-D)*(2*Math.PI)/E)+G+A;},elasticBoth:function(C,A,G,F,B,E){if(C==0){return
A;}if((C/=F/2)==2){return
A+G;}if(!E){E=F*(0.3*1.5);}if(!B||B<Math.abs(G)){B=G;var D=E/4;}else{var
D=E/(2*Math.PI)*Math.asin(G/B);}if(C<1){return
-0.5*(B*Math.pow(2,10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E))+A;}return
B*Math.pow(2,-10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E)*0.5+G+A;},backIn:function(B,A,E,D,C){if(typeof
C=="undefined"){C=1.70158;}return
E*(B/=D)*B*((C+1)*B-C)+A;},backOut:function(B,A,E,D,C){if(typeof
C=="undefined"){C=1.70158;}return
E*((B=B/D-1)*B*((C+1)*B+C)+1)+A;},backBoth:function(B,A,E,D,C){if(typeof
C=="undefined"){C=1.70158;}if((B/=D/2)<1){return
E/2*(B*B*(((C*=(1.525))+1)*B-C))+A;}return
E/2*((B-=2)*B*(((C*=(1.525))+1)*B+C)+2)+A;},bounceIn:function(B,A,D,C){return
D-YAHOO.util.Easing.bounceOut(C-B,0,D,C)+A;},bounceOut:function(B,A,D,C){if((B/=C)<(1/2.75)){return
D*(7.5625*B*B)+A;}else{if(B<(2/2.75)){return
D*(7.5625*(B-=(1.5/2.75))*B+0.75)+A;}else{if(B<(2.5/2.75)){return
D*(7.5625*(B-=(2.25/2.75))*B+0.9375)+A;}}}return
D*(7.5625*(B-=(2.625/2.75))*B+0.984375)+A;},bounceBoth:function(B,A,D,C){if(B<C/2){return
YAHOO.util.Easing.bounceIn(B*2,0,D,C)*0.5+A;}return
YAHOO.util.Easing.bounceOut(B*2-C,0,D,C)*0.5+D*0.5+A;}};(function(){var
A=function(H,G,I,J){if(H){A.superclass.constructor.call(this,H,G,I,J);}};A.NAME="Motion";var
E=YAHOO.util;YAHOO.extend(A,E.ColorAnim);var F=A.superclass;var
C=A.prototype;C.patterns.points=/^points$/i;C.setAttribute=function(G,I,H){if(this.patterns.points.test(G)){H=H||"px";F.setAttribute.call(this,"left",I[0],H);F.setAttribute.call(this,"top",I[1],H);}else{F.setAttribute.call(this,G,I,H);}};C.getAttribute=function(G){if(this.patterns.points.test(G)){var
H=[F.getAttribute.call(this,"left"),F.getAttribute.call(this,"top")];}else{H=F.getAttribute.call(this,G);}return
H;};C.doMethod=function(G,K,H){var J=null;if(this.patterns.points.test(G)){var
I=this.method(this.currentFrame,0,100,this.totalFrames)/100;J=E.Bezier.getPosition(this.runtimeAttributes[G],I);}else{J=F.doMethod.call(this,G,K,H);}return
J;};C.setRuntimeAttribute=function(P){if(this.patterns.points.test(P)){var
H=this.getEl();var J=this.attributes;var G;var L=J["points"]["control"]||[];var
I;var M,O;if(L.length>0&&!(L[0] instanceof Array)){L=[L];}else{var
K=[];for(M=0,O=L.length;M<O;++M){K[M]=L[M];}L=K;}if(E.Dom.getStyle(H,"position")=="static"){E.Dom.setStyle(H,"position","relative");}if(D(J["points"]["from"])){E.Dom.setXY(H,J["points"]["from"]);
-}else{E.Dom.setXY(H,E.Dom.getXY(H));}G=this.getAttribute("points");if(D(J["points"]["to"])){I=B.call(this,J["points"]["to"],G);var
N=E.Dom.getXY(this.getEl());for(M=0,O=L.length;M<O;++M){L[M]=B.call(this,L[M],G);}}else{if(D(J["points"]["by"])){I=[G[0]+J["points"]["by"][0],G[1]+J["points"]["by"][1]];for(M=0,O=L.length;M<O;++M){L[M]=[G[0]+L[M][0],G[1]+L[M][1]];}}}this.runtimeAttributes[P]=[G];if(L.length>0){this.runtimeAttributes[P]=this.runtimeAttributes[P].concat(L);}this.runtimeAttributes[P][this.runtimeAttributes[P].length]=I;}else{F.setRuntimeAttribute.call(this,P);}};var
B=function(G,I){var
H=E.Dom.getXY(this.getEl());G=[G[0]-H[0]+I[0],G[1]-H[1]+I[1]];return G;};var
D=function(G){return(typeof G!=="undefined");};E.Motion=A;})();(function(){var
D=function(F,E,G,H){if(F){D.superclass.constructor.call(this,F,E,G,H);}};D.NAME="Scroll";var
B=YAHOO.util;YAHOO.extend(D,B.ColorAnim);var C=D.superclass;var
A=D.prototype;A.doMethod=function(E,H,F){var
G=null;if(E=="scroll"){G=[this.method(this.currentFrame,H[0],F[0]-H[0],this.totalFrames),this.method(this.currentFrame,H[1],F[1]-H[1],this.totalFrames)];}else{G=C.doMethod.call(this,E,H,F);}return
G;};A.getAttribute=function(E){var G=null;var
F=this.getEl();if(E=="scroll"){G=[F.scrollLeft,F.scrollTop];}else{G=C.getAttribute.call(this,E);}return
G;};A.setAttribute=function(E,H,G){var
F=this.getEl();if(E=="scroll"){F.scrollLeft=H[0];F.scrollTop=H[1];}else{C.setAttribute.call(this,E,H,G);}};B.Scroll=D;})();YAHOO.register("animation",YAHOO.util.Anim,{version:"2.8.1",build:"19"});
\ No newline at end of file
+}else{E.Dom.setXY(H,E.Dom.getXY(H));}G=this.getAttribute("points");if(D(J["points"]["to"])){I=B.call(this,J["points"]["to"],G);var
N=E.Dom.getXY(this.getEl());for(M=0,O=L.length;M<O;++M){L[M]=B.call(this,L[M],G);}}else{if(D(J["points"]["by"])){I=[G[0]+J["points"]["by"][0],G[1]+J["points"]["by"][1]];for(M=0,O=L.length;M<O;++M){L[M]=[G[0]+L[M][0],G[1]+L[M][1]];}}}this.runtimeAttributes[P]=[G];if(L.length>0){this.runtimeAttributes[P]=this.runtimeAttributes[P].concat(L);}this.runtimeAttributes[P][this.runtimeAttributes[P].length]=I;}else{F.setRuntimeAttribute.call(this,P);}};var
B=function(G,I){var
H=E.Dom.getXY(this.getEl());G=[G[0]-H[0]+I[0],G[1]-H[1]+I[1]];return G;};var
D=function(G){return(typeof G!=="undefined");};E.Motion=A;})();(function(){var
D=function(F,E,G,H){if(F){D.superclass.constructor.call(this,F,E,G,H);}};D.NAME="Scroll";var
B=YAHOO.util;YAHOO.extend(D,B.ColorAnim);var C=D.superclass;var
A=D.prototype;A.doMethod=function(E,H,F){var
G=null;if(E=="scroll"){G=[this.method(this.currentFrame,H[0],F[0]-H[0],this.totalFrames),this.method(this.currentFrame,H[1],F[1]-H[1],this.totalFrames)];}else{G=C.doMethod.call(this,E,H,F);}return
G;};A.getAttribute=function(E){var G=null;var
F=this.getEl();if(E=="scroll"){G=[F.scrollLeft,F.scrollTop];}else{G=C.getAttribute.call(this,E);}return
G;};A.setAttribute=function(E,H,G){var
F=this.getEl();if(E=="scroll"){F.scrollLeft=H[0];F.scrollTop=H[1];}else{C.setAttribute.call(this,E,H,G);}};B.Scroll=D;})();YAHOO.register("animation",YAHOO.util.Anim,{version:"2.8.2r1",build:"7"});
\ No newline at end of file
Modified: trunk/phpgwapi/js/yahoo/animation/animation.js
===================================================================
--- trunk/phpgwapi/js/yahoo/animation/animation.js 2010-11-16 15:02:12 UTC
(rev 6602)
+++ trunk/phpgwapi/js/yahoo/animation/animation.js 2010-11-16 21:18:12 UTC
(rev 6603)
@@ -2,7 +2,7 @@
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
-version: 2.8.1
+version: 2.8.2r1
*/
(function() {
@@ -1389,4 +1389,4 @@
Y.Scroll = Scroll;
})();
-YAHOO.register("animation", YAHOO.util.Anim, {version: "2.8.1", build: "19"});
+YAHOO.register("animation", YAHOO.util.Anim, {version: "2.8.2r1", build: "7"});
Deleted: trunk/phpgwapi/js/yahoo/animation-min.js
===================================================================
--- trunk/phpgwapi/js/yahoo/animation-min.js 2010-11-16 15:02:12 UTC (rev
6602)
+++ trunk/phpgwapi/js/yahoo/animation-min.js 2010-11-16 21:18:12 UTC (rev
6603)
@@ -1,23 +0,0 @@
-/*
-Copyright (c) 2010, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.com/yui/license.html
-version: 2.8.1
-*/
-(function(){var B=YAHOO.util;var
A=function(D,C,E,F){if(!D){}this.init(D,C,E,F);};A.NAME="Anim";A.prototype={toString:function(){var
C=this.getEl()||{};var D=C.id||C.tagName;return(this.constructor.NAME+":
"+D);},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(C,E,D){return
this.method(this.currentFrame,E,D-E,this.totalFrames);},setAttribute:function(C,F,E){var
D=this.getEl();if(this.patterns.noNegatives.test(C)){F=(F>0)?F:0;}if(C in
D&&!("style" in D&&C in
D.style)){D[C]=F;}else{B.Dom.setStyle(D,C,F+E);}},getAttribute:function(C){var
E=this.getEl();var
G=B.Dom.getStyle(E,C);if(G!=="auto"&&!this.patterns.offsetUnit.test(G)){return
parseFloat(G);}var D=this.patterns.offsetAttribute.exec(C)||[];var
H=!!(D[3]);var F=!!(D[2]);if("style" in
E){if(F||(B.Dom.getStyle(E,"position")=="absolute"&&H)){G=E["offset"+D[0].charAt(0).toUpperCase()+D[0].substr(1)];}else{G=0;}}else{if(C
in E){G=E[C];}}return
G;},getDefaultUnit:function(C){if(this.patterns.defaultUnit.test(C)){return"px";}return"";},setRuntimeAttribute:function(D){var
I;var E;var F=this.attributes;this.runtimeAttributes[D]={};var
H=function(J){return(typeof
J!=="undefined");};if(!H(F[D]["to"])&&!H(F[D]["by"])){return
false;}I=(H(F[D]["from"]))?F[D]["from"]:this.getAttribute(D);if(H(F[D]["to"])){E=F[D]["to"];}else{if(H(F[D]["by"])){if(I.constructor==Array){E=[];for(var
G=0,C=I.length;G<C;++G){E[G]=I[G]+F[D]["by"][G]*1;}}else{E=I+F[D]["by"]*1;}}}this.runtimeAttributes[D].start=I;this.runtimeAttributes[D].end=E;this.runtimeAttributes[D].unit=(H(F[D].unit))?F[D]["unit"]:this.getDefaultUnit(D);return
true;},init:function(E,J,I,C){var D=false;var F=null;var
H=0;E=B.Dom.get(E);this.attributes=J||{};this.duration=!YAHOO.lang.isUndefined(I)?I:1;this.method=C||B.Easing.easeNone;this.useSeconds=true;this.currentFrame=0;this.totalFrames=B.AnimMgr.fps;this.setEl=function(M){E=B.Dom.get(M);};this.getEl=function(){return
E;};this.isAnimated=function(){return D;};this.getStartTime=function(){return
F;};this.runtimeAttributes={};this.animate=function(){if(this.isAnimated()){return
false;}this.currentFrame=0;this.totalFrames=(this.useSeconds)?Math.ceil(B.AnimMgr.fps*this.duration):this.duration;if(this.duration===0&&this.useSeconds){this.totalFrames=1;}B.AnimMgr.registerElement(this);return
true;};this.stop=function(M){if(!this.isAnimated()){return
false;}if(M){this.currentFrame=this.totalFrames;this._onTween.fire();}B.AnimMgr.stop(this);};var
L=function(){this.onStart.fire();this.runtimeAttributes={};for(var M in
this.attributes){this.setRuntimeAttribute(M);}D=true;H=0;F=new Date();};var
K=function(){var O={duration:new
Date()-this.getStartTime(),currentFrame:this.currentFrame};O.toString=function(){return("duration:
"+O.duration+", currentFrame: "+O.currentFrame);};this.onTween.fire(O);var
N=this.runtimeAttributes;for(var M in
N){this.setAttribute(M,this.doMethod(M,N[M].start,N[M].end),N[M].unit);}H+=1;};var
G=function(){var M=(new Date()-F)/1000;var
N={duration:M,frames:H,fps:H/M};N.toString=function(){return("duration:
"+N.duration+", frames: "+N.frames+", fps:
"+N.fps);};D=false;H=0;this.onComplete.fire(N);};this._onStart=new
B.CustomEvent("_start",this,true);this.onStart=new
B.CustomEvent("start",this);this.onTween=new
B.CustomEvent("tween",this);this._onTween=new
B.CustomEvent("_tween",this,true);this.onComplete=new
B.CustomEvent("complete",this);this._onComplete=new
B.CustomEvent("_complete",this,true);this._onStart.subscribe(L);this._onTween.subscribe(K);this._onComplete.subscribe(G);}};B.Anim=A;})();YAHOO.util.AnimMgr=new
function(){var C=null;var B=[];var
A=0;this.fps=1000;this.delay=1;this.registerElement=function(F){B[B.length]=F;A+=1;F._onStart.fire();this.start();};this.unRegister=function(G,F){F=F||E(G);if(!G.isAnimated()||F===-1){return
false;}G._onComplete.fire();B.splice(F,1);A-=1;if(A<=0){this.stop();}return
true;};this.start=function(){if(C===null){C=setInterval(this.run,this.delay);}};this.stop=function(H){if(!H){clearInterval(C);for(var
G=0,F=B.length;G<F;++G){this.unRegister(B[0],0);}B=[];C=null;A=0;}else{this.unRegister(H);}};this.run=function(){for(var
H=0,F=B.length;H<F;++H){var
G=B[H];if(!G||!G.isAnimated()){continue;}if(G.currentFrame<G.totalFrames||G.totalFrames===null){G.currentFrame+=1;if(G.useSeconds){D(G);}G._onTween.fire();}else{YAHOO.util.AnimMgr.stop(G,H);}}};var
E=function(H){for(var G=0,F=B.length;G<F;++G){if(B[G]===H){return G;}}return
-1;};var D=function(G){var J=G.totalFrames;var I=G.currentFrame;var
H=(G.currentFrame*G.duration*1000/G.totalFrames);var F=(new
Date()-G.getStartTime());var
K=0;if(F<G.duration*1000){K=Math.round((F/H-1)*G.currentFrame);}else{K=J-(I+1);}if(K>0&&isFinite(K)){if(G.currentFrame+K>=J){K=J-(I+1);}G.currentFrame+=K;}};this._queue=B;this._getIndex=E;};YAHOO.util.Bezier=new
function(){this.getPosition=function(E,D){var F=E.length;var C=[];for(var
B=0;B<F;++B){C[B]=[E[B][0],E[B][1]];}for(var
A=1;A<F;++A){for(B=0;B<F-A;++B){C[B][0]=(1-D)*C[B][0]+D*C[parseInt(B+1,10)][0];C[B][1]=(1-D)*C[B][1]+D*C[parseInt(B+1,10)][1];}}return[C[0][0],C[0][1]];};};(function(){var
A=function(F,E,G,H){A.superclass.constructor.call(this,F,E,G,H);};A.NAME="ColorAnim";A.DEFAULT_BGCOLOR="#fff";var
C=YAHOO.util;YAHOO.extend(A,C.Anim);var D=A.superclass;var
B=A.prototype;B.patterns.color=/color$/i;B.patterns.rgb=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;B.patterns.hex=/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;B.patterns.hex3=/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;B.patterns.transparent=/^transparent|rgba\(0,
0, 0, 0\)$/;B.parseColor=function(E){if(E.length==3){return E;}var
F=this.patterns.hex.exec(E);if(F&&F.length==4){return[parseInt(F[1],16),parseInt(F[2],16),parseInt(F[3],16)];}F=this.patterns.rgb.exec(E);if(F&&F.length==4){return[parseInt(F[1],10),parseInt(F[2],10),parseInt(F[3],10)];}F=this.patterns.hex3.exec(E);if(F&&F.length==4){return[parseInt(F[1]+F[1],16),parseInt(F[2]+F[2],16),parseInt(F[3]+F[3],16)];
-}return null;};B.getAttribute=function(E){var
G=this.getEl();if(this.patterns.color.test(E)){var
I=YAHOO.util.Dom.getStyle(G,E);var
H=this;if(this.patterns.transparent.test(I)){var
F=YAHOO.util.Dom.getAncestorBy(G,function(J){return
!H.patterns.transparent.test(I);});if(F){I=C.Dom.getStyle(F,E);}else{I=A.DEFAULT_BGCOLOR;}}}else{I=D.getAttribute.call(this,E);}return
I;};B.doMethod=function(F,J,G){var
I;if(this.patterns.color.test(F)){I=[];for(var
H=0,E=J.length;H<E;++H){I[H]=D.doMethod.call(this,F,J[H],G[H]);}I="rgb("+Math.floor(I[0])+","+Math.floor(I[1])+","+Math.floor(I[2])+")";}else{I=D.doMethod.call(this,F,J,G);}return
I;};B.setRuntimeAttribute=function(F){D.setRuntimeAttribute.call(this,F);if(this.patterns.color.test(F)){var
H=this.attributes;var J=this.parseColor(this.runtimeAttributes[F].start);var
G=this.parseColor(this.runtimeAttributes[F].end);if(typeof
H[F]["to"]==="undefined"&&typeof
H[F]["by"]!=="undefined"){G=this.parseColor(H[F].by);for(var
I=0,E=J.length;I<E;++I){G[I]=J[I]+G[I];}}this.runtimeAttributes[F].start=J;this.runtimeAttributes[F].end=G;}};C.ColorAnim=A;})();
-/*
-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.
-*/
-YAHOO.util.Easing={easeNone:function(B,A,D,C){return
D*B/C+A;},easeIn:function(B,A,D,C){return
D*(B/=C)*B+A;},easeOut:function(B,A,D,C){return
-D*(B/=C)*(B-2)+A;},easeBoth:function(B,A,D,C){if((B/=C/2)<1){return
D/2*B*B+A;}return
-D/2*((--B)*(B-2)-1)+A;},easeInStrong:function(B,A,D,C){return
D*(B/=C)*B*B*B+A;},easeOutStrong:function(B,A,D,C){return
-D*((B=B/C-1)*B*B*B-1)+A;},easeBothStrong:function(B,A,D,C){if((B/=C/2)<1){return
D/2*B*B*B*B+A;}return
-D/2*((B-=2)*B*B*B-2)+A;},elasticIn:function(C,A,G,F,B,E){if(C==0){return
A;}if((C/=F)==1){return A+G;}if(!E){E=F*0.3;}if(!B||B<Math.abs(G)){B=G;var
D=E/4;}else{var D=E/(2*Math.PI)*Math.asin(G/B);}return
-(B*Math.pow(2,10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E))+A;},elasticOut:function(C,A,G,F,B,E){if(C==0){return
A;}if((C/=F)==1){return A+G;}if(!E){E=F*0.3;}if(!B||B<Math.abs(G)){B=G;var
D=E/4;}else{var D=E/(2*Math.PI)*Math.asin(G/B);}return
B*Math.pow(2,-10*C)*Math.sin((C*F-D)*(2*Math.PI)/E)+G+A;},elasticBoth:function(C,A,G,F,B,E){if(C==0){return
A;}if((C/=F/2)==2){return
A+G;}if(!E){E=F*(0.3*1.5);}if(!B||B<Math.abs(G)){B=G;var D=E/4;}else{var
D=E/(2*Math.PI)*Math.asin(G/B);}if(C<1){return
-0.5*(B*Math.pow(2,10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E))+A;}return
B*Math.pow(2,-10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E)*0.5+G+A;},backIn:function(B,A,E,D,C){if(typeof
C=="undefined"){C=1.70158;}return
E*(B/=D)*B*((C+1)*B-C)+A;},backOut:function(B,A,E,D,C){if(typeof
C=="undefined"){C=1.70158;}return
E*((B=B/D-1)*B*((C+1)*B+C)+1)+A;},backBoth:function(B,A,E,D,C){if(typeof
C=="undefined"){C=1.70158;}if((B/=D/2)<1){return
E/2*(B*B*(((C*=(1.525))+1)*B-C))+A;}return
E/2*((B-=2)*B*(((C*=(1.525))+1)*B+C)+2)+A;},bounceIn:function(B,A,D,C){return
D-YAHOO.util.Easing.bounceOut(C-B,0,D,C)+A;},bounceOut:function(B,A,D,C){if((B/=C)<(1/2.75)){return
D*(7.5625*B*B)+A;}else{if(B<(2/2.75)){return
D*(7.5625*(B-=(1.5/2.75))*B+0.75)+A;}else{if(B<(2.5/2.75)){return
D*(7.5625*(B-=(2.25/2.75))*B+0.9375)+A;}}}return
D*(7.5625*(B-=(2.625/2.75))*B+0.984375)+A;},bounceBoth:function(B,A,D,C){if(B<C/2){return
YAHOO.util.Easing.bounceIn(B*2,0,D,C)*0.5+A;}return
YAHOO.util.Easing.bounceOut(B*2-C,0,D,C)*0.5+D*0.5+A;}};(function(){var
A=function(H,G,I,J){if(H){A.superclass.constructor.call(this,H,G,I,J);}};A.NAME="Motion";var
E=YAHOO.util;YAHOO.extend(A,E.ColorAnim);var F=A.superclass;var
C=A.prototype;C.patterns.points=/^points$/i;C.setAttribute=function(G,I,H){if(this.patterns.points.test(G)){H=H||"px";F.setAttribute.call(this,"left",I[0],H);F.setAttribute.call(this,"top",I[1],H);}else{F.setAttribute.call(this,G,I,H);}};C.getAttribute=function(G){if(this.patterns.points.test(G)){var
H=[F.getAttribute.call(this,"left"),F.getAttribute.call(this,"top")];}else{H=F.getAttribute.call(this,G);}return
H;};C.doMethod=function(G,K,H){var J=null;if(this.patterns.points.test(G)){var
I=this.method(this.currentFrame,0,100,this.totalFrames)/100;J=E.Bezier.getPosition(this.runtimeAttributes[G],I);}else{J=F.doMethod.call(this,G,K,H);}return
J;};C.setRuntimeAttribute=function(P){if(this.patterns.points.test(P)){var
H=this.getEl();var J=this.attributes;var G;var L=J["points"]["control"]||[];var
I;var M,O;if(L.length>0&&!(L[0] instanceof Array)){L=[L];}else{var
K=[];for(M=0,O=L.length;M<O;++M){K[M]=L[M];}L=K;}if(E.Dom.getStyle(H,"position")=="static"){E.Dom.setStyle(H,"position","relative");}if(D(J["points"]["from"])){E.Dom.setXY(H,J["points"]["from"]);
-}else{E.Dom.setXY(H,E.Dom.getXY(H));}G=this.getAttribute("points");if(D(J["points"]["to"])){I=B.call(this,J["points"]["to"],G);var
N=E.Dom.getXY(this.getEl());for(M=0,O=L.length;M<O;++M){L[M]=B.call(this,L[M],G);}}else{if(D(J["points"]["by"])){I=[G[0]+J["points"]["by"][0],G[1]+J["points"]["by"][1]];for(M=0,O=L.length;M<O;++M){L[M]=[G[0]+L[M][0],G[1]+L[M][1]];}}}this.runtimeAttributes[P]=[G];if(L.length>0){this.runtimeAttributes[P]=this.runtimeAttributes[P].concat(L);}this.runtimeAttributes[P][this.runtimeAttributes[P].length]=I;}else{F.setRuntimeAttribute.call(this,P);}};var
B=function(G,I){var
H=E.Dom.getXY(this.getEl());G=[G[0]-H[0]+I[0],G[1]-H[1]+I[1]];return G;};var
D=function(G){return(typeof G!=="undefined");};E.Motion=A;})();(function(){var
D=function(F,E,G,H){if(F){D.superclass.constructor.call(this,F,E,G,H);}};D.NAME="Scroll";var
B=YAHOO.util;YAHOO.extend(D,B.ColorAnim);var C=D.superclass;var
A=D.prototype;A.doMethod=function(E,H,F){var
G=null;if(E=="scroll"){G=[this.method(this.currentFrame,H[0],F[0]-H[0],this.totalFrames),this.method(this.currentFrame,H[1],F[1]-H[1],this.totalFrames)];}else{G=C.doMethod.call(this,E,H,F);}return
G;};A.getAttribute=function(E){var G=null;var
F=this.getEl();if(E=="scroll"){G=[F.scrollLeft,F.scrollTop];}else{G=C.getAttribute.call(this,E);}return
G;};A.setAttribute=function(E,H,G){var
F=this.getEl();if(E=="scroll"){F.scrollLeft=H[0];F.scrollTop=H[1];}else{C.setAttribute.call(this,E,H,G);}};B.Scroll=D;})();YAHOO.register("animation",YAHOO.util.Anim,{version:"2.8.1",build:"19"});
\ No newline at end of file
Deleted: trunk/phpgwapi/js/yahoo/animation.js
===================================================================
--- trunk/phpgwapi/js/yahoo/animation.js 2010-11-16 15:02:12 UTC (rev
6602)
+++ trunk/phpgwapi/js/yahoo/animation.js 2010-11-16 21:18:12 UTC (rev
6603)
@@ -1,1392 +0,0 @@
-/*
-Copyright (c) 2010, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.com/yui/license.html
-version: 2.8.1
-*/
-(function() {
-
-var Y = YAHOO.util;
-
-/*
-Copyright (c) 2006, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-*/
-
-/**
- * The animation module provides allows effects to be added to HTMLElements.
- * @module animation
- * @requires yahoo, event, dom
- */
-
-/**
- *
- * Base animation class that provides the interface for building animated
effects.
- * <p>Usage: var myAnim = new YAHOO.util.Anim(el, { width: { from: 10, to: 100
} }, 1, YAHOO.util.Easing.easeOut);</p>
- * @class Anim
- * @namespace YAHOO.util
- * @requires YAHOO.util.AnimMgr
- * @requires YAHOO.util.Easing
- * @requires YAHOO.util.Dom
- * @requires YAHOO.util.Event
- * @requires YAHOO.util.CustomEvent
- * @constructor
- * @param {String | HTMLElement} el Reference to the element that will be
animated
- * @param {Object} attributes The attribute(s) to be animated.
- * Each attribute is an object with at minimum a "to" or "by" member defined.
- * Additional optional members are "from" (defaults to current value), "units"
(defaults to "px").
- * All attribute names use camelCase.
- * @param {Number} duration (optional, defaults to 1 second) Length of
animation (frames or seconds), defaults to time-based
- * @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone)
Computes the values that are applied to the attributes per frame (generally a
YAHOO.util.Easing method)
- */
-
-var Anim = function(el, attributes, duration, method) {
- if (!el) {
- }
- this.init(el, attributes, duration, method);
-};
-
-Anim.NAME = 'Anim';
-
-Anim.prototype = {
- /**
- * Provides a readable name for the Anim instance.
- * @method toString
- * @return {String}
- */
- toString: function() {
- var el = this.getEl() || {};
- var id = el.id || el.tagName;
- return (this.constructor.NAME + ': ' + id);
- },
-
- patterns: { // cached for performance
- noNegatives: /width|height|opacity|padding/i, // keep at zero
or above
- offsetAttribute: /^((width|height)|(top|left))$/, // use offsetValue
as default
- defaultUnit: /width|height|top$|bottom$|left$|right$/i, // use
'px' by default
- offsetUnit: /\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i // IE may
return these, so convert these to offset
- },
-
- /**
- * Returns the value computed by the animation's "method".
- * @method doMethod
- * @param {String} attr The name of the attribute.
- * @param {Number} start The value this attribute should start from for
this animation.
- * @param {Number} end The value this attribute should end at for this
animation.
- * @return {Number} The Value to be applied to the attribute.
- */
- doMethod: function(attr, start, end) {
- return this.method(this.currentFrame, start, end - start,
this.totalFrames);
- },
-
- /**
- * Applies a value to an attribute.
- * @method setAttribute
- * @param {String} attr The name of the attribute.
- * @param {Number} val The value to be applied to the attribute.
- * @param {String} unit The unit ('px', '%', etc.) of the value.
- */
- setAttribute: function(attr, val, unit) {
- var el = this.getEl();
- if ( this.patterns.noNegatives.test(attr) ) {
- val = (val > 0) ? val : 0;
- }
-
- if (attr in el && !('style' in el && attr in el.style)) {
- el[attr] = val;
- } else {
- Y.Dom.setStyle(el, attr, val + unit);
- }
- },
-
- /**
- * Returns current value of the attribute.
- * @method getAttribute
- * @param {String} attr The name of the attribute.
- * @return {Number} val The current value of the attribute.
- */
- getAttribute: function(attr) {
- var el = this.getEl();
- var val = Y.Dom.getStyle(el, attr);
-
- if (val !== 'auto' && !this.patterns.offsetUnit.test(val)) {
- return parseFloat(val);
- }
-
- var a = this.patterns.offsetAttribute.exec(attr) || [];
- var pos = !!( a[3] ); // top or left
- var box = !!( a[2] ); // width or height
-
- if ('style' in el) {
- // use offsets for width/height and abs pos top/left
- if ( box || (Y.Dom.getStyle(el, 'position') == 'absolute' && pos)
) {
- val = el['offset' + a[0].charAt(0).toUpperCase() +
a[0].substr(1)];
- } else { // default to zero for other 'auto'
- val = 0;
- }
- } else if (attr in el) {
- val = el[attr];
- }
-
- return val;
- },
-
- /**
- * Returns the unit to use when none is supplied.
- * @method getDefaultUnit
- * @param {attr} attr The name of the attribute.
- * @return {String} The default unit to be used.
- */
- getDefaultUnit: function(attr) {
- if ( this.patterns.defaultUnit.test(attr) ) {
- return 'px';
- }
-
- return '';
- },
-
- /**
- * Sets the actual values to be used during the animation. Should only be
needed for subclass use.
- * @method setRuntimeAttribute
- * @param {Object} attr The attribute object
- * @private
- */
- setRuntimeAttribute: function(attr) {
- var start;
- var end;
- var attributes = this.attributes;
-
- this.runtimeAttributes[attr] = {};
-
- var isset = function(prop) {
- return (typeof prop !== 'undefined');
- };
-
- if ( !isset(attributes[attr]['to']) && !isset(attributes[attr]['by'])
) {
- return false; // note return; nothing to animate to
- }
-
- start = ( isset(attributes[attr]['from']) ) ? attributes[attr]['from']
: this.getAttribute(attr);
-
- // To beats by, per SMIL 2.1 spec
- if ( isset(attributes[attr]['to']) ) {
- end = attributes[attr]['to'];
- } else if ( isset(attributes[attr]['by']) ) {
- if (start.constructor == Array) {
- end = [];
- for (var i = 0, len = start.length; i < len; ++i) {
- end[i] = start[i] + attributes[attr]['by'][i] * 1; //
times 1 to cast "by"
- }
- } else {
- end = start + attributes[attr]['by'] * 1;
- }
- }
-
- this.runtimeAttributes[attr].start = start;
- this.runtimeAttributes[attr].end = end;
-
- // set units if needed
- this.runtimeAttributes[attr].unit = ( isset(attributes[attr].unit) ) ?
- attributes[attr]['unit'] : this.getDefaultUnit(attr);
- return true;
- },
-
- /**
- * Constructor for Anim instance.
- * @method init
- * @param {String | HTMLElement} el Reference to the element that will be
animated
- * @param {Object} attributes The attribute(s) to be animated.
- * Each attribute is an object with at minimum a "to" or "by" member
defined.
- * Additional optional members are "from" (defaults to current value),
"units" (defaults to "px").
- * All attribute names use camelCase.
- * @param {Number} duration (optional, defaults to 1 second) Length of
animation (frames or seconds), defaults to time-based
- * @param {Function} method (optional, defaults to
YAHOO.util.Easing.easeNone) Computes the values that are applied to the
attributes per frame (generally a YAHOO.util.Easing method)
- */
- init: function(el, attributes, duration, method) {
- /**
- * Whether or not the animation is running.
- * @property isAnimated
- * @private
- * @type Boolean
- */
- var isAnimated = false;
-
- /**
- * A Date object that is created when the animation begins.
- * @property startTime
- * @private
- * @type Date
- */
- var startTime = null;
-
- /**
- * The number of frames this animation was able to execute.
- * @property actualFrames
- * @private
- * @type Int
- */
- var actualFrames = 0;
-
- /**
- * The element to be animated.
- * @property el
- * @private
- * @type HTMLElement
- */
- el = Y.Dom.get(el);
-
- /**
- * The collection of attributes to be animated.
- * Each attribute must have at least a "to" or "by" defined in order
to animate.
- * If "to" is supplied, the animation will end with the attribute at
that value.
- * If "by" is supplied, the animation will end at that value plus its
starting value.
- * If both are supplied, "to" is used, and "by" is ignored.
- * Optional additional member include "from" (the value the attribute
should start animating from, defaults to current value), and "unit" (the units
to apply to the values).
- * @property attributes
- * @type Object
- */
- this.attributes = attributes || {};
-
- /**
- * The length of the animation. Defaults to "1" (second).
- * @property duration
- * @type Number
- */
- this.duration = !YAHOO.lang.isUndefined(duration) ? duration : 1;
-
- /**
- * The method that will provide values to the attribute(s) during the
animation.
- * Defaults to "YAHOO.util.Easing.easeNone".
- * @property method
- * @type Function
- */
- this.method = method || Y.Easing.easeNone;
-
- /**
- * Whether or not the duration should be treated as seconds.
- * Defaults to true.
- * @property useSeconds
- * @type Boolean
- */
- this.useSeconds = true; // default to seconds
-
- /**
- * The location of the current animation on the timeline.
- * In time-based animations, this is used by AnimMgr to ensure the
animation finishes on time.
- * @property currentFrame
- * @type Int
- */
- this.currentFrame = 0;
-
- /**
- * The total number of frames to be executed.
- * In time-based animations, this is used by AnimMgr to ensure the
animation finishes on time.
- * @property totalFrames
- * @type Int
- */
- this.totalFrames = Y.AnimMgr.fps;
-
- /**
- * Changes the animated element
- * @method setEl
- */
- this.setEl = function(element) {
- el = Y.Dom.get(element);
- };
-
- /**
- * Returns a reference to the animated element.
- * @method getEl
- * @return {HTMLElement}
- */
- this.getEl = function() { return el; };
-
- /**
- * Checks whether the element is currently animated.
- * @method isAnimated
- * @return {Boolean} current value of isAnimated.
- */
- this.isAnimated = function() {
- return isAnimated;
- };
-
- /**
- * Returns the animation start time.
- * @method getStartTime
- * @return {Date} current value of startTime.
- */
- this.getStartTime = function() {
- return startTime;
- };
-
- this.runtimeAttributes = {};
-
-
-
- /**
- * Starts the animation by registering it with the animation manager.
- * @method animate
- */
- this.animate = function() {
- if ( this.isAnimated() ) {
- return false;
- }
-
- this.currentFrame = 0;
-
- this.totalFrames = ( this.useSeconds ) ? Math.ceil(Y.AnimMgr.fps *
this.duration) : this.duration;
-
- if (this.duration === 0 && this.useSeconds) { // jump to last
frame if zero second duration
- this.totalFrames = 1;
- }
- Y.AnimMgr.registerElement(this);
- return true;
- };
-
- /**
- * Stops the animation. Normally called by AnimMgr when animation
completes.
- * @method stop
- * @param {Boolean} finish (optional) If true, animation will jump to
final frame.
- */
- this.stop = function(finish) {
- if (!this.isAnimated()) { // nothing to stop
- return false;
- }
-
- if (finish) {
- this.currentFrame = this.totalFrames;
- this._onTween.fire();
- }
- Y.AnimMgr.stop(this);
- };
-
- var onStart = function() {
- this.onStart.fire();
-
- this.runtimeAttributes = {};
- for (var attr in this.attributes) {
- this.setRuntimeAttribute(attr);
- }
-
- isAnimated = true;
- actualFrames = 0;
- startTime = new Date();
- };
-
- /**
- * Feeds the starting and ending values for each animated attribute to
doMethod once per frame, then applies the resulting value to the attribute(s).
- * @private
- */
-
- var onTween = function() {
- var data = {
- duration: new Date() - this.getStartTime(),
- currentFrame: this.currentFrame
- };
-
- data.toString = function() {
- return (
- 'duration: ' + data.duration +
- ', currentFrame: ' + data.currentFrame
- );
- };
-
- this.onTween.fire(data);
-
- var runtimeAttributes = this.runtimeAttributes;
-
- for (var attr in runtimeAttributes) {
- this.setAttribute(attr, this.doMethod(attr,
runtimeAttributes[attr].start, runtimeAttributes[attr].end),
runtimeAttributes[attr].unit);
- }
-
- actualFrames += 1;
- };
-
- var onComplete = function() {
- var actual_duration = (new Date() - startTime) / 1000 ;
-
- var data = {
- duration: actual_duration,
- frames: actualFrames,
- fps: actualFrames / actual_duration
- };
-
- data.toString = function() {
- return (
- 'duration: ' + data.duration +
- ', frames: ' + data.frames +
- ', fps: ' + data.fps
- );
- };
-
- isAnimated = false;
- actualFrames = 0;
- this.onComplete.fire(data);
- };
-
- /**
- * Custom event that fires after onStart, useful in subclassing
- * @private
- */
- this._onStart = new Y.CustomEvent('_start', this, true);
-
- /**
- * Custom event that fires when animation begins
- * Listen via subscribe method (e.g.
myAnim.onStart.subscribe(someFunction)
- * @event onStart
- */
- this.onStart = new Y.CustomEvent('start', this);
-
- /**
- * Custom event that fires between each frame
- * Listen via subscribe method (e.g.
myAnim.onTween.subscribe(someFunction)
- * @event onTween
- */
- this.onTween = new Y.CustomEvent('tween', this);
-
- /**
- * Custom event that fires after onTween
- * @private
- */
- this._onTween = new Y.CustomEvent('_tween', this, true);
-
- /**
- * Custom event that fires when animation ends
- * Listen via subscribe method (e.g.
myAnim.onComplete.subscribe(someFunction)
- * @event onComplete
- */
- this.onComplete = new Y.CustomEvent('complete', this);
- /**
- * Custom event that fires after onComplete
- * @private
- */
- this._onComplete = new Y.CustomEvent('_complete', this, true);
-
- this._onStart.subscribe(onStart);
- this._onTween.subscribe(onTween);
- this._onComplete.subscribe(onComplete);
- }
-};
-
- Y.Anim = Anim;
-})();
-/**
- * Handles animation queueing and threading.
- * Used by Anim and subclasses.
- * @class AnimMgr
- * @namespace YAHOO.util
- */
-YAHOO.util.AnimMgr = new function() {
- /**
- * Reference to the animation Interval.
- * @property thread
- * @private
- * @type Int
- */
- var thread = null;
-
- /**
- * The current queue of registered animation objects.
- * @property queue
- * @private
- * @type Array
- */
- var queue = [];
-
- /**
- * The number of active animations.
- * @property tweenCount
- * @private
- * @type Int
- */
- var tweenCount = 0;
-
- /**
- * Base frame rate (frames per second).
- * Arbitrarily high for better x-browser calibration (slower browsers drop
more frames).
- * @property fps
- * @type Int
- *
- */
- this.fps = 1000;
-
- /**
- * Interval delay in milliseconds, defaults to fastest possible.
- * @property delay
- * @type Int
- *
- */
- this.delay = 1;
-
- /**
- * Adds an animation instance to the animation queue.
- * All animation instances must be registered in order to animate.
- * @method registerElement
- * @param {object} tween The Anim instance to be be registered
- */
- this.registerElement = function(tween) {
- queue[queue.length] = tween;
- tweenCount += 1;
- tween._onStart.fire();
- this.start();
- };
-
- /**
- * removes an animation instance from the animation queue.
- * All animation instances must be registered in order to animate.
- * @method unRegister
- * @param {object} tween The Anim instance to be be registered
- * @param {Int} index The index of the Anim instance
- * @private
- */
- this.unRegister = function(tween, index) {
- index = index || getIndex(tween);
- if (!tween.isAnimated() || index === -1) {
- return false;
- }
-
- tween._onComplete.fire();
- queue.splice(index, 1);
-
- tweenCount -= 1;
- if (tweenCount <= 0) {
- this.stop();
- }
-
- return true;
- };
-
- /**
- * Starts the animation thread.
- * Only one thread can run at a time.
- * @method start
- */
- this.start = function() {
- if (thread === null) {
- thread = setInterval(this.run, this.delay);
- }
- };
-
- /**
- * Stops the animation thread or a specific animation instance.
- * @method stop
- * @param {object} tween A specific Anim instance to stop (optional)
- * If no instance given, Manager stops thread and all animations.
- */
- this.stop = function(tween) {
- if (!tween) {
- clearInterval(thread);
-
- for (var i = 0, len = queue.length; i < len; ++i) {
- this.unRegister(queue[0], 0);
- }
-
- queue = [];
- thread = null;
- tweenCount = 0;
- }
- else {
- this.unRegister(tween);
- }
- };
-
- /**
- * Called per Interval to handle each animation frame.
- * @method run
- */
- this.run = function() {
- for (var i = 0, len = queue.length; i < len; ++i) {
- var tween = queue[i];
- if ( !tween || !tween.isAnimated() ) { continue; }
-
- if (tween.currentFrame < tween.totalFrames || tween.totalFrames
=== null)
- {
- tween.currentFrame += 1;
-
- if (tween.useSeconds) {
- correctFrame(tween);
- }
- tween._onTween.fire();
- }
- else { YAHOO.util.AnimMgr.stop(tween, i); }
- }
- };
-
- var getIndex = function(anim) {
- for (var i = 0, len = queue.length; i < len; ++i) {
- if (queue[i] === anim) {
- return i; // note return;
- }
- }
- return -1;
- };
-
- /**
- * On the fly frame correction to keep animation on time.
- * @method correctFrame
- * @private
- * @param {Object} tween The Anim instance being corrected.
- */
- var correctFrame = function(tween) {
- var frames = tween.totalFrames;
- var frame = tween.currentFrame;
- var expected = (tween.currentFrame * tween.duration * 1000 /
tween.totalFrames);
- var elapsed = (new Date() - tween.getStartTime());
- var tweak = 0;
-
- if (elapsed < tween.duration * 1000) { // check if falling behind
- tweak = Math.round((elapsed / expected - 1) * tween.currentFrame);
- } else { // went over duration, so jump to end
- tweak = frames - (frame + 1);
- }
- if (tweak > 0 && isFinite(tweak)) { // adjust if needed
- if (tween.currentFrame + tweak >= frames) {// dont go past last
frame
- tweak = frames - (frame + 1);
- }
-
- tween.currentFrame += tweak;
- }
- };
- this._queue = queue;
- this._getIndex = getIndex;
-};
-/**
- * Used to calculate Bezier splines for any number of control points.
- * @class Bezier
- * @namespace YAHOO.util
- *
- */
-YAHOO.util.Bezier = new function() {
- /**
- * Get the current position of the animated element based on t.
- * Each point is an array of "x" and "y" values (0 = x, 1 = y)
- * At least 2 points are required (start and end).
- * First point is start. Last point is end.
- * Additional control points are optional.
- * @method getPosition
- * @param {Array} points An array containing Bezier points
- * @param {Number} t A number between 0 and 1 which is the basis for
determining current position
- * @return {Array} An array containing int x and y member data
- */
- this.getPosition = function(points, t) {
- var n = points.length;
- var tmp = [];
-
- for (var i = 0; i < n; ++i){
- tmp[i] = [points[i][0], points[i][1]]; // save input
- }
-
- for (var j = 1; j < n; ++j) {
- for (i = 0; i < n - j; ++i) {
- tmp[i][0] = (1 - t) * tmp[i][0] + t * tmp[parseInt(i + 1,
10)][0];
- tmp[i][1] = (1 - t) * tmp[i][1] + t * tmp[parseInt(i + 1,
10)][1];
- }
- }
-
- return [ tmp[0][0], tmp[0][1] ];
-
- };
-};
-(function() {
-/**
- * Anim subclass for color transitions.
- * <p>Usage: <code>var myAnim = new Y.ColorAnim(el, { backgroundColor: { from:
'#FF0000', to: '#FFFFFF' } }, 1, Y.Easing.easeOut);</code> Color values can be
specified with either 112233, #112233,
- * [255,255,255], or rgb(255,255,255)</p>
- * @class ColorAnim
- * @namespace YAHOO.util
- * @requires YAHOO.util.Anim
- * @requires YAHOO.util.AnimMgr
- * @requires YAHOO.util.Easing
- * @requires YAHOO.util.Bezier
- * @requires YAHOO.util.Dom
- * @requires YAHOO.util.Event
- * @constructor
- * @extends YAHOO.util.Anim
- * @param {HTMLElement | String} el Reference to the element that will be
animated
- * @param {Object} attributes The attribute(s) to be animated.
- * Each attribute is an object with at minimum a "to" or "by" member defined.
- * Additional optional members are "from" (defaults to current value), "units"
(defaults to "px").
- * All attribute names use camelCase.
- * @param {Number} duration (optional, defaults to 1 second) Length of
animation (frames or seconds), defaults to time-based
- * @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone)
Computes the values that are applied to the attributes per frame (generally a
YAHOO.util.Easing method)
- */
- var ColorAnim = function(el, attributes, duration, method) {
- ColorAnim.superclass.constructor.call(this, el, attributes, duration,
method);
- };
-
- ColorAnim.NAME = 'ColorAnim';
-
- ColorAnim.DEFAULT_BGCOLOR = '#fff';
- // shorthand
- var Y = YAHOO.util;
- YAHOO.extend(ColorAnim, Y.Anim);
-
- var superclass = ColorAnim.superclass;
- var proto = ColorAnim.prototype;
-
- proto.patterns.color = /color$/i;
- proto.patterns.rgb =
/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;
- proto.patterns.hex =
/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;
- proto.patterns.hex3 =
/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;
- proto.patterns.transparent = /^transparent|rgba\(0, 0, 0, 0\)$/; // need
rgba for safari
-
- /**
- * Attempts to parse the given string and return a 3-tuple.
- * @method parseColor
- * @param {String} s The string to parse.
- * @return {Array} The 3-tuple of rgb values.
- */
- proto.parseColor = function(s) {
- if (s.length == 3) { return s; }
-
- var c = this.patterns.hex.exec(s);
- if (c && c.length == 4) {
- return [ parseInt(c[1], 16), parseInt(c[2], 16), parseInt(c[3],
16) ];
- }
-
- c = this.patterns.rgb.exec(s);
- if (c && c.length == 4) {
- return [ parseInt(c[1], 10), parseInt(c[2], 10), parseInt(c[3],
10) ];
- }
-
- c = this.patterns.hex3.exec(s);
- if (c && c.length == 4) {
- return [ parseInt(c[1] + c[1], 16), parseInt(c[2] + c[2], 16),
parseInt(c[3] + c[3], 16) ];
- }
-
- return null;
- };
-
- proto.getAttribute = function(attr) {
- var el = this.getEl();
- if (this.patterns.color.test(attr) ) {
- var val = YAHOO.util.Dom.getStyle(el, attr);
-
- var that = this;
- if (this.patterns.transparent.test(val)) { // bgcolor default
- var parent = YAHOO.util.Dom.getAncestorBy(el, function(node) {
- return !that.patterns.transparent.test(val);
- });
-
- if (parent) {
- val = Y.Dom.getStyle(parent, attr);
- } else {
- val = ColorAnim.DEFAULT_BGCOLOR;
- }
- }
- } else {
- val = superclass.getAttribute.call(this, attr);
- }
-
- return val;
- };
-
- proto.doMethod = function(attr, start, end) {
- var val;
-
- if ( this.patterns.color.test(attr) ) {
- val = [];
- for (var i = 0, len = start.length; i < len; ++i) {
- val[i] = superclass.doMethod.call(this, attr, start[i],
end[i]);
- }
-
- val =
'rgb('+Math.floor(val[0])+','+Math.floor(val[1])+','+Math.floor(val[2])+')';
- }
- else {
- val = superclass.doMethod.call(this, attr, start, end);
- }
-
- return val;
- };
-
- proto.setRuntimeAttribute = function(attr) {
- superclass.setRuntimeAttribute.call(this, attr);
-
- if ( this.patterns.color.test(attr) ) {
- var attributes = this.attributes;
- var start = this.parseColor(this.runtimeAttributes[attr].start);
- var end = this.parseColor(this.runtimeAttributes[attr].end);
- // fix colors if going "by"
- if ( typeof attributes[attr]['to'] === 'undefined' && typeof
attributes[attr]['by'] !== 'undefined' ) {
- end = this.parseColor(attributes[attr].by);
-
- for (var i = 0, len = start.length; i < len; ++i) {
- end[i] = start[i] + end[i];
- }
- }
-
- this.runtimeAttributes[attr].start = start;
- this.runtimeAttributes[attr].end = end;
- }
- };
-
- Y.ColorAnim = ColorAnim;
-})();
-/*!
-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.
-*/
-
-/**
- * Singleton that determines how an animation proceeds from start to end.
- * @class Easing
- * @namespace YAHOO.util
-*/
-
-YAHOO.util.Easing = {
-
- /**
- * Uniform speed between points.
- * @method easeNone
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @return {Number} The computed value for the current animation frame
- */
- easeNone: function (t, b, c, d) {
- return c*t/d + b;
- },
-
- /**
- * Begins slowly and accelerates towards end.
- * @method easeIn
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @return {Number} The computed value for the current animation frame
- */
- easeIn: function (t, b, c, d) {
- return c*(t/=d)*t + b;
- },
-
- /**
- * Begins quickly and decelerates towards end.
- * @method easeOut
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @return {Number} The computed value for the current animation frame
- */
- easeOut: function (t, b, c, d) {
- return -c *(t/=d)*(t-2) + b;
- },
-
- /**
- * Begins slowly and decelerates towards end.
- * @method easeBoth
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @return {Number} The computed value for the current animation frame
- */
- easeBoth: function (t, b, c, d) {
- if ((t/=d/2) < 1) {
- return c/2*t*t + b;
- }
-
- return -c/2 * ((--t)*(t-2) - 1) + b;
- },
-
- /**
- * Begins slowly and accelerates towards end.
- * @method easeInStrong
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @return {Number} The computed value for the current animation frame
- */
- easeInStrong: function (t, b, c, d) {
- return c*(t/=d)*t*t*t + b;
- },
-
- /**
- * Begins quickly and decelerates towards end.
- * @method easeOutStrong
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @return {Number} The computed value for the current animation frame
- */
- easeOutStrong: function (t, b, c, d) {
- return -c * ((t=t/d-1)*t*t*t - 1) + b;
- },
-
- /**
- * Begins slowly and decelerates towards end.
- * @method easeBothStrong
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @return {Number} The computed value for the current animation frame
- */
- easeBothStrong: function (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;
- },
-
- /**
- * Snap in elastic effect.
- * @method elasticIn
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @param {Number} a Amplitude (optional)
- * @param {Number} p Period (optional)
- * @return {Number} The computed value for the current animation frame
- */
-
- elasticIn: function (t, b, c, d, a, p) {
- if (t == 0) {
- return b;
- }
- if ( (t /= d) == 1 ) {
- return b+c;
- }
- if (!p) {
- p=d*.3;
- }
-
- if (!a || 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;
- },
-
- /**
- * Snap out elastic effect.
- * @method elasticOut
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @param {Number} a Amplitude (optional)
- * @param {Number} p Period (optional)
- * @return {Number} The computed value for the current animation frame
- */
- elasticOut: function (t, b, c, d, a, p) {
- if (t == 0) {
- return b;
- }
- if ( (t /= d) == 1 ) {
- return b+c;
- }
- if (!p) {
- p=d*.3;
- }
-
- if (!a || 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;
- },
-
- /**
- * Snap both elastic effect.
- * @method elasticBoth
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @param {Number} a Amplitude (optional)
- * @param {Number} p Period (optional)
- * @return {Number} The computed value for the current animation frame
- */
- elasticBoth: function (t, b, c, d, a, p) {
- if (t == 0) {
- return b;
- }
-
- if ( (t /= d/2) == 2 ) {
- return b+c;
- }
-
- if (!p) {
- p = d*(.3*1.5);
- }
-
- if ( !a || 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;
- },
-
-
- /**
- * Backtracks slightly, then reverses direction and moves to end.
- * @method backIn
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @param {Number} s Overshoot (optional)
- * @return {Number} The computed value for the current animation frame
- */
- backIn: function (t, b, c, d, s) {
- if (typeof s == 'undefined') {
- s = 1.70158;
- }
- return c*(t/=d)*t*((s+1)*t - s) + b;
- },
-
- /**
- * Overshoots end, then reverses and comes back to end.
- * @method backOut
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @param {Number} s Overshoot (optional)
- * @return {Number} The computed value for the current animation frame
- */
- backOut: function (t, b, c, d, s) {
- if (typeof s == 'undefined') {
- s = 1.70158;
- }
- return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
- },
-
- /**
- * Backtracks slightly, then reverses direction, overshoots end,
- * then reverses and comes back to end.
- * @method backBoth
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @param {Number} s Overshoot (optional)
- * @return {Number} The computed value for the current animation frame
- */
- backBoth: function (t, b, c, d, s) {
- if (typeof 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;
- },
-
- /**
- * Bounce off of start.
- * @method bounceIn
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @return {Number} The computed value for the current animation frame
- */
- bounceIn: function (t, b, c, d) {
- return c - YAHOO.util.Easing.bounceOut(d-t, 0, c, d) + b;
- },
-
- /**
- * Bounces off end.
- * @method bounceOut
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @return {Number} The computed value for the current animation frame
- */
- bounceOut: function (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;
- }
- return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
- },
-
- /**
- * Bounces off start and end.
- * @method bounceBoth
- * @param {Number} t Time value used to compute current value
- * @param {Number} b Starting value
- * @param {Number} c Delta between start and end values
- * @param {Number} d Total length of animation
- * @return {Number} The computed value for the current animation frame
- */
- bounceBoth: function (t, b, c, d) {
- if (t < d/2) {
- return YAHOO.util.Easing.bounceIn(t*2, 0, c, d) * .5 + b;
- }
- return YAHOO.util.Easing.bounceOut(t*2-d, 0, c, d) * .5 + c*.5 + b;
- }
-};
-
-(function() {
-/**
- * Anim subclass for moving elements along a path defined by the "points"
- * member of "attributes". All "points" are arrays with x, y coordinates.
- * <p>Usage: <code>var myAnim = new YAHOO.util.Motion(el, { points: { to:
[800, 800] } }, 1, YAHOO.util.Easing.easeOut);</code></p>
- * @class Motion
- * @namespace YAHOO.util
- * @requires YAHOO.util.Anim
- * @requires YAHOO.util.AnimMgr
- * @requires YAHOO.util.Easing
- * @requires YAHOO.util.Bezier
- * @requires YAHOO.util.Dom
- * @requires YAHOO.util.Event
- * @requires YAHOO.util.CustomEvent
- * @constructor
- * @extends YAHOO.util.ColorAnim
- * @param {String | HTMLElement} el Reference to the element that will be
animated
- * @param {Object} attributes The attribute(s) to be animated.
- * Each attribute is an object with at minimum a "to" or "by" member defined.
- * Additional optional members are "from" (defaults to current value), "units"
(defaults to "px").
- * All attribute names use camelCase.
- * @param {Number} duration (optional, defaults to 1 second) Length of
animation (frames or seconds), defaults to time-based
- * @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone)
Computes the values that are applied to the attributes per frame (generally a
YAHOO.util.Easing method)
- */
- var Motion = function(el, attributes, duration, method) {
- if (el) { // dont break existing subclasses not using YAHOO.extend
- Motion.superclass.constructor.call(this, el, attributes, duration,
method);
- }
- };
-
-
- Motion.NAME = 'Motion';
-
- // shorthand
- var Y = YAHOO.util;
- YAHOO.extend(Motion, Y.ColorAnim);
-
- var superclass = Motion.superclass;
- var proto = Motion.prototype;
-
- proto.patterns.points = /^points$/i;
-
- proto.setAttribute = function(attr, val, unit) {
- if ( this.patterns.points.test(attr) ) {
- unit = unit || 'px';
- superclass.setAttribute.call(this, 'left', val[0], unit);
- superclass.setAttribute.call(this, 'top', val[1], unit);
- } else {
- superclass.setAttribute.call(this, attr, val, unit);
- }
- };
-
- proto.getAttribute = function(attr) {
- if ( this.patterns.points.test(attr) ) {
- var val = [
- superclass.getAttribute.call(this, 'left'),
- superclass.getAttribute.call(this, 'top')
- ];
- } else {
- val = superclass.getAttribute.call(this, attr);
- }
-
- return val;
- };
-
- proto.doMethod = function(attr, start, end) {
- var val = null;
-
- if ( this.patterns.points.test(attr) ) {
- var t = this.method(this.currentFrame, 0, 100, this.totalFrames) /
100;
- val = Y.Bezier.getPosition(this.runtimeAttributes[attr], t);
- } else {
- val = superclass.doMethod.call(this, attr, start, end);
- }
- return val;
- };
-
- proto.setRuntimeAttribute = function(attr) {
- if ( this.patterns.points.test(attr) ) {
- var el = this.getEl();
- var attributes = this.attributes;
- var start;
- var control = attributes['points']['control'] || [];
- var end;
- var i, len;
-
- if (control.length > 0 && !(control[0] instanceof Array) ) { //
could be single point or array of points
- control = [control];
- } else { // break reference to attributes.points.control
- var tmp = [];
- for (i = 0, len = control.length; i< len; ++i) {
- tmp[i] = control[i];
- }
- control = tmp;
- }
-
- if (Y.Dom.getStyle(el, 'position') == 'static') { // default to
relative
- Y.Dom.setStyle(el, 'position', 'relative');
- }
-
- if ( isset(attributes['points']['from']) ) {
- Y.Dom.setXY(el, attributes['points']['from']); // set position
to from point
- }
- else { Y.Dom.setXY( el, Y.Dom.getXY(el) ); } // set it to current
position
-
- start = this.getAttribute('points'); // get actual top & left
-
- // TO beats BY, per SMIL 2.1 spec
- if ( isset(attributes['points']['to']) ) {
- end = translateValues.call(this, attributes['points']['to'],
start);
-
- var pageXY = Y.Dom.getXY(this.getEl());
- for (i = 0, len = control.length; i < len; ++i) {
- control[i] = translateValues.call(this, control[i], start);
- }
-
-
- } else if ( isset(attributes['points']['by']) ) {
- end = [ start[0] + attributes['points']['by'][0], start[1] +
attributes['points']['by'][1] ];
-
- for (i = 0, len = control.length; i < len; ++i) {
- control[i] = [ start[0] + control[i][0], start[1] +
control[i][1] ];
- }
- }
-
- this.runtimeAttributes[attr] = [start];
-
- if (control.length > 0) {
- this.runtimeAttributes[attr] =
this.runtimeAttributes[attr].concat(control);
- }
-
- this.runtimeAttributes[attr][this.runtimeAttributes[attr].length]
= end;
- }
- else {
- superclass.setRuntimeAttribute.call(this, attr);
- }
- };
-
- var translateValues = function(val, start) {
- var pageXY = Y.Dom.getXY(this.getEl());
- val = [ val[0] - pageXY[0] + start[0], val[1] - pageXY[1] + start[1] ];
-
- return val;
- };
-
- var isset = function(prop) {
- return (typeof prop !== 'undefined');
- };
-
- Y.Motion = Motion;
-})();
-(function() {
-/**
- * Anim subclass for scrolling elements to a position defined by the "scroll"
- * member of "attributes". All "scroll" members are arrays with x, y scroll
positions.
- * <p>Usage: <code>var myAnim = new YAHOO.util.Scroll(el, { scroll: { to: [0,
800] } }, 1, YAHOO.util.Easing.easeOut);</code></p>
- * @class Scroll
- * @namespace YAHOO.util
- * @requires YAHOO.util.Anim
- * @requires YAHOO.util.AnimMgr
- * @requires YAHOO.util.Easing
- * @requires YAHOO.util.Bezier
- * @requires YAHOO.util.Dom
- * @requires YAHOO.util.Event
- * @requires YAHOO.util.CustomEvent
- * @extends YAHOO.util.ColorAnim
- * @constructor
- * @param {String or HTMLElement} el Reference to the element that will be
animated
- * @param {Object} attributes The attribute(s) to be animated.
- * Each attribute is an object with at minimum a "to" or "by" member defined.
- * Additional optional members are "from" (defaults to current value), "units"
(defaults to "px").
- * All attribute names use camelCase.
- * @param {Number} duration (optional, defaults to 1 second) Length of
animation (frames or seconds), defaults to time-based
- * @param {Function} method (optional, defaults to YAHOO.util.Easing.easeNone)
Computes the values that are applied to the attributes per frame (generally a
YAHOO.util.Easing method)
- */
- var Scroll = function(el, attributes, duration, method) {
- if (el) { // dont break existing subclasses not using YAHOO.extend
- Scroll.superclass.constructor.call(this, el, attributes, duration,
method);
- }
- };
-
- Scroll.NAME = 'Scroll';
-
- // shorthand
- var Y = YAHOO.util;
- YAHOO.extend(Scroll, Y.ColorAnim);
-
- var superclass = Scroll.superclass;
- var proto = Scroll.prototype;
-
- proto.doMethod = function(attr, start, end) {
- var val = null;
-
- if (attr == 'scroll') {
- val = [
- this.method(this.currentFrame, start[0], end[0] - start[0],
this.totalFrames),
- this.method(this.currentFrame, start[1], end[1] - start[1],
this.totalFrames)
- ];
-
- } else {
- val = superclass.doMethod.call(this, attr, start, end);
- }
- return val;
- };
-
- proto.getAttribute = function(attr) {
- var val = null;
- var el = this.getEl();
-
- if (attr == 'scroll') {
- val = [ el.scrollLeft, el.scrollTop ];
- } else {
- val = superclass.getAttribute.call(this, attr);
- }
-
- return val;
- };
-
- proto.setAttribute = function(attr, val, unit) {
- var el = this.getEl();
-
- if (attr == 'scroll') {
- el.scrollLeft = val[0];
- el.scrollTop = val[1];
- } else {
- superclass.setAttribute.call(this, attr, val, unit);
- }
- };
-
- Y.Scroll = Scroll;
-})();
-YAHOO.register("animation", YAHOO.util.Anim, {version: "2.8.1", build: "19"});
Deleted: trunk/phpgwapi/js/yahoo/assets/YUIexamples.js
===================================================================
--- trunk/phpgwapi/js/yahoo/assets/YUIexamples.js 2010-11-16 15:02:12 UTC
(rev 6602)
+++ trunk/phpgwapi/js/yahoo/assets/YUIexamples.js 2010-11-16 21:18:12 UTC
(rev 6603)
@@ -1,32 +0,0 @@
-//Create namespace:
-YAHOO.namespace("yui.examples");
-
-//Only instantiate logger stuff if the page has loaded in logger mode:
-if((YAHOO.widget.LogReader)&&(YAHOO.util.Dom.get("loggerDiv"))) {
- //Create Logger instance for example page:
- YAHOO.yui.examples.exampleLogger = new
YAHOO.widget.LogReader("loggerDiv");
-
- //Logger comes up a bit more cleanly if its container has an approximate
- //height and is visibility:hidden intil after init;
- YAHOO.yui.examples.loggerInit = function() {
- YAHOO.util.Dom.setStyle("loggerDiv", "height", "auto");
- YAHOO.util.Dom.setStyle("loggerDiv", "visibility", "visible");
- }
- YAHOO.util.Event.onDOMReady(YAHOO.yui.examples.loggerInit);
-}
-
-//instantiate buttons:
-YAHOO.yui.examples.onLinkButtonsMarkupReady = function() {
- //if the logger is in use, enable its button:
- if (YAHOO.util.Dom.get("loggerLink")) {
- var loggerButton = new YAHOO.widget.Button("loggerLink");
- }
-
- //if a new window button is present, initialize it:
- if (YAHOO.util.Dom.get("newWindowLink")) {
- var newWindowButton = new YAHOO.widget.Button("newWindowLink");
- }
-}
-//wait until loggerDiv is present; the window buttons will have loaded
-//by then as well:
-YAHOO.util.Event.onDOMReady(YAHOO.yui.examples.onLinkButtonsMarkupReady);
Deleted: trunk/phpgwapi/js/yahoo/assets/bg_hd.gif
===================================================================
(Binary files differ)
Deleted: trunk/phpgwapi/js/yahoo/assets/dpSyntaxHighlighter.css
===================================================================
--- trunk/phpgwapi/js/yahoo/assets/dpSyntaxHighlighter.css 2010-11-16
15:02:12 UTC (rev 6602)
+++ trunk/phpgwapi/js/yahoo/assets/dpSyntaxHighlighter.css 2010-11-16
21:18:12 UTC (rev 6603)
@@ -1,190 +0,0 @@
-/* Give syntax-highlighting textareas some height for unsupported browsers */
-
-textarea.JScript, textarea.HTML, textarea.XML {height:10em;}
-
-/* Main style for the table */
-
-.dp-highlighter {
- width: 100%;
- overflow: auto;
- line-height: 100% !important;
- margin:0 0 1em 0;
-}
-
-.dp-highlighter table {
- width:99% !important;
- margin: 2px 0px 2px 0px !important;
- border-collapse: collapse;
- border-bottom: 2px solid #eee;
- background-color: #fff;
-}
-
-.dp-highlighter tbody.hide { display: none; }
-.dp-highlighter tbody.show { display: table-row-group; _display: block; }
-
-.dp-highlighter td
-{
- font-family: Courier New;
- font-size: 11px;
-}
-
-/* Styles for the tools */
-
-.dp-highlighter .tools-corner {
- background-color: #eee;
- font-size: 9px;
-}
-
-.dp-highlighter .tools {
- background-color: #eee;
- padding: 3px 8px 3px 10px;
- border-bottom: 1px solid gray;
- font: 9px Verdana, Geneva, Arial, Helvetica, sans-serif;
- color: silver;
-}
-
-.dp-highlighter .tools-corner {
- background-color: #eee;
-}
-
-.dp-highlighter .tools a {
- font-size: 9px;
- color: gray;
- text-decoration: none;
-}
-
-.dp-highlighter .tools a:hover {
- color: red;
- text-decoration: underline;
-}
-
-/* Gutter with line number */
-
-.dp-highlighter .gutter {
- padding-right: 5px;
- padding-left: 10px;
- width: 5px;
- background-color: #eee;
- border-right: 1px solid gray;
- color: gray;
- text-align: right;
- vertical-align: top;
-}
-
-/* Single line style */
-
-.dp-highlighter .line1, .line2 {
- padding-left: 10px;
- /*border-bottom: 1px solid #F7F7F7;*/
- white-space:nowrap;
-}
-
-.dp-highlighter .line2 {
- /*background-color: #F7F7F7;*/
-}
-
-/* About dialog styles */
-
-.dp-about {
- background-color: #fff;
- margin: 0px;
-}
-
-.dp-about table {
- width: 100%;
- height: 100%;
- font-size: 11px;
- font-family: Tahoma, Verdana, Arial, sans-serif !important;
-}
-
-.dp-about td {
- padding: 10px;
- vertical-align: top;
-}
-
-.dp-about .copy {
- border-bottom: 1px solid #ACA899;
- height: 95%;
-}
-
-.dp-about .title {
- color: red;
- font-weight: bold;
-}
-
-.dp-about .para {
- margin-bottom: 4px;
-}
-
-.dp-about .footer {
- background-color: #ECEADB;
- border-top: 1px solid #fff;
- text-align: right;
-}
-
-.dp-about .close {
- font-size: 11px;
- font-family: Tahoma, Verdana, Arial, sans-serif !important;
- background-color: #ECEADB;
- width: 60px;
- height: 22px;
-}
-
-/* Language specific styles */
-
-.dp-c {}
-.dp-c .comment { color: green; }
-.dp-c .string { color: blue; }
-.dp-c .preprocessor { color: gray; }
-.dp-c .keyword { color: blue; }
-.dp-c .vars { color: #d00; }
-/*
-.dp-vb {}
-.dp-vb .comment { color: green; }
-.dp-vb .string { color: blue; }
-.dp-vb .preprocessor { color: gray; }
-.dp-vb .keyword { color: blue; }
-
-.dp-sql {}
-.dp-sql .comment { color: green; }
-.dp-sql .string { color: red; }
-.dp-sql .keyword { color: blue; }
-.dp-sql .func { color: #ff1493; }
-.dp-sql .op { color: #808080; }
-*/
-.dp-xml {}
-.dp-xml .cdata { color: #ff1493; }
-.dp-xml .comments { color: green; }
-.dp-xml .tag { color: blue; }
-.dp-xml .tag-name { color: black; font-weight: bold; }
-.dp-xml .attribute { color: red; }
-.dp-xml .attribute-value { color: blue; }
-/*
-.dp-delphi {}
-.dp-delphi .comment { color: #008200; font-style: italic; }
-.dp-delphi .string { color: blue; }
-.dp-delphi .number { color: blue; }
-.dp-delphi .directive { color: #008284; }
-.dp-delphi .keyword { font-weight: bold; color: navy; }
-.dp-delphi .vars { color: #000; }
-
-.dp-py {}
-.dp-py .comment { color: green; }
-.dp-py .string { color: red; }
-.dp-py .docstring { color: brown; }
-.dp-py .keyword { color: blue; font-weight: bold;}
-.dp-py .builtins { color: #ff1493; }
-.dp-py .magicmethods { color: #808080; }
-.dp-py .exceptions { color: brown; }
-.dp-py .types { color: brown; font-style: italic; }
-.dp-py .commonlibs { color: #8A2BE2; font-style: italic; }*/
-
-
-.dp-css .keyword { color: red; }
-.dp-css .value { color: #ff1493; }
-.dp-css .comment { color: green; }
-.dp-css .string { color: blue; }
-.dp-css .preprocessor { color: gray; }
-.dp-css .keyword { color: blue; }
-.dp-css .vars { color: #d00; }
-.dp-css .colors { font-weight: bold; }
Deleted: trunk/phpgwapi/js/yahoo/assets/dpSyntaxHighlighter.js
===================================================================
--- trunk/phpgwapi/js/yahoo/assets/dpSyntaxHighlighter.js 2010-11-16
15:02:12 UTC (rev 6602)
+++ trunk/phpgwapi/js/yahoo/assets/dpSyntaxHighlighter.js 2010-11-16
21:18:12 UTC (rev 6603)
@@ -1,805 +0,0 @@
-/**
- * Code Syntax Highlighter.
- * Version 1.3.0
- * Copyright (C) 2004 Alex Gorbatchev.
- * http://www.dreamprojections.com/syntaxhighlighter/
- *
- * This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General
- * Public License as published by the Free Software Foundation; either version
2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to
- * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA
- */
-
-//
-// create namespaces
-//
-var dp = {
- sh : // dp.sh
- {
- Utils : {}, // dp.sh.Utils
- Brushes : {}, // dp.sh.Brushes
- Strings : {},
- Version : '1.3.0'
- }
-};
-
-dp.sh.Strings = {
- AboutDialog : '<html><head><title>About...</title></head><body
class="dp-about"><table cellspacing="0"><tr><td class="copy"><p
class="title">dp.SyntaxHighlighter</div><div class="para">Version: {V}</p><p><a
href="http://www.dreamprojections.com/syntaxhighlighter/?ref=about"
target="_blank">http://www.dreamprojections.com/SyntaxHighlighter</a></p>©2004-2005
Alex Gorbatchev. All right reserved.</td></tr><tr><td class="footer"><input
type="button" class="close" value="OK"
onClick="window.close()"/></td></tr></table></body></html>',
-
- // tools
- ExpandCode : '+ expand code',
- ViewPlain : 'view plain',
- Print : 'print',
- CopyToClipboard : 'copy to clipboard',
- About : '?',
-
- CopiedToClipboard : 'The code is in your clipboard now.'
-};
-
-dp.SyntaxHighlighter = dp.sh;
-
-//
-// Dialog and toolbar functions
-//
-
-dp.sh.Utils.Expand = function(sender)
-{
- var table = sender;
- var span = sender;
-
- // find the span in which the text label and pipe contained so we can
hide it
- while(span != null && span.tagName != 'SPAN')
- span = span.parentNode;
-
- // find the table
- while(table != null && table.tagName != 'TABLE')
- table = table.parentNode;
-
- // remove the 'expand code' button
- span.parentNode.removeChild(span);
-
- table.tBodies[0].className = 'show';
- table.parentNode.style.height = '100%'; // containing div isn't getting
updated properly when the TBODY is shown
-}
-
-// opens a new windows and puts the original unformatted source code inside.
-dp.sh.Utils.ViewSource = function(sender)
-{
- var code = sender.parentNode.originalCode;
- var wnd = window.open('', '_blank', 'width=750, height=400, location=0,
resizable=1, menubar=0, scrollbars=1');
-
- code = code.replace(/</g, '<');
-
- wnd.document.write('<pre>' + code + '</pre>');
- wnd.document.close();
-}
-
-// copies the original source code in to the clipboard (IE only)
-dp.sh.Utils.ToClipboard = function(sender)
-{
- var code = sender.parentNode.originalCode;
-
- // This works only for IE. There's a way to make it work with Mozilla
as well,
- // but it requires security settings changed on the client, which isn't
by
- // default, so 99% of users won't have it working anyways.
- if(window.clipboardData)
- {
- window.clipboardData.setData('text', code);
-
- alert(dp.sh.Strings.CopiedToClipboard);
- }
-}
-
-// creates an invisible iframe, puts the original source code inside and
prints it
-dp.sh.Utils.PrintSource = function(sender)
-{
- var td = sender.parentNode;
- var code = td.processedCode;
- var iframe = document.createElement('IFRAME');
- var doc = null;
- var wnd =
-
- // this hides the iframe
- iframe.style.cssText = 'position:absolute; width:0px; height:0px;
left:-5px; top:-5px;';
-
- td.appendChild(iframe);
-
- doc = iframe.contentWindow.document;
- code = code.replace(/</g, '<');
-
- doc.open();
- doc.write('<pre>' + code + '</pre>');
- doc.close();
-
- iframe.contentWindow.focus();
- iframe.contentWindow.print();
-
- td.removeChild(iframe);
-}
-
-dp.sh.Utils.About = function()
-{
- var wnd = window.open('', '_blank',
'dialog,width=320,height=150,scrollbars=0');
- var doc = wnd.document;
-
- var styles = document.getElementsByTagName('style');
- var links = document.getElementsByTagName('link');
-
- doc.write(dp.sh.Strings.AboutDialog.replace('{V}', dp.sh.Version));
-
- // copy over ALL the styles from the parent page
- for(var i = 0; i < styles.length; i++)
- doc.write('<style>' + styles[i].innerHTML + '</style>');
-
- for(var i = 0; i < links.length; i++)
- if(links[i].rel.toLowerCase() == 'stylesheet')
- doc.write('<link type="text/css" rel="stylesheet"
href="' + links[i].href + '"></link>');
-
- doc.close();
- wnd.focus();
-}
-
-//
-// Match object
-//
-dp.sh.Match = function(value, index, css)
-{
- this.value = value;
- this.index = index;
- this.length = value.length;
- this.css = css;
-}
-
-//
-// Highlighter object
-//
-dp.sh.Highlighter = function()
-{
- this.addGutter = true;
- this.addControls = true;
- this.collapse = false;
- this.tabsToSpaces = true;
-}
-
-// static callback for the match sorting
-dp.sh.Highlighter.SortCallback = function(m1, m2)
-{
- // sort matches by index first
- if(m1.index < m2.index)
- return -1;
- else if(m1.index > m2.index)
- return 1;
- else
- {
- // if index is the same, sort by length
- if(m1.length < m2.length)
- return -1;
- else if(m1.length > m2.length)
- return 1;
- }
- return 0;
-}
-
-// gets a list of all matches for a given regular expression
-dp.sh.Highlighter.prototype.GetMatches = function(regex, css)
-{
- var index = 0;
- var match = null;
-
- while((match = regex.exec(this.code)) != null)
- {
- this.matches[this.matches.length] = new dp.sh.Match(match[0],
match.index, css);
- }
-}
-
-dp.sh.Highlighter.prototype.AddBit = function(str, css)
-{
- var span = document.createElement('span');
-
- str = str.replace(/&/g, '&');
- str = str.replace(/ /g, ' ');
- str = str.replace(/</g, '<');
- str = str.replace(/\n/gm, ' <br>');
-
- // when adding a piece of code, check to see if it has line breaks in
it
- // and if it does, wrap individual line breaks with span tags
- if(css != null)
- {
- var regex = new RegExp('<br>', 'gi');
-
- if(regex.test(str))
- {
- var lines = str.split(' <br>');
-
- str = '';
-
- for(var i = 0; i < lines.length; i++)
- {
- span =
document.createElement('SPAN');
- span.className = css;
- span.innerHTML = lines[i];
-
- this.div.appendChild(span);
-
- // don't add a <BR> for the last line
- if(i + 1 < lines.length)
-
this.div.appendChild(document.createElement('BR'));
- }
- }
- else
- {
- span.className = css;
- span.innerHTML = str;
- this.div.appendChild(span);
- }
- }
- else
- {
- span.innerHTML = str;
- this.div.appendChild(span);
- }
-}
-
-// checks if one match is inside any other match
-dp.sh.Highlighter.prototype.IsInside = function(match)
-{
- if(match == null || match.length == 0)
- return;
-
- for(var i = 0; i < this.matches.length; i++)
- {
- var c = this.matches[i];
-
- if(c == null)
- continue;
-
- if((match.index > c.index) && (match.index <= c.index +
c.length))
- return true;
- }
-
- return false;
-}
-
-dp.sh.Highlighter.prototype.ProcessRegexList = function()
-{
- for(var i = 0; i < this.regexList.length; i++)
- this.GetMatches(this.regexList[i].regex, this.regexList[i].css);
-}
-
-dp.sh.Highlighter.prototype.ProcessSmartTabs = function(code)
-{
- var lines = code.split('\n');
- var result = '';
- var tabSize = 4;
- var tab = '\t';
-
- // This function inserts specified amount of spaces in the string
- // where a tab is while removing that given tab.
- function InsertSpaces(line, pos, count)
- {
- var left = line.substr(0, pos);
- var right = line.substr(pos + 1, line.length); // pos
+ 1 will get rid of the tab
- var spaces = '';
-
- for(var i = 0; i < count; i++)
- spaces += ' ';
-
- return left + spaces + right;
- }
-
- // This function process one line for 'smart tabs'
- function ProcessLine(line, tabSize)
- {
- if(line.indexOf(tab) == -1)
- return line;
-
- var pos = 0;
-
- while((pos = line.indexOf(tab)) != -1)
- {
- // This is pretty much all there is to the 'smart tabs'
logic.
- // Based on the position within the line and size of a
tab,
- // calculate the amount of spaces we need to insert.
- var spaces = tabSize - pos % tabSize;
-
- line = InsertSpaces(line, pos, spaces);
- }
-
- return line;
- }
-
- // Go through all the lines and do the 'smart tabs' magic.
- for(var i = 0; i < lines.length; i++)
- result += ProcessLine(lines[i], tabSize) + '\n';
-
- return result;
-}
-
-dp.sh.Highlighter.prototype.SwitchToTable = function()
-{
- // thanks to Lachlan Donald from SitePoint.com for this <br/> tag fix.
- var html = this.div.innerHTML.replace(/<(br)\/?>/gi, '\n');
- var lines = html.split('\n');
- var row = null;
- var cell = null;
- var tBody = null;
- var html = '';
- var pipe = ' | ';
-
- // creates an anchor to a utility
- function UtilHref(util, text)
- {
- return '<a href="#" onclick="dp.sh.Utils.' + util + '(this);
return false;">' + text + '</a>';
- }
-
- tBody = document.createElement('TBODY'); // can be created and
all others go to tBodies collection.
-
- this.table.appendChild(tBody);
-
- if(this.addGutter == true)
- {
- row = tBody.insertRow(-1);
- cell = row.insertCell(-1);
- cell.className = 'tools-corner';
- }
-
- if(this.addControls == true)
- {
- var tHead = document.createElement('THEAD'); // controls
will be placed in here
- this.table.appendChild(tHead);
-
- row = tHead.insertRow(-1);
-
- // add corner if there's a gutter
- if(this.addGutter == true)
- {
- cell = row.insertCell(-1);
- cell.className = 'tools-corner';
- }
-
- cell = row.insertCell(-1);
-
- // preserve some variables for the controls
- cell.originalCode = this.originalCode;
- cell.processedCode = this.code;
- cell.className = 'tools';
-
- if(this.collapse == true)
- {
- tBody.className = 'hide';
- cell.innerHTML += '<span><b>' + UtilHref('Expand',
dp.sh.Strings.ExpandCode) + '</b>' + pipe + '</span>';
- }
-
- cell.innerHTML += UtilHref('ViewSource',
dp.sh.Strings.ViewPlain) + pipe + UtilHref('PrintSource', dp.sh.Strings.Print);
-
- // IE has this clipboard object which is easy enough to use
- if(window.clipboardData)
- cell.innerHTML += pipe + UtilHref('ToClipboard',
dp.sh.Strings.CopyToClipboard);
-
- cell.innerHTML += pipe + UtilHref('About', dp.sh.Strings.About);
- }
-
- for(var i = 0, lineIndex = this.firstLine; i < lines.length - 1; i++,
lineIndex++)
- {
- row = tBody.insertRow(-1);
-
- if(this.addGutter == true)
- {
- cell = row.insertCell(-1);
- cell.className = 'gutter';
- cell.innerHTML = lineIndex;
- }
-
- cell = row.insertCell(-1);
- cell.className = 'line' + (i % 2 + 1); // uses .line1
and .line2 css styles for alternating lines
- cell.innerHTML = lines[i];
- }
-
- this.div.innerHTML = '';
-}
-
-dp.sh.Highlighter.prototype.Highlight = function(code)
-{
- function Trim(str)
- {
- return str.replace(/^\s*(.*?)[\s\n]*$/g, '$1');
- }
-
- function Chop(str)
- {
- return str.replace(/\n*$/, '').replace(/^\n*/, '');
- }
-
- function Unindent(str)
- {
- var lines = str.split('\n');
- var indents = new Array();
- var regex = new RegExp('^\\s*', 'g');
- var min = 1000;
-
- // go through every line and check for common number of indents
- for(var i = 0; i < lines.length && min > 0; i++)
- {
- if(Trim(lines[i]).length == 0)
- continue;
-
- var matches = regex.exec(lines[i]);
-
- if(matches != null && matches.length > 0)
- min = Math.min(matches[0].length, min);
- }
-
- // trim minimum common number of white space from the begining
of every line
- if(min > 0)
- for(var i = 0; i < lines.length; i++)
- lines[i] = lines[i].substr(min);
-
- return lines.join('\n');
- }
-
- // This function returns a portions of the string from pos1 to pos2
inclusive
- function Copy(string, pos1, pos2)
- {
- return string.substr(pos1, pos2 - pos1);
- }
-
- var pos = 0;
-
- this.originalCode = code;
- this.code = Chop(Unindent(code));
- this.div = document.createElement('DIV');
- this.table = document.createElement('TABLE');
- this.matches = new Array();
-
- if(this.CssClass != null)
- this.table.className = this.CssClass;
-
- // replace tabs with spaces
- if(this.tabsToSpaces == true)
- this.code = this.ProcessSmartTabs(this.code);
-
- this.table.border = 0;
- this.table.cellSpacing = 0;
- this.table.cellPadding = 0;
-
- this.ProcessRegexList();
-
- // if no matches found, add entire code as plain text
- if(this.matches.length == 0)
- {
- this.AddBit(this.code, null);
- this.SwitchToTable();
- return;
- }
-
- // sort the matches
- this.matches = this.matches.sort(dp.sh.Highlighter.SortCallback);
-
- // The following loop checks to see if any of the matches are inside
- // of other matches. This process would get rid of highligting strings
- // inside comments, keywords inside strings and so on.
- for(var i = 0; i < this.matches.length; i++)
- if(this.IsInside(this.matches[i]))
- this.matches[i] = null;
-
- // Finally, go through the final list of matches and pull the all
- // together adding everything in between that isn't a match.
- for(var i = 0; i < this.matches.length; i++)
- {
- var match = this.matches[i];
-
- if(match == null || match.length == 0)
- continue;
-
- this.AddBit(Copy(this.code, pos, match.index), null);
- this.AddBit(match.value, match.css);
-
- pos = match.index + match.length;
- }
-
- this.AddBit(this.code.substr(pos), null);
-
- this.SwitchToTable();
-}
-
-dp.sh.Highlighter.prototype.GetKeywords = function(str)
-{
- return '\\b' + str.replace(/ /g, '\\b|\\b') + '\\b';
-}
-
-// highlightes all elements identified by name and gets source code from
specified property
-dp.sh.HighlightAll = function(name, showGutter /* optional */, showControls /*
optional */, collapseAll /* optional */, firstLine /* optional */)
-{
- function FindValue()
- {
- var a = arguments;
-
- for(var i = 0; i < a.length; i++)
- {
- if(a[i] == null)
- continue;
-
- if(typeof(a[i]) == 'string' && a[i] != '')
- return a[i] + '';
-
- if(typeof(a[i]) == 'object' && a[i].value != '')
- return a[i].value + '';
- }
-
- return null;
- }
-
- function IsOptionSet(value, list)
- {
- for(var i = 0; i < list.length; i++)
- if(list[i] == value)
- return true;
-
- return false;
- }
-
- function GetOptionValue(name, list, defaultValue)
- {
- var regex = new RegExp('^' + name + '\\[(\\w+)\\]$', 'gi');
- var matches = null;
-
- for(var i = 0; i < list.length; i++)
- if((matches = regex.exec(list[i])) != null)
- return matches[1];
-
- return defaultValue;
- }
-
- var elements = document.getElementsByName(name);
- var highlighter = null;
- var registered = new Object();
- var propertyName = 'value';
-
- // if no code blocks found, leave
- if(elements == null)
- return;
-
- // register all brushes
- for(var brush in dp.sh.Brushes)
- {
- var aliases = dp.sh.Brushes[brush].Aliases;
-
- if(aliases == null)
- continue;
-
- for(var i = 0; i < aliases.length; i++)
- registered[aliases[i]] = brush;
- }
-
- for(var i = 0; i < elements.length; i++)
- {
- var element = elements[i];
- var options = FindValue(
- element.attributes['class'], element.className,
- element.attributes['language'], element.language
- );
- var language = '';
-
- if(options == null)
- continue;
-
- options = options.split(':');
-
- language = options[0].toLowerCase();
-
- if(registered[language] == null)
- continue;
-
- // instantiate a brush
- highlighter = new dp.sh.Brushes[registered[language]]();
-
- // hide the original element
- element.style.display = 'none';
-
- highlighter.addGutter = (showGutter == null) ?
!IsOptionSet('nogutter', options) : showGutter;
- highlighter.addControls = (showControls == null) ?
!IsOptionSet('nocontrols', options) : showControls;
- highlighter.collapse = (collapseAll == null) ?
IsOptionSet('collapse', options) : collapseAll;
-
- // first line idea comes from Andrew Collington, thanks!
- highlighter.firstLine = (firstLine == null) ?
parseInt(GetOptionValue('firstline', options, 1)) : firstLine;
-
- highlighter.Highlight(element[propertyName]);
-
- // place the result table inside a div
- var div = document.createElement('DIV');
-
- div.className = 'dp-highlighter';
- div.appendChild(highlighter.table);
-
- element.parentNode.insertBefore(div, element);
- }
-}
-
-
-dp.sh.Brushes.Xml = function()
-{
- this.CssClass = 'dp-xml';
-}
-
-dp.sh.Brushes.Xml.prototype = new dp.sh.Highlighter();
-dp.sh.Brushes.Xml.Aliases = ['xml', 'xhtml', 'xslt', 'html', 'xhtml'];
-
-dp.sh.Brushes.Xml.prototype.ProcessRegexList = function()
-{
- function push(array, value)
- {
- array[array.length] = value;
- }
-
- /* If only there was a way to get index of a group within a match, the
whole XML
- could be matched with the expression looking something like that:
-
- (<!\[CDATA\[\s*.*\s*\]\]>)
- | (<!--\s*.*\s*?-->)
- | (<)*(\w+)*\s*(\w+)\s*=\s*(".*?"|'.*?'|\w+)(/*>)*
- | (</?)(.*?)(/?>)
- */
- var index = 0;
- var match = null;
- var regex = null;
-
- // Match CDATA in the following format <![ ... [ ... ]]>
- // <\!\[[\w\s]*?\[(.|\s)*?\]\]>
- this.GetMatches(new RegExp('<\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\]>',
'gm'), 'cdata');
-
- // Match comments
- // <!--\s*.*\s*?-->
- this.GetMatches(new RegExp('<!--\\s*.*\\s*?-->', 'gm'), 'comments');
-
- // Match attributes and their values
- // (\w+)\s*=\s*(".*?"|\'.*?\'|\w+)*
- regex = new RegExp('([\\w-\.]+)\\s*=\\s*(".*?"|\'.*?\'|\\w+)*', 'gm');
- while((match = regex.exec(this.code)) != null)
- {
- push(this.matches, new dp.sh.Match(match[1], match.index,
'attribute'));
-
- // if xml is invalid and attribute has no property value,
ignore it
- if(match[2] != undefined)
- {
- push(this.matches, new dp.sh.Match(match[2],
match.index + match[0].indexOf(match[2]), 'attribute-value'));
- }
- }
-
- // Match opening and closing tag brackets
- // </*\?*(?!\!)|/*\?*>
- this.GetMatches(new RegExp('</*\\?*(?!\\!)|/*\\?*>', 'gm'), 'tag');
-
- // Match tag names
- // </*\?*\s*(\w+)
- regex = new RegExp('</*\\?*\\s*([\\w-\.]+)', 'gm');
- while((match = regex.exec(this.code)) != null)
- {
- push(this.matches, new dp.sh.Match(match[1], match.index +
match[0].indexOf(match[1]), 'tag-name'));
- }
-}
-
-
-dp.sh.Brushes.Php = function()
-{
- var keywords = 'and or xor __FILE__ __LINE__ array as break case ' +
- 'cfunction class const continue declare
default die do echo else ' +
- 'elseif empty enddeclare endfor
endforeach endif endswitch endwhile eval exit ' +
- 'extends for foreach function global if
include include_once isset list ' +
- 'new old_function print require
require_once return static switch unset use ' +
- 'var while __FUNCTION__ __CLASS__';
-
- this.regexList = [
- { regex: new RegExp('//.*$', 'gm'),
css: 'comment' }, // one line
comments
- { regex: new RegExp('/\\*[\\s\\S]*?\\*/', 'g'),
css: 'comment' }, // multiline comments
- { regex: new RegExp('"(?:[^"\n]|[\"])*?"', 'g'),
css: 'string' }, // double quoted strings
- { regex: new RegExp("'(?:[^'\n]|[\'])*?'", 'g'),
css: 'string' }, // single quoted strings
- { regex: new RegExp('\\$\\w+', 'g'),
css: 'vars' }, // variables
- { regex: new RegExp(this.GetKeywords(keywords), 'gm'),
css: 'keyword' } // keyword
- ];
-
- this.CssClass = 'dp-c';
-}
-
-dp.sh.Brushes.Php.prototype = new dp.sh.Highlighter();
-dp.sh.Brushes.Php.Aliases = ['php'];
-
-
-dp.sh.Brushes.JScript = function()
-{
- var keywords = 'abstract boolean break byte case catch char class
const continue debugger ' +
- 'default delete do double else enum
export extends false final finally float ' +
- 'for function goto if implements import
in instanceof int interface long native ' +
- 'new null package private protected
public return short static super switch ' +
- 'synchronized this throw throws
transient true try typeof var void volatile while with';
-
- this.regexList = [
- { regex: new RegExp('//.*$', 'gm'),
css: 'comment' }, // one line
comments
- { regex: new RegExp('/\\*[\\s\\S]*?\\*/', 'g'),
css: 'comment' }, // multiline comments
- { regex: new RegExp('"(?:[^"\n]|[\"])*?"', 'g'),
css: 'string' }, // double quoted strings
- { regex: new RegExp("'(?:[^'\n]|[\'])*?'", 'g'),
css: 'string' }, // single quoted strings
- { regex: new RegExp('^\\s*#.*', 'gm'),
css: 'preprocessor' }, // preprocessor tags like
#region and #endregion
- { regex: new RegExp(this.GetKeywords(keywords), 'gm'),
css: 'keyword' } // keywords
- ];
-
- this.CssClass = 'dp-c';
-}
-
-dp.sh.Brushes.JScript.prototype = new dp.sh.Highlighter();
-dp.sh.Brushes.JScript.Aliases = ['js', 'jscript', 'javascript'];
-
-dp.sh.Brushes.CSS = function() {
- //Not used yet - added to values
- var tags = 'abbr acronym address applet area a b base basefont bdo big
blockquote body br button ' +
- 'caption center cite code col colgroup dd del dfn dir div dl dt em
fieldset form frame frameset h1 h2 h3 h4 h5 h6 head hr html img i ' +
- 'iframe img input ins isindex kbd label legend li link map menu
meta noframes noscript ol optgroup option p param pre q s samp script select ' +
- 'span strike strong style sub sup table tbody td textarea tfoot th
thead title tr tt ul u';
- var keywords = 'ascent azimuth background-attachment background-color
background-image background-position ' +
- 'background-repeat background baseline bbox
border-collapse border-color border-spacing border-style border-top ' +
- 'border-right border-bottom border-left
border-top-color border-right-color border-bottom-color border-left-color ' +
- 'border-top-style border-right-style
border-bottom-style border-left-style border-top-width border-right-width ' +
- 'border-bottom-width border-left-width border-width
border bottom cap-height caption-side centerline clear clip color ' +
- 'content counter-increment counter-reset cue-after
cue-before cue cursor definition-src descent direction display ' +
- 'elevation empty-cells float font-size-adjust
font-family font-size font-stretch font-style font-variant font-weight font ' +
- 'height letter-spacing line-height list-style-image
list-style-position list-style-type list-style margin-top ' +
- 'margin-right margin-bottom margin-left margin
marker-offset marks mathline max-height max-width min-height min-width orphans
' +
- 'outline-color outline-style outline-width outline
overflow-x overflow-y overflow padding-top padding-right padding-bottom
padding-left padding page ' +
- 'page-break-after page-break-before page-break-inside
pause pause-after pause-before pitch pitch-range play-during position ' +
- 'quotes richness right left bottom top size slope src
speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv
stress ' +
- 'table-layout text-align text-decoration text-indent
text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
- 'vertical-align visibility voice-family volume
white-space widows width widths word-spacing x-height z-index zoom important
after filter opacity';
-
- var values = 'progid:DXImageTransform.Microsoft.AlphaImageLoader src
sizingMethod alpha opacity ' +
- 'above absolute all always aqua armenian attr aural auto avoid
baseline behind below bidi-override black blink block blue bold bolder both
bottom braille capitalize center center-left center-right circle close-quote
code collapse compact condensed '+
- 'continuous counter counters crop cross crosshair
cursive dashed decimal decimal-leading-zero default digits disc dotted double
embed embossed e-resize expanded extra-condensed extra-expanded fantasy
far-left far-right fast faster fixed format fuchsia '+
- 'gray green groove handheld hebrew help hidden hide
high higher inline-table inline inset inside invert italic justify landscape
large larger left-side left leftwards level lighter lime line-through list-item
local loud lower-alpha '+
- 'lowercase lower-greek lower-latin lower-roman lower
low ltr marker maroon medium message-box middle mix move narrower navy
ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize
nw-resize oblique olive once open-quote outset '+
- 'outside overline pointer portrait print projection
purple red relative repeat repeat-x repeat-y rgb ridge right right-side
rightwards rtl run-in screen scroll semi-condensed semi-expanded separate
se-resize show silent silver slower slow '+
- 'small small-caps small-caption smaller soft solid
speech spell-out square s-resize static status-bar sub super sw-resize
table-caption table-cell table-column table-column-group table-footer-group
table-header-group table-row table-row-group teal '+
- 'text-bottom text-top thick thin top transparent tty tv
ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin
upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud
x-low x-slow x-small x-soft xx-large xx-small yellow';
-
-
- this.regexList = [
- { regex: new RegExp('//.*$', 'gm'),
css: 'comment' }, // one line
comments
- { regex: new RegExp('/\\*[\\s\\S]*?\\*/', 'g'),
css: 'comment' }, // multiline comments
- { regex: new RegExp('"(?:[^"\n]|[\"])*?"', 'g'),
css: 'string' }, // double quoted strings
- { regex: new RegExp("'(?:[^'\n]|[\'])*?'", 'g'),
css: 'string' }, // single quoted strings
- { regex: new RegExp('^\\s*.*{', 'gm'),
css: 'preprocessor' }, // everything before a {
- { regex: new RegExp('}', 'gm'),
css: 'preprocessor' }, // The }
- { regex: new RegExp(this.GetKeywordsCSS(keywords), 'gm'),
css: 'keyword' }, // keywords
- { regex: new RegExp(this.GetValuesCSS(values), 'gm'),
css: 'value' }, // values
- { regex: new RegExp('(-?\\d+)(\.\\d+)?(px|em|pt|\:|\%|)', 'g'), css:
'value' } //Sizes
- ];
- //Not used any more
- /*
- { regex: new RegExp('(-?\\d+)(\.\\d+)', 'g'), css: 'value' },
//Plain Numbers
- { regex: new RegExp('(0(?=;))', 'g'), css: 'value' } //Number 0
- { regex: new RegExp('\([.]\)', 'gm'), css:
'string' }, // Things in parenthesis
- { regex: new RegExp('\\#[a-zA-Z0-9]{3,6}', 'g'), css:
'colors' }, // html colors
- { regex: new RegExp(this.GetKeywords(tags), 'g'),
css: 'tags' }, // keywords
- */
-
- this.CssClass = 'dp-css';
-}
-dp.sh.Highlighter.prototype.GetKeywordsCSS = function(str) {
- //var str = '\\b' + str.replace(/ /g, '(?=:)\\b|\\b') + '\:\\b';
- var str = '\\b([a-z_]|)' + str.replace(/ /g,
'(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b';
- //console.log(str);
- return str;
-}
-dp.sh.Highlighter.prototype.GetValuesCSS = function(str) {
- var str = '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b';
- //console.log(str);
- return str;
-}
-
-dp.sh.Brushes.CSS.prototype = new dp.sh.Highlighter();
-dp.sh.Brushes.CSS.Aliases = ['css'];
-
-
-
Deleted: trunk/phpgwapi/js/yahoo/assets/example-hd-bg.gif
===================================================================
(Binary files differ)
Modified: trunk/phpgwapi/js/yahoo/assets/skins/sam/autocomplete.css
===================================================================
--- trunk/phpgwapi/js/yahoo/assets/skins/sam/autocomplete.css 2010-11-16
15:02:12 UTC (rev 6602)
+++ trunk/phpgwapi/js/yahoo/assets/skins/sam/autocomplete.css 2010-11-16
21:18:12 UTC (rev 6603)
@@ -2,6 +2,6 @@
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
-version: 2.8.1
+version: 2.8.2r1
*/
.yui-skin-sam
.yui-ac{position:relative;font-family:arial;font-size:100%;}.yui-skin-sam
.yui-ac-input{position:absolute;width:100%;}.yui-skin-sam
.yui-ac-container{position:absolute;top:1.6em;width:100%;}.yui-skin-sam
.yui-ac-content{position:absolute;width:100%;border:1px solid
#808080;background:#fff;overflow:hidden;z-index:9050;}.yui-skin-sam
.yui-ac-shadow{position:absolute;margin:.3em;width:100%;background:#000;-moz-opacity:.10;opacity:.10;filter:alpha(opacity=10);z-index:9049;}.yui-skin-sam
.yui-ac
iframe{opacity:0;filter:alpha(opacity=0);padding-right:.3em;padding-bottom:.3em;}.yui-skin-sam
.yui-ac-content ul{margin:0;padding:0;width:100%;}.yui-skin-sam
.yui-ac-content li{margin:0;padding:2px
5px;cursor:default;white-space:nowrap;list-style:none;zoom:1;}.yui-skin-sam
.yui-ac-content li.yui-ac-prehighlight{background:#B3D4FF;}.yui-skin-sam
.yui-ac-content li.yui-ac-highlight{background:#426FD9;color:#FFF;}
Modified: trunk/phpgwapi/js/yahoo/assets/skins/sam/button.css
===================================================================
--- trunk/phpgwapi/js/yahoo/assets/skins/sam/button.css 2010-11-16 15:02:12 UTC
(rev 6602)
+++ trunk/phpgwapi/js/yahoo/assets/skins/sam/button.css 2010-11-16 21:18:12 UTC
(rev 6603)
@@ -2,6 +2,6 @@
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
-version: 2.8.1
+version: 2.8.2r1
*/
.yui-button{display:-moz-inline-box;display:inline-block;vertical-align:text-bottom;}.yui-button
.first-child{display:block;*display:inline-block;}.yui-button
button,.yui-button
a{display:block;*display:inline-block;border:none;margin:0;}.yui-button
button{background-color:transparent;*overflow:visible;cursor:pointer;}.yui-button
a{text-decoration:none;}.yui-skin-sam .yui-button{border-width:1px
0;border-style:solid;border-color:#808080;background:url(sprite.png) repeat-x 0
0;margin:auto .25em;}.yui-skin-sam .yui-button .first-child{border-width:0
1px;border-style:solid;border-color:#808080;margin:0
-1px;_margin:0;}.yui-skin-sam .yui-button button,.yui-skin-sam .yui-button
a,.yui-skin-sam .yui-button a:visited{padding:0
10px;font-size:93%;line-height:2;*line-height:1.7;min-height:2em;*min-height:auto;color:#000;}.yui-skin-sam
.yui-button a{*line-height:1.875;*padding-bottom:1px;}.yui-skin-sam
.yui-split-button button,.yui-skin-sam .yui-menu-button
button{padding-right:20px;background-position:right
center;background-repeat:no-repeat;}.yui-skin-sam .yui-menu-button
button{background-image:url(menu-button-arrow.png);}.yui-skin-sam
.yui-split-button
button{background-image:url(split-button-arrow.png);}.yui-skin-sam
.yui-button-focus{border-color:#7D98B8;background-position:0
-1300px;}.yui-skin-sam .yui-button-focus
.first-child{border-color:#7D98B8;}.yui-skin-sam .yui-split-button-focus
button{background-image:url(split-button-arrow-focus.png);}.yui-skin-sam
.yui-button-hover{border-color:#7D98B8;background-position:0
-1300px;}.yui-skin-sam .yui-button-hover
.first-child{border-color:#7D98B8;}.yui-skin-sam .yui-split-button-hover
button{background-image:url(split-button-arrow-hover.png);}.yui-skin-sam
.yui-button-active{border-color:#7D98B8;background-position:0
-1700px;}.yui-skin-sam .yui-button-active
.first-child{border-color:#7D98B8;}.yui-skin-sam
.yui-split-button-activeoption{border-color:#808080;background-position:0
0;}.yui-skin-sam .yui-split-button-activeoption
.first-child{border-color:#808080;}.yui-skin-sam .yui-split-button-activeoption
button{background-image:url(split-button-arrow-active.png);}.yui-skin-sam
.yui-radio-button-checked,.yui-skin-sam
.yui-checkbox-button-checked{border-color:#304369;background-position:0
-1400px;}.yui-skin-sam .yui-radio-button-checked .first-child,.yui-skin-sam
.yui-checkbox-button-checked .first-child{border-color:#304369;}.yui-skin-sam
.yui-radio-button-checked button,.yui-skin-sam .yui-checkbox-button-checked
button{color:#fff;}.yui-skin-sam
.yui-button-disabled{border-color:#ccc;background-position:0
-1500px;}.yui-skin-sam .yui-button-disabled
.first-child{border-color:#ccc;}.yui-skin-sam .yui-button-disabled
button,.yui-skin-sam .yui-button-disabled a,.yui-skin-sam .yui-button-disabled
a:visited{color:#A6A6A6;cursor:default;}.yui-skin-sam .yui-menu-button-disabled
button{background-image:url(menu-button-arrow-disabled.png);}.yui-skin-sam
.yui-split-button-disabled
button{background-image:url(split-button-arrow-disabled.png);}
Modified: trunk/phpgwapi/js/yahoo/assets/skins/sam/calendar.css
===================================================================
--- trunk/phpgwapi/js/yahoo/assets/skins/sam/calendar.css 2010-11-16
15:02:12 UTC (rev 6602)
+++ trunk/phpgwapi/js/yahoo/assets/skins/sam/calendar.css 2010-11-16
21:18:12 UTC (rev 6603)
@@ -2,7 +2,7 @@
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
-version: 2.8.1
+version: 2.8.2r1
*/
.yui-calcontainer{position:relative;float:left;_overflow:hidden;}.yui-calcontainer
iframe{position:absolute;border:none;margin:0;padding:0;z-index:0;width:100%;height:100%;left:0;top:0;}.yui-calcontainer
iframe.fixedsize{width:50em;height:50em;top:-1px;left:-1px;}.yui-calcontainer.multi
.groupcal{z-index:1;float:left;position:relative;}.yui-calcontainer
.title{position:relative;z-index:1;}.yui-calcontainer
.close-icon{position:absolute;z-index:1;text-indent:-10000em;overflow:hidden;}.yui-calendar{position:relative;}.yui-calendar
.calnavleft{position:absolute;z-index:1;text-indent:-10000em;overflow:hidden;}.yui-calendar
.calnavright{position:absolute;z-index:1;text-indent:-10000em;overflow:hidden;}.yui-calendar
.calheader{position:relative;width:100%;text-align:center;}.yui-calcontainer
.yui-cal-nav-mask{position:absolute;z-index:2;margin:0;padding:0;width:100%;height:100%;_width:0;_height:0;left:0;top:0;display:none;}.yui-calcontainer
.yui-cal-nav{position:absolute;z-index:3;top:0;display:none;}.yui-calcontainer
.yui-cal-nav
.yui-cal-nav-btn{display:-moz-inline-box;display:inline-block;}.yui-calcontainer
.yui-cal-nav .yui-cal-nav-btn
button{display:block;*display:inline-block;*overflow:visible;border:none;background-color:transparent;cursor:pointer;}.yui-calendar
.calbody
a:hover{background:inherit;}p#clear{clear:left;padding-top:10px;}.yui-skin-sam
.yui-calcontainer{background-color:#f2f2f2;border:1px solid
#808080;padding:10px;}.yui-skin-sam .yui-calcontainer.multi{padding:0 5px 0
5px;}.yui-skin-sam .yui-calcontainer.multi
.groupcal{background-color:transparent;border:none;padding:10px 5px 10px
5px;margin:0;}.yui-skin-sam .yui-calcontainer .title{background:url(sprite.png)
repeat-x 0 0;border-bottom:1px solid #ccc;font:100%
sans-serif;color:#000;font-weight:bold;height:auto;padding:.4em;margin:0 -10px
10px -10px;top:0;left:0;text-align:left;}.yui-skin-sam .yui-calcontainer.multi
.title{margin:0 -5px 0 -5px;}.yui-skin-sam
.yui-calcontainer.withtitle{padding-top:0;}.yui-skin-sam .yui-calcontainer
.calclose{background:url(sprite.png) no-repeat 0
-300px;width:25px;height:15px;top:.4em;right:.4em;cursor:pointer;}.yui-skin-sam
.yui-calendar{border-spacing:0;border-collapse:collapse;font:100%
sans-serif;text-align:center;margin:0;}.yui-skin-sam .yui-calendar
.calhead{background:transparent;border:none;vertical-align:middle;padding:0;}.yui-skin-sam
.yui-calendar .calheader{background:transparent;font-weight:bold;padding:0 0
.6em 0;text-align:center;}.yui-skin-sam .yui-calendar .calheader
img{border:none;}.yui-skin-sam .yui-calendar
.calnavleft{background:url(sprite.png) no-repeat 0
-450px;width:25px;height:15px;top:0;bottom:0;left:-10px;margin-left:.4em;cursor:pointer;}.yui-skin-sam
.yui-calendar .calnavright{background:url(sprite.png) no-repeat 0
-500px;width:25px;height:15px;top:0;bottom:0;right:-10px;margin-right:.4em;cursor:pointer;}.yui-skin-sam
.yui-calendar .calweekdayrow{height:2em;}.yui-skin-sam .yui-calendar
.calweekdayrow th{padding:0;border:none;}.yui-skin-sam .yui-calendar
.calweekdaycell{color:#000;font-weight:bold;text-align:center;width:2em;}.yui-skin-sam
.yui-calendar .calfoot{background-color:#f2f2f2;}.yui-skin-sam .yui-calendar
.calrowhead,.yui-skin-sam .yui-calendar
.calrowfoot{color:#a6a6a6;font-size:85%;font-style:normal;font-weight:normal;border:none;}.yui-skin-sam
.yui-calendar .calrowhead{text-align:right;padding:0 2px 0 0;}.yui-skin-sam
.yui-calendar .calrowfoot{text-align:left;padding:0 0 0 2px;}.yui-skin-sam
.yui-calendar td.calcell{border:1px solid
#ccc;background:#fff;padding:1px;height:1.6em;line-height:1.6em;text-align:center;white-space:nowrap;}.yui-skin-sam
.yui-calendar td.calcell
a{color:#06c;display:block;height:100%;text-decoration:none;}.yui-skin-sam
.yui-calendar td.calcell.today{background-color:#000;}.yui-skin-sam
.yui-calendar td.calcell.today a{background-color:#fff;}.yui-skin-sam
.yui-calendar
td.calcell.oom{background-color:#ccc;color:#a6a6a6;cursor:default;}.yui-skin-sam
.yui-calendar
td.calcell.selected{background-color:#fff;color:#000;}.yui-skin-sam
.yui-calendar td.calcell.selected
a{background-color:#b3d4ff;color:#000;}.yui-skin-sam .yui-calendar
td.calcell.calcellhover{background-color:#426fd9;color:#fff;cursor:pointer;}.yui-skin-sam
.yui-calendar td.calcell.calcellhover
a{background-color:#426fd9;color:#fff;}.yui-skin-sam .yui-calendar
td.calcell.previous{color:#e0e0e0;}.yui-skin-sam .yui-calendar
td.calcell.restricted{text-decoration:line-through;}.yui-skin-sam .yui-calendar
td.calcell.highlight1{background-color:#cf9;}.yui-skin-sam .yui-calendar
td.calcell.highlight2{background-color:#9cf;}.yui-skin-sam .yui-calendar
td.calcell.highlight3{background-color:#fcc;}.yui-skin-sam .yui-calendar
td.calcell.highlight4{background-color:#cf9;}.yui-skin-sam .yui-calendar
a.calnav{border:1px solid #f2f2f2;padding:0
4px;text-decoration:none;color:#000;zoom:1;}.yui-skin-sam .yui-calendar
a.calnav:hover{background:url(sprite.png) repeat-x 0
0;border-color:#A0A0A0;cursor:pointer;}.yui-skin-sam .yui-calcontainer
.yui-cal-nav-mask{background-color:#000;opacity:.25;filter:alpha(opacity=25);}.yui-skin-sam
.yui-calcontainer
.yui-cal-nav{font-family:arial,helvetica,clean,sans-serif;font-size:93%;border:1px
solid
#808080;left:50%;margin-left:-7em;width:14em;padding:0;top:2.5em;background-color:#f2f2f2;}.yui-skin-sam
.yui-calcontainer.withtitle .yui-cal-nav{top:4.5em;}.yui-skin-sam
.yui-calcontainer.multi .yui-cal-nav{width:16em;margin-left:-8em;}.yui-skin-sam
.yui-calcontainer .yui-cal-nav-y,.yui-skin-sam .yui-calcontainer
.yui-cal-nav-m,.yui-skin-sam .yui-calcontainer .yui-cal-nav-b{padding:5px 10px
5px 10px;}.yui-skin-sam .yui-calcontainer
.yui-cal-nav-b{text-align:center;}.yui-skin-sam .yui-calcontainer
.yui-cal-nav-e{margin-top:5px;padding:5px;background-color:#EDF5FF;border-top:1px
solid black;display:none;}.yui-skin-sam .yui-calcontainer .yui-cal-nav
label{display:block;font-weight:bold;}
.yui-skin-sam .yui-calcontainer
.yui-cal-nav-mc{width:100%;_width:auto;}.yui-skin-sam .yui-calcontainer
.yui-cal-nav-y input.yui-invalid{background-color:#FFEE69;border:1px solid
#000;}.yui-skin-sam .yui-calcontainer .yui-cal-nav-yc{width:4em;}.yui-skin-sam
.yui-calcontainer .yui-cal-nav .yui-cal-nav-btn{border:1px solid
#808080;background:url(sprite.png) repeat-x 0
0;background-color:#ccc;margin:auto .15em;}.yui-skin-sam .yui-calcontainer
.yui-cal-nav .yui-cal-nav-btn button{padding:0
8px;font-size:93%;line-height:2;*line-height:1.7;min-height:2em;*min-height:auto;color:#000;}.yui-skin-sam
.yui-calcontainer .yui-cal-nav .yui-cal-nav-btn.yui-default{border:1px solid
#304369;background-color:#426fd9;background:url(sprite.png) repeat-x 0
-1400px;}.yui-skin-sam .yui-calcontainer .yui-cal-nav
.yui-cal-nav-btn.yui-default button{color:#fff;}
Modified: trunk/phpgwapi/js/yahoo/assets/skins/sam/carousel.css
===================================================================
--- trunk/phpgwapi/js/yahoo/assets/skins/sam/carousel.css 2010-11-16
15:02:12 UTC (rev 6602)
+++ trunk/phpgwapi/js/yahoo/assets/skins/sam/carousel.css 2010-11-16
21:18:12 UTC (rev 6603)
@@ -2,6 +2,6 @@
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
-version: 2.8.1
+version: 2.8.2r1
*/
.yui-carousel{visibility:hidden;overflow:hidden;position:relative;text-align:left;zoom:1;}.yui-carousel.yui-carousel-visible{visibility:visible;}.yui-carousel-content{overflow:hidden;position:relative;text-align:center;}.yui-carousel-element
li{border:1px solid
#ccc;list-style:none;margin:1px;overflow:hidden;padding:0;position:absolute;text-align:center;}.yui-carousel-vertical
.yui-carousel-element li{display:block;float:none;}.yui-log
.carousel{background:#f2e886;}.yui-carousel-nav{zoom:1;}.yui-carousel-nav:after{content:".";display:block;height:0;clear:both;visibility:hidden;}.yui-carousel-button-focus{outline:1px
dotted
#000;}.yui-carousel-min-width{min-width:115px;}.yui-carousel-element{overflow:hidden;position:relative;margin:0
auto;padding:0;text-align:left;*margin:0;}.yui-carousel-horizontal
.yui-carousel-element{width:320000px;}.yui-carousel-vertical
.yui-carousel-element{height:320000px;}.yui-skin-sam .yui-carousel-nav
select{position:static;}.yui-carousel .yui-carousel-item-selected{border:1px
dashed #000;margin:1px;}.yui-skin-sam .yui-carousel,.yui-skin-sam
.yui-carousel-vertical{border:1px solid #808080;}.yui-skin-sam
.yui-carousel-nav{background:url(sprite.png) repeat-x 0
0;padding:3px;text-align:right;}.yui-skin-sam
.yui-carousel-button{background:url(sprite.png) no-repeat 0
-600px;float:right;height:19px;margin:5px;overflow:hidden;width:40px;}.yui-skin-sam
.yui-carousel-vertical .yui-carousel-button{background-position:0
-800px;}.yui-skin-sam .yui-carousel-button-disabled{background-position:0
-2000px;}.yui-skin-sam .yui-carousel-vertical
.yui-carousel-button-disabled{background-position:0 -2100px;}.yui-skin-sam
.yui-carousel-button input,.yui-skin-sam .yui-carousel-button
button{background-color:transparent;border:0;cursor:pointer;display:block;height:44px;margin:-2px
0 0 -2px;padding:0 0 0 50px;}.yui-skin-sam
span.yui-carousel-first-button{background-position:0
-550px;margin-left:-100px;margin-right:50px;*margin:5px 5px 5px
-90px;}.yui-skin-sam .yui-carousel-vertical
span.yui-carousel-first-button{background-position:0 -750px;}.yui-skin-sam
span.yui-carousel-first-button-disabled{background-position:0
-1950px;}.yui-skin-sam .yui-carousel-vertical
span.yui-carousel-first-button-disabled{background-position:0
-2050px;}.yui-skin-sam .yui-carousel-nav
ul{float:right;height:19px;margin:0;margin-left:-220px;margin-right:100px;*margin-left:-160px;*margin-right:0;padding:0;}.yui-skin-sam
.yui-carousel-min-width .yui-carousel-nav
ul{*margin-left:-170px;}.yui-skin-sam .yui-carousel-nav
select{position:relative;*right:50px;top:4px;}.yui-skin-sam
.yui-carousel-vertical .yui-carousel-nav select{position:static;}.yui-skin-sam
.yui-carousel-vertical .yui-carousel-nav ul,.yui-skin-sam
.yui-carousel-vertical .yui-carousel-nav
select{float:none;margin:0;*zoom:1;}.yui-skin-sam .yui-carousel-nav ul
li{background:url(sprite.png) no-repeat 0
-650px;cursor:pointer;float:left;height:9px;list-style:none;margin:10px 0 0
5px;overflow:hidden;padding:0;width:9px;}.yui-skin-sam .yui-carousel-nav
ul:after{content:".";display:block;height:0;clear:both;visibility:hidden;}.yui-skin-sam
.yui-carousel-nav ul li
a{display:block;width:100%;height:100%;text-indent:-10000px;text-align:left;overflow:hidden;}.yui-skin-sam
.yui-carousel-nav ul li.yui-carousel-nav-page-focus{outline:1px dotted
#000;}.yui-skin-sam .yui-carousel-nav ul
li.yui-carousel-nav-page-selected{background-position:0 -700px;}.yui-skin-sam
.yui-carousel-item-loading{background:url(ajax-loader.gif) no-repeat 50%
50%;position:absolute;text-indent:-150px;}
Modified: trunk/phpgwapi/js/yahoo/assets/skins/sam/colorpicker.css
===================================================================
--- trunk/phpgwapi/js/yahoo/assets/skins/sam/colorpicker.css 2010-11-16
15:02:12 UTC (rev 6602)
+++ trunk/phpgwapi/js/yahoo/assets/skins/sam/colorpicker.css 2010-11-16
21:18:12 UTC (rev 6603)
@@ -2,6 +2,6 @@
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
-version: 2.8.1
+version: 2.8.2r1
*/
.yui-picker-panel{background:#e3e3e3;border-color:#888;}.yui-picker-panel
.hd{background-color:#ccc;font-size:100%;line-height:100%;border:1px solid
#e3e3e3;font-weight:bold;overflow:hidden;padding:6px;color:#000;}.yui-picker-panel
.bd{background:#e8e8e8;margin:1px;height:200px;}.yui-picker-panel
.ft{background:#e8e8e8;margin:1px;padding:1px;}.yui-picker{position:relative;}.yui-picker-hue-thumb{cursor:default;width:18px;height:18px;top:-8px;left:-2px;z-index:9;position:absolute;}.yui-picker-hue-bg{-moz-outline:none;outline:0
none;position:absolute;left:200px;height:183px;width:14px;background:url(hue_bg.png)
no-repeat;top:4px;}.yui-picker-bg{-moz-outline:none;outline:0
none;position:absolute;top:4px;left:4px;height:182px;width:182px;background-color:#F00;background-image:url(picker_mask.png);}*html
.yui-picker-bg{background-image:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../build/colorpicker/assets/picker_mask.png',sizingMethod='scale');}.yui-picker-mask{position:absolute;z-index:1;top:0;left:0;}.yui-picker-thumb{cursor:default;width:11px;height:11px;z-index:9;position:absolute;top:-4px;left:-4px;}.yui-picker-swatch{position:absolute;left:240px;top:4px;height:60px;width:55px;border:1px
solid
#888;}.yui-picker-websafe-swatch{position:absolute;left:304px;top:4px;height:24px;width:24px;border:1px
solid
#888;}.yui-picker-controls{position:absolute;top:72px;left:226px;font:1em
monospace;}.yui-picker-controls
.hd{background:transparent;border-width:0!important;}.yui-picker-controls
.bd{height:100px;border-width:0!important;}.yui-picker-controls
ul{float:left;padding:0 2px 0 0;margin:0;}.yui-picker-controls
li{padding:2px;list-style:none;margin:0;}.yui-picker-controls
input{font-size:.85em;width:2.4em;}.yui-picker-hex-controls{clear:both;padding:2px;}.yui-picker-hex-controls
input{width:4.6em;}.yui-picker-controls a{font:1em
arial,helvetica,clean,sans-serif;display:block;*display:inline-block;padding:0;color:#000;}
Modified: trunk/phpgwapi/js/yahoo/assets/skins/sam/container.css
===================================================================
--- trunk/phpgwapi/js/yahoo/assets/skins/sam/container.css 2010-11-16
15:02:12 UTC (rev 6602)
+++ trunk/phpgwapi/js/yahoo/assets/skins/sam/container.css 2010-11-16
21:18:12 UTC (rev 6603)
@@ -2,6 +2,6 @@
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
-version: 2.8.1
+version: 2.8.2r1
*/
.yui-overlay,.yui-panel-container{visibility:hidden;position:absolute;z-index:2;}.yui-panel{position:relative;}.yui-panel-container
form{margin:0;}.mask{z-index:1;display:none;position:absolute;top:0;left:0;right:0;bottom:0;}.mask.block-scrollbars{overflow:auto;}.masked
select,.drag select,.hide-select
select{_visibility:hidden;}.yui-panel-container
select{_visibility:inherit;}.hide-scrollbars,.hide-scrollbars
*{overflow:hidden;}.hide-scrollbars
select{display:none;}.show-scrollbars{overflow:auto;}.yui-panel-container.show-scrollbars,.yui-tt.show-scrollbars{overflow:visible;}.yui-panel-container.show-scrollbars
.underlay,.yui-tt.show-scrollbars
.yui-tt-shadow{overflow:auto;}.yui-panel-container.shadow
.underlay.yui-force-redraw{padding-bottom:1px;}.yui-effect-fade
.underlay,.yui-effect-fade
.yui-tt-shadow{display:none;}.yui-tt-shadow{position:absolute;}.yui-override-padding{padding:0!important;}.yui-panel-container
.container-close{overflow:hidden;text-indent:-10000em;text-decoration:none;}.yui-overlay.yui-force-redraw,.yui-panel-container.yui-force-redraw{margin-bottom:1px;}.yui-skin-sam
.mask{background-color:#000;opacity:.25;filter:alpha(opacity=25);}.yui-skin-sam
.yui-panel-container{padding:0 1px;*padding:2px;}.yui-skin-sam
.yui-panel{position:relative;left:0;top:0;border-style:solid;border-width:1px
0;border-color:#808080;z-index:1;*border-width:1px;*zoom:1;_zoom:normal;}.yui-skin-sam
.yui-panel .hd,.yui-skin-sam .yui-panel .bd,.yui-skin-sam .yui-panel
.ft{border-style:solid;border-width:0 1px;border-color:#808080;margin:0
-1px;*margin:0;*border:0;}.yui-skin-sam .yui-panel .hd{border-bottom:solid 1px
#ccc;}.yui-skin-sam .yui-panel .bd,.yui-skin-sam .yui-panel
.ft{background-color:#F2F2F2;}.yui-skin-sam .yui-panel .hd{padding:0
10px;font-size:93%;line-height:2;*line-height:1.9;font-weight:bold;color:#000;background:url(sprite.png)
repeat-x 0 -200px;}.yui-skin-sam .yui-panel .bd{padding:10px;}.yui-skin-sam
.yui-panel .ft{border-top:solid 1px #808080;padding:5px
10px;font-size:77%;}.yui-skin-sam
.container-close{position:absolute;top:5px;right:6px;width:25px;height:15px;background:url(sprite.png)
no-repeat 0 -300px;cursor:pointer;}.yui-skin-sam .yui-panel-container
.underlay{right:-1px;left:-1px;}.yui-skin-sam
.yui-panel-container.matte{padding:9px
10px;background-color:#fff;}.yui-skin-sam
.yui-panel-container.shadow{_padding:2px 4px 0 2px;}.yui-skin-sam
.yui-panel-container.shadow
.underlay{position:absolute;top:2px;left:-3px;right:-3px;bottom:-3px;*top:4px;*left:-1px;*right:-1px;*bottom:-1px;_top:0;_left:0;_right:0;_bottom:0;_margin-top:3px;_margin-left:-1px;background-color:#000;opacity:.12;filter:alpha(opacity=12);}.yui-skin-sam
.yui-dialog .ft{border-top:none;padding:0 10px 10px
10px;font-size:100%;}.yui-skin-sam .yui-dialog .ft
.button-group{display:block;text-align:right;}.yui-skin-sam .yui-dialog .ft
button.default{font-weight:bold;}.yui-skin-sam .yui-dialog .ft
span.default{border-color:#304369;background-position:0 -1400px;}.yui-skin-sam
.yui-dialog .ft span.default .first-child{border-color:#304369;}.yui-skin-sam
.yui-dialog .ft span.default button{color:#fff;}.yui-skin-sam .yui-dialog .ft
span.yui-button-disabled{background-position:0
-1500px;border-color:#ccc;}.yui-skin-sam .yui-dialog .ft
span.yui-button-disabled .first-child{border-color:#ccc;}.yui-skin-sam
.yui-dialog .ft span.yui-button-disabled button{color:#a6a6a6;}.yui-skin-sam
.yui-simple-dialog .bd .yui-icon{background:url(sprite.png) no-repeat 0
0;width:16px;height:16px;margin-right:10px;float:left;}.yui-skin-sam
.yui-simple-dialog .bd span.blckicon{background-position:0
-1100px;}.yui-skin-sam .yui-simple-dialog .bd
span.alrticon{background-position:0 -1050px;}.yui-skin-sam .yui-simple-dialog
.bd span.hlpicon{background-position:0 -1150px;}.yui-skin-sam
.yui-simple-dialog .bd span.infoicon{background-position:0
-1200px;}.yui-skin-sam .yui-simple-dialog .bd
span.warnicon{background-position:0 -1900px;}.yui-skin-sam .yui-simple-dialog
.bd span.tipicon{background-position:0 -1250px;}.yui-skin-sam .yui-tt
.bd{position:relative;top:0;left:0;z-index:1;color:#000;padding:2px
5px;border-color:#D4C237 #A6982B #A6982B
#A6982B;border-width:1px;border-style:solid;background-color:#FFEE69;}.yui-skin-sam
.yui-tt.show-scrollbars .bd{overflow:auto;}.yui-skin-sam
.yui-tt-shadow{top:2px;right:-3px;left:-3px;bottom:-3px;background-color:#000;}.yui-skin-sam
.yui-tt-shadow-visible{opacity:.12;filter:alpha(opacity=12);}
Modified: trunk/phpgwapi/js/yahoo/assets/skins/sam/datatable.css
===================================================================
--- trunk/phpgwapi/js/yahoo/assets/skins/sam/datatable.css 2010-11-16
15:02:12 UTC (rev 6602)
+++ trunk/phpgwapi/js/yahoo/assets/skins/sam/datatable.css 2010-11-16
21:18:12 UTC (rev 6603)
@@ -2,7 +2,7 @@
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
-version: 2.8.1
+version: 2.8.2r1
*/
.yui-skin-sam
.yui-dt-mask{position:absolute;z-index:9500;}.yui-dt-tmp{position:absolute;left:-9000px;}.yui-dt-scrollable
.yui-dt-bd{overflow:auto;}.yui-dt-scrollable
.yui-dt-hd{overflow:hidden;position:relative;}.yui-dt-scrollable .yui-dt-bd
thead tr,.yui-dt-scrollable .yui-dt-bd thead
th{position:absolute;left:-1500px;}.yui-dt-scrollable
tbody{-moz-outline:none;}.yui-skin-sam thead
.yui-dt-sortable{cursor:pointer;}.yui-skin-sam thead
.yui-dt-draggable{cursor:move;}.yui-dt-coltarget{position:absolute;z-index:999;}.yui-dt-hd{zoom:1;}th.yui-dt-resizeable
.yui-dt-resizerliner{position:relative;}.yui-dt-resizer{position:absolute;right:0;bottom:0;height:100%;cursor:e-resize;cursor:col-resize;background-color:#CCC;opacity:0;filter:alpha(opacity=0);}.yui-dt-resizerproxy{visibility:hidden;position:absolute;z-index:9000;background-color:#CCC;opacity:0;filter:alpha(opacity=0);}th.yui-dt-hidden
.yui-dt-liner,td.yui-dt-hidden .yui-dt-liner,th.yui-dt-hidden
.yui-dt-resizer{display:none;}.yui-dt-editor{position:absolute;z-index:9000;}.yui-skin-sam
.yui-dt
table{margin:0;padding:0;font-family:arial;font-size:inherit;border-collapse:separate;*border-collapse:collapse;border-spacing:0;border:1px
solid #7F7F7F;}.yui-skin-sam .yui-dt thead{border-spacing:0;}.yui-skin-sam
.yui-dt
caption{color:#000;font-size:85%;font-weight:normal;font-style:italic;line-height:1;padding:1em
0;text-align:center;}.yui-skin-sam .yui-dt th{background:#D8D8DA
url(sprite.png) repeat-x 0 0;}.yui-skin-sam .yui-dt th,.yui-skin-sam .yui-dt th
a{font-weight:normal;text-decoration:none;color:#000;vertical-align:bottom;}.yui-skin-sam
.yui-dt th{margin:0;padding:0;border:none;border-right:1px solid
#CBCBCB;}.yui-skin-sam .yui-dt tr.yui-dt-first td{border-top:1px solid
#7F7F7F;}.yui-skin-sam .yui-dt th
.yui-dt-liner{white-space:nowrap;}.yui-skin-sam
.yui-dt-liner{margin:0;padding:0;padding:4px 10px 4px 10px;}.yui-skin-sam
.yui-dt-coltarget{width:5px;background-color:red;}.yui-skin-sam .yui-dt
td{margin:0;padding:0;border:none;border-right:1px solid
#CBCBCB;text-align:left;}.yui-skin-sam .yui-dt-list
td{border-right:none;}.yui-skin-sam .yui-dt-resizer{width:6px;}.yui-skin-sam
.yui-dt-mask{background-color:#000;opacity:.25;filter:alpha(opacity=25);}.yui-skin-sam
.yui-dt-message{background-color:#FFF;}.yui-skin-sam .yui-dt-scrollable
table{border:none;}.yui-skin-sam .yui-dt-scrollable .yui-dt-hd{border-left:1px
solid #7F7F7F;border-top:1px solid #7F7F7F;border-right:1px solid
#7F7F7F;}.yui-skin-sam .yui-dt-scrollable .yui-dt-bd{border-left:1px solid
#7F7F7F;border-bottom:1px solid #7F7F7F;border-right:1px solid
#7F7F7F;background-color:#FFF;}.yui-skin-sam .yui-dt-scrollable .yui-dt-data
tr.yui-dt-last td{border-bottom:1px solid #7F7F7F;}.yui-skin-sam
th.yui-dt-asc,.yui-skin-sam th.yui-dt-desc{background:url(sprite.png) repeat-x
0 -100px;}.yui-skin-sam th.yui-dt-sortable
.yui-dt-label{margin-right:10px;}.yui-skin-sam th.yui-dt-asc
.yui-dt-liner{background:url(dt-arrow-up.png) no-repeat right;}.yui-skin-sam
th.yui-dt-desc .yui-dt-liner{background:url(dt-arrow-dn.png) no-repeat
right;}tbody
.yui-dt-editable{cursor:pointer;}.yui-dt-editor{text-align:left;background-color:#F2F2F2;border:1px
solid #808080;padding:6px;}.yui-dt-editor
label{padding-left:4px;padding-right:6px;}.yui-dt-editor
.yui-dt-button{padding-top:6px;text-align:right;}.yui-dt-editor .yui-dt-button
button{background:url(sprite.png) repeat-x 0 0;border:1px solid
#999;width:4em;height:1.8em;margin-left:6px;}.yui-dt-editor .yui-dt-button
button.yui-dt-default{background:url(sprite.png) repeat-x 0
-1400px;background-color:#5584E0;border:1px solid
#304369;color:#FFF;}.yui-dt-editor .yui-dt-button
button:hover{background:url(sprite.png) repeat-x 0
-1300px;color:#000;}.yui-dt-editor .yui-dt-button
button:active{background:url(sprite.png) repeat-x 0
-1700px;color:#000;}.yui-skin-sam
tr.yui-dt-even{background-color:#FFF;}.yui-skin-sam
tr.yui-dt-odd{background-color:#EDF5FF;}.yui-skin-sam tr.yui-dt-even
td.yui-dt-asc,.yui-skin-sam tr.yui-dt-even
td.yui-dt-desc{background-color:#EDF5FF;}.yui-skin-sam tr.yui-dt-odd
td.yui-dt-asc,.yui-skin-sam tr.yui-dt-odd
td.yui-dt-desc{background-color:#DBEAFF;}.yui-skin-sam .yui-dt-list
tr.yui-dt-even{background-color:#FFF;}.yui-skin-sam .yui-dt-list
tr.yui-dt-odd{background-color:#FFF;}.yui-skin-sam .yui-dt-list tr.yui-dt-even
td.yui-dt-asc,.yui-skin-sam .yui-dt-list tr.yui-dt-even
td.yui-dt-desc{background-color:#EDF5FF;}.yui-skin-sam .yui-dt-list
tr.yui-dt-odd td.yui-dt-asc,.yui-skin-sam .yui-dt-list tr.yui-dt-odd
td.yui-dt-desc{background-color:#EDF5FF;}.yui-skin-sam
th.yui-dt-highlighted,.yui-skin-sam th.yui-dt-highlighted
a{background-color:#B2D2FF;}.yui-skin-sam tr.yui-dt-highlighted,.yui-skin-sam
tr.yui-dt-highlighted td.yui-dt-asc,.yui-skin-sam tr.yui-dt-highlighted
td.yui-dt-desc,.yui-skin-sam tr.yui-dt-even td.yui-dt-highlighted,.yui-skin-sam
tr.yui-dt-odd
td.yui-dt-highlighted{cursor:pointer;background-color:#B2D2FF;}.yui-skin-sam
.yui-dt-list th.yui-dt-highlighted,.yui-skin-sam .yui-dt-list
th.yui-dt-highlighted a{background-color:#B2D2FF;}.yui-skin-sam .yui-dt-list
tr.yui-dt-highlighted,.yui-skin-sam .yui-dt-list tr.yui-dt-highlighted
td.yui-dt-asc,.yui-skin-sam .yui-dt-list tr.yui-dt-highlighted
td.yui-dt-desc,.yui-skin-sam .yui-dt-list tr.yui-dt-even
td.yui-dt-highlighted,.yui-skin-sam .yui-dt-list tr.yui-dt-odd
td.yui-dt-highlighted{cursor:pointer;background-color:#B2D2FF;}.yui-skin-sam
th.yui-dt-selected,.yui-skin-sam th.yui-dt-selected
a{background-color:#446CD7;}.yui-skin-sam tr.yui-dt-selected td,.yui-skin-sam
tr.yui-dt-selected td.yui-dt-asc,.yui-skin-sam tr.yui-dt-selected
td.yui-dt-desc{background-color:#426FD9;color:#FFF;}.yui-skin-sam
tr.yui-dt-even td.yui-dt-selected,.yui-skin-sam tr.yui-dt-odd
td.yui-dt-selected{background-color:#446CD7;color:#FFF;}.yui-skin-sam
.yui-dt-list th.yui-dt-selected,.yui-skin-sam .yui-dt-list th.yui-dt-selected
a{background-color:#446CD7;}
.yui-skin-sam .yui-dt-list tr.yui-dt-selected td,.yui-skin-sam .yui-dt-list
tr.yui-dt-selected td.yui-dt-asc,.yui-skin-sam .yui-dt-list tr.yui-dt-selected
td.yui-dt-desc{background-color:#426FD9;color:#FFF;}.yui-skin-sam .yui-dt-list
tr.yui-dt-even td.yui-dt-selected,.yui-skin-sam .yui-dt-list tr.yui-dt-odd
td.yui-dt-selected{background-color:#446CD7;color:#FFF;}.yui-skin-sam
.yui-dt-paginator{display:block;margin:6px 0;white-space:nowrap;}.yui-skin-sam
.yui-dt-paginator .yui-dt-first,.yui-skin-sam .yui-dt-paginator
.yui-dt-last,.yui-skin-sam .yui-dt-paginator .yui-dt-selected{padding:2px
6px;}.yui-skin-sam .yui-dt-paginator a.yui-dt-first,.yui-skin-sam
.yui-dt-paginator a.yui-dt-last{text-decoration:none;}.yui-skin-sam
.yui-dt-paginator .yui-dt-previous,.yui-skin-sam .yui-dt-paginator
.yui-dt-next{display:none;}.yui-skin-sam a.yui-dt-page{border:1px solid
#CBCBCB;padding:2px
6px;text-decoration:none;background-color:#fff;}.yui-skin-sam
.yui-dt-selected{border:1px solid #fff;background-color:#fff;}
Modified: trunk/phpgwapi/js/yahoo/assets/skins/sam/editor.css
===================================================================
--- trunk/phpgwapi/js/yahoo/assets/skins/sam/editor.css 2010-11-16 15:02:12 UTC
(rev 6602)
+++ trunk/phpgwapi/js/yahoo/assets/skins/sam/editor.css 2010-11-16 21:18:12 UTC
(rev 6603)
@@ -2,7 +2,7 @@
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
-version: 2.8.1
+version: 2.8.2r1
*/
.yui-busy{cursor:wait!important;}.yui-toolbar-container
fieldset,.yui-editor-container
fieldset{padding:0;margin:0;border:0;}.yui-toolbar-container
legend{display:none;}.yui-skin-sam .yui-toolbar-container .yui-button
button,.yui-skin-sam .yui-toolbar-container .yui-button a,.yui-skin-sam
.yui-toolbar-container .yui-button a:visited{font-size:0;}.yui-skin-sam
.yui-toolbar-container .yui-toolbar-select button,.yui-skin-sam
.yui-toolbar-container .yui-toolbar-select a,.yui-skin-sam
.yui-toolbar-container .yui-toolbar-select a:visited,.yui-skin-sam
.yui-toolbar-container .yui-toolbar-spinbutton button,.yui-skin-sam
.yui-toolbar-container .yui-toolbar-spinbutton a,.yui-skin-sam
.yui-toolbar-container .yui-toolbar-spinbutton
a:visited{font-size:12px;}.yui-skin-sam .yui-toolbar-container
.yui-toolbar-spinbutton a.up,.yui-skin-sam .yui-toolbar-container
.yui-toolbar-spinbutton
a.down{font-size:0;line-height:0;padding:0;}.yui-toolbar-container
.yui-toolbar-subcont{padding:.25em 0;zoom:1;}.yui-toolbar-container-collapsed
.yui-toolbar-subcont{display:none;}.yui-toolbar-container
.yui-toolbar-subcont:after{display:block;clear:both;visibility:hidden;content:'.';height:0;}.yui-toolbar-container
span.yui-toolbar-draghandle{cursor:move;border-left:1px solid
#999;border-right:1px solid
#999;overflow:hidden;text-indent:77777px;width:2px;height:20px;display:block;clear:none;float:left;margin:0
0 0 .2em;}.yui-toolbar-container
.yui-toolbar-titlebar.draggable{cursor:move;}.yui-toolbar-container
.yui-toolbar-titlebar{position:relative;}.yui-toolbar-container
.yui-toolbar-titlebar
h2{font-weight:bold;letter-spacing:0;border:none;color:#000;margin:0;padding:.2em;}.yui-toolbar-container
.yui-toolbar-titlebar h2
a{text-decoration:none;color:#000;cursor:default;}.yui-toolbar-container.yui-toolbar-grouped
span.yui-toolbar-draghandle{height:40px;}.yui-toolbar-container
.yui-toolbar-group{float:left;margin-right:.5em;zoom:1;}.yui-toolbar-container
.yui-toolbar-group:after{display:block;clear:both;visibility:hidden;content:'.';height:0;}.yui-toolbar-container
.yui-toolbar-group h3{font-size:75%;padding:0 0 0
.25em;margin:0;}.yui-toolbar-container
span.yui-toolbar-separator{width:2px;padding:0;height:18px;margin:.2em 0 .2em
.1em;display:none;float:left;}.yui-toolbar-container.yui-toolbar-grouped
span.yui-toolbar-separator{height:45px;*height:50px;}.yui-toolbar-container.yui-toolbar-grouped
.yui-toolbar-group
span.yui-toolbar-separator{height:18px;display:block;}.yui-toolbar-container ul
li{margin:0;padding:0;list-style-type:none;}.yui-toolbar-container
.yui-toolbar-nogrouplabels h3{display:none;}.yui-toolbar-container
.yui-push-button,.yui-toolbar-container
.yui-color-button,.yui-toolbar-container
.yui-menu-button{position:relative;cursor:pointer;}.yui-toolbar-container
.yui-button .first-child,.yui-toolbar-container .yui-button .first-child
a{height:100%;width:100%;overflow:hidden;font-size:0;}.yui-toolbar-container
.yui-button-disabled{cursor:default;}.yui-toolbar-container
.yui-button-disabled
.yui-toolbar-icon{opacity:.5;filter:alpha(opacity=50);}.yui-toolbar-container
.yui-button-disabled .up,.yui-toolbar-container .yui-button-disabled
.down{opacity:.5;filter:alpha(opacity=50);}.yui-toolbar-container .yui-button
a{overflow:hidden;}.yui-toolbar-container .yui-toolbar-select .first-child
a{cursor:pointer;}.yui-toolbar-fontname-arial{font-family:Arial;}.yui-toolbar-fontname-arial-black{font-family:Arial
Black;}.yui-toolbar-fontname-comic-sans-ms{font-family:Comic Sans
MS;}.yui-toolbar-fontname-courier-new{font-family:Courier
New;}.yui-toolbar-fontname-times-new-roman{font-family:Times New
Roman;}.yui-toolbar-fontname-verdana{font-family:Verdana;}.yui-toolbar-fontname-impact{font-family:Impact;}.yui-toolbar-fontname-lucida-console{font-family:Lucida
Console;}.yui-toolbar-fontname-tahoma{font-family:Tahoma;}.yui-toolbar-fontname-trebuchet-ms{font-family:Trebuchet
MS;}.yui-toolbar-container
.yui-toolbar-spinbutton{position:relative;}.yui-toolbar-container
.yui-toolbar-spinbutton .first-child
a{z-index:0;opacity:1;}.yui-toolbar-container .yui-toolbar-spinbutton
a.up,.yui-toolbar-container .yui-toolbar-spinbutton
a.down{position:absolute;display:block;right:0;cursor:pointer;z-index:1;padding:0;margin:0;}.yui-toolbar-container
.yui-overlay{position:absolute;}.yui-toolbar-container .yui-overlay ul
li{margin:0;list-style-type:none;}.yui-toolbar-container{z-index:1;}.yui-editor-container
.yui-editor-editable-container{position:relative;z-index:0;width:100%;}.yui-editor-container
.yui-editor-masked{background-color:#CCC;height:100%;width:100%;position:absolute;top:0;left:0;opacity:.5;filter:alpha(opacity=50);}.yui-editor-container
iframe{border:0;padding:0;margin:0;zoom:1;display:block;}.yui-editor-container
.yui-editor-editable{padding:0;margin:0;}.yui-editor-container
.dompath{font-size:85%;}.yui-editor-panel
.hd{text-align:left;position:relative;}.yui-editor-panel .hd
h3{font-weight:bold;padding:.25em 0 .25em .25em;margin:0;}.yui-editor-panel
.bd{width:100%;zoom:1;position:relative;}.yui-editor-panel .bd
div.yui-editor-body-cont{padding:.25em .1em;zoom:1;}.yui-editor-panel .bd
.gecko form{overflow:auto;}.yui-editor-panel .bd
div.yui-editor-body-cont:after{display:block;clear:both;visibility:hidden;content:'.';height:0;}.yui-editor-panel
.ft{text-align:right;width:99%;float:left;clear:both;}.yui-editor-panel .ft
span.tip{display:block;position:relative;padding:.5em .5em .5em
23px;text-align:left;zoom:1;}.yui-editor-panel
label{clear:both;float:left;padding:0;width:100%;text-align:left;zoom:1;}.yui-editor-panel
.gecko label{overflow:auto;}.yui-editor-panel label
strong{float:left;width:6em;}.yui-editor-panel
.removeLink{width:80%;text-align:right;}.yui-editor-panel label
input{margin-left:.25em;float:left;}.yui-editor-panel
.yui-toolbar-group{margin-bottom:.75em;}.yui-editor-panel
.height-width{float:left;}.yui-editor-panel .height-width
span{font-style:italic;display:block;float:left;overflow:visible;}.yui-editor-panel
.height-width span.info{font-size:70%;margin-top:3px;float:none;}
@@ Diff output truncated at 153600 characters. @@
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [6603] update yui from upstream,
Sigurd Nes <=