Team:TU Delft

From 2010.igem.org

(Difference between revisions)
Line 56: Line 56:
var page = currentPage ? currentPage : 'Home';
var page = currentPage ? currentPage : 'Home';
var url = location.pathname + '/' + page + '?action=edit';
var url = location.pathname + '/' + page + '?action=edit';
-
$("#edit_content_link").attr('href', url);
+
// $("#edit_content_link").attr('href', url);
 +
$("#edit_content_link").click(function() {
 +
$("#iGEM_TU_Delft_container").html('<iframe src="'+location.host + url+'" width="100%" height="100%"></iframe>');
 +
});
}
}

Revision as of 00:19, 19 October 2010