Xin Calendar 2 Mods: Date Info

 

The Date Info mod lets us embed date related contents into date cells.

To turn it on:

xcMods=[...
        {"order": 1,  "mod": "Date Info",  "script": "mod_info.js"},
        ...

or:

<script language="javascript" src="../config/xc2_default.js"></script>
<script language="javascript">
  xcMods[3].order=1;
</script>

To define the contents for dates, we have:

Usually we will have a larger size for the date cells when using the Date Info mod, and the default CSS file (css/xc2_default.cs) comes with the definition for the "info" class already, we can overwrite part of it or just define another if it doesn't fit.

[Journal] [Back to index page]

# # #

 

July 2025
Sun
Mon
Tue
Wed
Thu
Fri
Sat
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
©yxScripts.com
«
Today
»