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]

# # #