Team:Imperial College/Test Page

From 2008.igem.org

(Difference between revisions)
m
m
Line 1: Line 1:
__NOTOC__{{Imperial/StartPage}}
__NOTOC__{{Imperial/StartPage}}
 +
 +
<html><SCRIPT LANGUAGE="JavaScript">
 +
// Copyright 2006-2007 javascript-array.com
 +
 +
var timeout = 500;
 +
var closetimer = 0;
 +
var ddmenuitem = 0;
 +
 +
// open hidden layer
 +
function mopen(id)
 +
{
 +
// cancel close timer
 +
mcancelclosetime();
 +
 +
// close old layer
 +
if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
 +
 +
// get new layer and show it
 +
ddmenuitem = document.getElementById(id);
 +
ddmenuitem.style.visibility = 'visible';
 +
 +
}
 +
// close showed layer
 +
function mclose()
 +
{
 +
if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
 +
}
 +
 +
// go close timer
 +
function mclosetime()
 +
{
 +
closetimer = window.setTimeout(mclose, timeout);
 +
}
 +
 +
// cancel close timer
 +
function mcancelclosetime()
 +
{
 +
if(closetimer)
 +
{
 +
window.clearTimeout(closetimer);
 +
closetimer = null;
 +
}
 +
}
 +
 +
// close layer when click-out
 +
document.onclick = mclose;
 +
 +
</html>
Hey guys, welcome to the official Imperial 2008 iGEM Wiki. There are a couple of basic things  you'll need to know when editing this wiki (on top of the normal formatting and linking stuff!); these are mostly to do with the overall "theme" of the wiki (blue titles, navbar at the top, etc.). Basically, if you create a page the first thing you need to do is put <nowiki>{{Imperial/StartPage}}</nowiki> at the top of the page and <nowiki>{{Imperial/EndPage}}</nowiki> at the bottom - you can see the tags by clicking "Edit" on this page at the top. This applies a formatting template that'll put the navbar in, keep the theme consistent and format any calendars correctly. You then write in between those tags as normal. Remember to do this for every page!
Hey guys, welcome to the official Imperial 2008 iGEM Wiki. There are a couple of basic things  you'll need to know when editing this wiki (on top of the normal formatting and linking stuff!); these are mostly to do with the overall "theme" of the wiki (blue titles, navbar at the top, etc.). Basically, if you create a page the first thing you need to do is put <nowiki>{{Imperial/StartPage}}</nowiki> at the top of the page and <nowiki>{{Imperial/EndPage}}</nowiki> at the bottom - you can see the tags by clicking "Edit" on this page at the top. This applies a formatting template that'll put the navbar in, keep the theme consistent and format any calendars correctly. You then write in between those tags as normal. Remember to do this for every page!

Revision as of 13:39, 8 September 2008