Just a hint.

Instead of

function daysInMonth(iMonth, iYear){
                return 32 - new Date(iYear, iMonth-1, 32).getDate();
        }




you can write:

function daysInMonth(iMonth, iYear){
                return new Date(iYear, iMonth, 0).getDate();
        }




Am Donnerstag, 6. November 2014 19:22:22 UTC+1 schrieb BJ:

 > >    But could you please add a few more classes?


>    I would say the plugin is experimental, it is constructed from wiki 
text so there is not the possibility to add classes


Maybe put a classed div around it? That would help I guess.

Also if you put into all the seperator cells if the year calendar, except 
for the first one, a "~", the separting column wouldn't have the vertical 
borders.
 

> > That way one could, with some CSS, format the Journal links to missing 
journals (so in the year-view on your page) the same like normal text. That 
way the real entries would be more obvious. I think about something like 
<td class="bj-day">

     
> The default in the new calendar tab should be formatted that way


Ah! Now I see! I was confused by the fact that the month view shows black 
numbers while the year view shows them blue. I didn't notice the grey 
background for dates with entries.

Can weekends be formatted differently? (add a span) Can the current day be 
higlighted?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to