Team:TU Delft/menu test
From 2010.igem.org
(Difference between revisions)
Line 99: | Line 99: | ||
$.get(pageURL, function(data) { | $.get(pageURL, function(data) { | ||
pageCache[page]=data; | pageCache[page]=data; | ||
- | |||
cpw.fadeIn(200); | cpw.fadeIn(200); | ||
+ | cpw.html(data); | ||
}); | }); | ||
} | } | ||
else { | else { | ||
- | |||
cpw.fadeIn(200); | cpw.fadeIn(200); | ||
+ | cpw.html(pageCache[page]); | ||
} | } | ||
Revision as of 13:53, 5 June 2010