source: Dev/branches/rest-dojo-ui/client/dojox/widget/CalendarFx.js @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 735 bytes
Line 
1dojo.provide("dojox.widget.CalendarFx");
2dojo.require("dojox.widget.FisheyeLite");
3
4dojo.declare("dojox.widget._FisheyeFX",null, {
5        // summary
6        //   A mixin to add a FisheyeLite effect to the calendar
7        addFx: function(query, fromNode) {
8                //Use the query and base node passed from the calendar view mixin
9                //to select the nodes to attach the event to.
10                dojo.query(query, fromNode).forEach(function(node){
11                        new dojox.widget.FisheyeLite({
12                                properties: {
13                                        fontSize: 1.1
14                                }
15                        }, node);
16                });
17        }
18});
19
20dojo.declare("dojox.widget.CalendarFisheye",
21        [dojox.widget.Calendar,
22         dojox.widget._FisheyeFX], {
23                // summary: The standard Calendar. It includes day, month and year views.
24                //  FisheyeLite effects are included.
25         }
26);
Note: See TracBrowser for help on using the repository browser.