Team:TU Delft/menu test
From 2010.igem.org
(Difference between revisions)
Line 77: | Line 77: | ||
var page = "https://2010.igem.org/Team:TU_Delft/pages/" + page + "?action=render"; | var page = "https://2010.igem.org/Team:TU_Delft/pages/" + page + "?action=render"; | ||
btn.click(function() { | btn.click(function() { | ||
- | var | + | alert(page); |
- | + | var cpw = $(#content_page_wrap"); | |
+ | cpw.fadeOut(200); | ||
$.get(page, function(data) { | $.get(page, function(data) { | ||
- | + | cpw.html(data); | |
- | + | cpw.fadeIn(200); | |
}); | }); | ||
}); | }); |
Revision as of 23:03, 4 June 2010