Team:SYSU-Software/prefix.js
From 2013.igem.org
(Difference between revisions)
Nie1234567 (Talk | contribs) |
Nie1234567 (Talk | contribs) |
||
Line 1: | Line 1: | ||
window.onload = function(){ | window.onload = function(){ | ||
$.ajax({ | $.ajax({ | ||
- | url: "header | + | url: "/Team:SYSU-Software/header", |
cache: false, | cache: false, | ||
success: function(html){ | success: function(html){ | ||
Line 8: | Line 8: | ||
}); | }); | ||
$.ajax({ | $.ajax({ | ||
- | url: "footer | + | url: "/Team:SYSU-Software/footer", |
cache: false, | cache: false, | ||
success: function(html){ | success: function(html){ |
Revision as of 16:07, 11 April 2013
window.onload = function(){ $.ajax({ url: "/Team:SYSU-Software/header", cache: false, success: function(html){ $("#navigation").append($(html).find(".row").html()); } }); $.ajax({ url: "/Team:SYSU-Software/footer", cache: false, success: function(html){ $("#footer").append($(html).find("footer").html()); } }); }