Template:DoneCounter
From 2009.igem.org
(Difference between revisions)
m |
m (Trying Dojo 1.3.2) |
||
(3 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | <script type="text/javascript" src="http://o.aolcdn.com/dojo/1.3. | + | <script type="text/javascript" src="http://o.aolcdn.com/dojo/1.3.2/dojo/dojo.xd.js"></script> |
- | <script type="text/javascript" | + | <script type="text/javascript" src="/Template:DoneCounter/Counter.js?action=raw"></script> |
- | / | + | </html><noinclude>This is a script that counts the number of done items in a task list and puts it in the element with class doneCount above the list. Like this<span class="doneCount"></span>: |
- | + | ||
- | + | * {{todo}} I definitely have to do this. | |
- | + | * {{todo|And this.}} | |
- | + | * {{done}} But I did this. | |
- | + | </noinclude> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | ||
- | + | ||
- | </ | + | |
- | + |
Latest revision as of 12:40, 30 July 2009
This is a script that counts the number of done items in a task list and puts it in the element with class doneCount above the list. Like this:
- TODO I definitely have to do this.
- And this.
- DONE But I did this.