On Thursday, November 6, 2014 8:17:37 PM UTC, Stephan Hradek wrote:
>
> 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.
>
> It is possible to add inline styles to tables, so something should be
possible.
> 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.
>
> I have a look
>
>
> > > 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?
>
at present the highlighting of the present day (enabled in the options
tiddler) is the same as that of a existing journal, but this could be
changed, added weekend maybe a bit more involved (dont know if the JS date
object has a weekend interface)
I am at present preparing to move to central america for the winter, and
leave in a couple of days, so am quite occupied at the moment.
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.