if(theDay != lastDay) {
var ul = document.createElement("ul");
ul.setAttribute("class", "timeline");
place.appendChild(ul);
The ul.setAttribute adds a class attribute to the unordered list
containing the elements of the timeline: CSS can then change the text
attributes for the elements based on the context in which the list is
displayed...
Can that be included?
Seems like a reasonable suggestion, and is in line with previous
changes. Ticketed and committed:
http://trac.tiddlywiki.org/ticket/1202
Thanks!
-- F.
You can do this without any core code changes, simply by using a CSS
class wrapper around the macro.
For example, in SideBarTabs, write:
{{timeline{<<timeline>>}}}
Then, in StyleSheet, write:
.timeline ul { ... }
enjoy,
-e