Team:TU Delft/pieter/loadtest
From 2010.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | function rewriteLinks(elem) { | ||
+ | |||
+ | $("a[href^=/Team:TU_Delft/]", elem).each(function(){ | ||
+ | |||
+ | alert("test"); | ||
+ | |||
+ | this.href = this.href.replace("Team:TU_Delft/", wgPageName+ "#/"); | ||
+ | |||
+ | }); | ||
+ | |||
+ | } | ||
+ | |||
function pageload(hash) { | function pageload(hash) { | ||
// hash doesn't contain the first # character. | // hash doesn't contain the first # character. | ||
Line 18: | Line 30: | ||
} | } | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
Revision as of 13:11, 21 July 2010
Ajax load
load 1
load 2
load 3
Loaded html: