Team:TU Delft/pieter/loadtest

From 2010.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
 +
<!--
<script type="text/javascript" src="https://2010.igem.org/Team:TU_Delft/files/jquery_hashchange_min?action=raw&gen=js"></script>
<script type="text/javascript" src="https://2010.igem.org/Team:TU_Delft/files/jquery_hashchange_min?action=raw&gen=js"></script>
 +
-->
 +
 +
<script type="text/javascript" src="http://github.com/cowboy/jquery-hashchange/raw/v1.3/jquery.ba-hashchange.js"></script>
<script type="text/javascript">
<script type="text/javascript">
Line 46: Line 50:
var hash = this.href;
var hash = this.href;
hash = hash.replace(/^.*#/, '');
hash = hash.replace(/^.*#/, '');
-
// moves to a new page.  
+
location.hash=hash;
-
// pageload is called at once.
+
-
$.history.load(hash);
+
return false;
return false;
});
});

Revision as of 17:37, 22 July 2010

Ajax load
load 1
load 2
load 3


Loaded html: