Difference between revisions of "Team:UI Indonesia/project"

Line 237: Line 237:
 
function myFunction() {
 
function myFunction() {
 
document.getElementById("judul").innerHTML = "Background";
 
document.getElementById("judul").innerHTML = "Background";
     document.getElementById("isi").innerHTML = "<img width='700px' src='https://static.igem.org/mediawiki/2015/0/06/UI_Indonesia_background1.jpg'><br><br>Welcome to the 21st century!!! We have synthetic biology, nuclear powerplants, nanotechnology, bunch other of cool stuffs... and<br><br><b>7.367.655.413<b><br><br>People to feed...<br><br>The question is... are our development enough... for All of us? Is it enough just for basic life with basic human rights?<br><br><button onclick='pgafgr()'>asdf</button><p id='pgafgr'>a</p>";
+
     document.getElementById("isi").innerHTML = "<img width='700px' src='https://static.igem.org/mediawiki/2015/0/06/UI_Indonesia_background1.jpg'><br><br>Welcome to the 21st century!!! We have synthetic biology, nuclear powerplants, nanotechnology, bunch other of cool stuffs... and<br><br><b>7.367.655.413<b><br><br>People to feed...<br><br>The question is... are our development enough... for All of us? Is it enough just for basic life with basic human rights?<br><br><button onclick='pgafgr()'>Population Growth and Food Growth Rate</button><p id='pgafgr'>a</p><br><br><button onclick='mdgs()'>MDGS Goals</button><p id='mdgs'>a</p><br><br><button onclick='gap()'>Gap</button><p id='gap'>a</p><br><br><button onclick='sqocm()'>Status Quo of Contaception Method</button><p id='sqocm'>a</p>";
 
}
 
}
 
function pgafgr() {
 
function pgafgr() {
 
     document.getElementById("pgafgr").innerHTML = "test";
 
     document.getElementById("pgafgr").innerHTML = "test";
 +
}
 +
function mdgs() {
 +
    document.getElementById("mdgs").innerHTML = "test1";
 +
}
 +
function gap() {
 +
    document.getElementById("gap").innerHTML = "test2";
 +
}
 +
function sqocm() {
 +
    document.getElementById("sqocm").innerHTML = "test3";
 
}
 
}
 
function myFunction2() {
 
function myFunction2() {

Revision as of 00:49, 19 September 2015

A

a