diff options
Diffstat (limited to '')
| -rw-r--r-- | js/dojo-1.6/dojox/widget/CalendarFx.xd.js | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/js/dojo-1.6/dojox/widget/CalendarFx.xd.js b/js/dojo-1.6/dojox/widget/CalendarFx.xd.js new file mode 100644 index 0000000..75e24ea --- /dev/null +++ b/js/dojo-1.6/dojox/widget/CalendarFx.xd.js @@ -0,0 +1,42 @@ +/*
+ Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
+ Available via Academic Free License >= 2.1 OR the modified BSD license.
+ see: http://dojotoolkit.org/license for details
+*/
+
+
+dojo._xdResourceLoaded(function(dojo, dijit, dojox){
+return {depends: [["provide", "dojox.widget.CalendarFx"],
+["require", "dojox.widget.FisheyeLite"]],
+defineResource: function(dojo, dijit, dojox){if(!dojo._hasResource["dojox.widget.CalendarFx"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
+dojo._hasResource["dojox.widget.CalendarFx"] = true;
+dojo.provide("dojox.widget.CalendarFx");
+dojo.require("dojox.widget.FisheyeLite");
+
+dojo.declare("dojox.widget._FisheyeFX",null, {
+ // summary
+ // A mixin to add a FisheyeLite effect to the calendar
+ addFx: function(query, fromNode) {
+ //Use the query and base node passed from the calendar view mixin
+ //to select the nodes to attach the event to.
+ dojo.query(query, fromNode).forEach(function(node){
+ new dojox.widget.FisheyeLite({
+ properties: {
+ fontSize: 1.1
+ }
+ }, node);
+ });
+ }
+});
+
+dojo.declare("dojox.widget.CalendarFisheye",
+ [dojox.widget.Calendar,
+ dojox.widget._FisheyeFX], {
+ // summary: The standard Calendar. It includes day, month and year views.
+ // FisheyeLite effects are included.
+ }
+);
+
+}
+
+}};});
|
