Team:Paris Bettencourt/Notebook
From 2013.igem.org
(Difference between revisions)
Line 93: | Line 93: | ||
function divload(pageURL){ | function divload(pageURL){ | ||
//$('#rightscroll').load(pageURL); | //$('#rightscroll').load(pageURL); | ||
- | var | + | var pageURL1 = "https://2013.igem.org/wiki/index.php?title=Team:Paris_Bettencourt/Notebook/"; |
+ | pageURL1 = pageURL1.concat(pageURL); | ||
+ | var pageURL2 = pageURL1.concat("&direction=cur&action=raw&ctype=text/html"); | ||
$.ajax({ | $.ajax({ | ||
url: pageURL2, | url: pageURL2, | ||
Line 107: | Line 109: | ||
var str1 = "<h1>Welcome!</h1><p>Follow this link to <a href=\""; | var str1 = "<h1>Welcome!</h1><p>Follow this link to <a href=\""; | ||
var str2 = "\">create</a> this page</p><p>Templates for each group can be found in <ul> <li><a href=\"\">Drug Screen</a></li> <li><a href=\"\">Phage Sensor</a></li> <li><a href=\"\">Trojan Horse</a></li> <li><a href=\"\">TB-ception</a></li> <li><a href=\"\">Human Practice</a></li> <li><a href=\"\">Modeling</a></li> </ul> </p>"; | var str2 = "\">create</a> this page</p><p>Templates for each group can be found in <ul> <li><a href=\"\">Drug Screen</a></li> <li><a href=\"\">Phage Sensor</a></li> <li><a href=\"\">Trojan Horse</a></li> <li><a href=\"\">TB-ception</a></li> <li><a href=\"\">Human Practice</a></li> <li><a href=\"\">Modeling</a></li> </ul> </p>"; | ||
- | var str = str1.concat( | + | var str = str1.concat(pageURL1,str2); |
$('#rightscroll').html(str); | $('#rightscroll').html(str); | ||
} | } |
Revision as of 13:13, 1 August 2013
<body>
Notebook