Template:DoneCounter
From 2009.igem.org
(Difference between revisions)
m (Bug fixed) |
m (Moved script to separate page.) |
||
Line 1: | Line 1: | ||
- | + | <html> | |
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.3.0/dojo/dojo.xd.js"></script> | <script type="text/javascript" src="http://o.aolcdn.com/dojo/1.3.0/dojo/dojo.xd.js"></script> | ||
- | <script type="text/javascript" | + | <script type="text/javascript" src="/Template:Team:Groningen/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> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </script> | + | |
- | </html | + |
Revision as of 14:44, 18 May 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.