Team:UT Dallas/Notebook
From 2012.igem.org
(Difference between revisions)
Line 115: | Line 115: | ||
book.turn('addPage', element, page); | book.turn('addPage', element, page); | ||
// Let's assum that the data is comming from the server and the request takes 1s. | // Let's assum that the data is comming from the server and the request takes 1s. | ||
- | setTimeout(function(){ | + | //setTimeout(function(){ |
- | + | // element.html('<div class="data">Data for page '+page+'</div>'); | |
- | }, 1000); | + | //}, 1000); |
+ | $('page-'+page).load('https://2012.igem.org/Team:UT_Dallas/notebook_data?action=raw&ctype=text/x-wiki #page'+ page); | ||
} | } | ||
} | } |
Revision as of 23:11, 30 August 2012
Weeks |
note book |
of