Team:KULeuven/5 July 2008

From 2008.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
<script type="text/javascript">
<script type="text/javascript">
 +
var numeric_date = date_retriever();
var mnames = new Array('January', 'February', 'March', 'April', 'May',
var mnames = new Array('January', 'February', 'March', 'April', 'May',
'June', 'July', 'August', 'September', 'October', 'November', 'December');
'June', 'July', 'August', 'September', 'October', 'November', 'December');
Line 19: Line 20:
// arg determines whether you take yesterday (arg = 0) or tomorrow (arg = 1)
// arg determines whether you take yesterday (arg = 0) or tomorrow (arg = 1)
-
function date(numeric_date, arg) {
+
function date(arg) {
switch(arg) {
switch(arg) {
case 0: numeric_date -= 86400*1000;
case 0: numeric_date -= 86400*1000;
Line 47: Line 48:
<tr>
<tr>
<td width="25%"><a href="https://2008.igem.org/Team:KULeuven/Meeting_Reports">&lt;&lt; return to notebook</a>
<td width="25%"><a href="https://2008.igem.org/Team:KULeuven/Meeting_Reports">&lt;&lt; return to notebook</a>
-
<td width="25%"><script language="javascript">document.write("< yesterday".link(url_date(date_yesterday(ndate))));</script></td>
+
<td width="25%"><script language="javascript">document.write("< yesterday".link(url_date(date(0)));</script></td>
-
<td width="25%"><script language="javascript">document.write("tomorrow >".link(url_date(date_tomorrow(ndate))));</script></td>
+
<td width="25%"><script language="javascript">document.write("tomorrow >".link(url_date(date(1)));</script></td>
<td width="25%"></td>
<td width="25%"></td>
</tr>
</tr>

Revision as of 21:53, 15 July 2008

<< return to notebook