Sha256: eed11bf6cef5639b8ce782ffeba07ff73ab3a186b1ce258bf23295caca7f9da9

Contents?: true

Size: 1.48 KB

Versions: 7

Compression:

Stored size: 1.48 KB

Contents

<!DOCTYPE html>
<html>
<head>
	<title>History for MooTools</title>
	<link rel="stylesheet" media="all" type="text/css" href="style.css" />
	<link rel="stylesheet" media="all" type="text/css" href="demo.css" />
	
	<script type="text/javascript" src="mootools-core.js"></script>
	<script type="text/javascript" src="mootools-class-extras.js"></script>
	
	<script type="text/javascript" src="../Source/History.js"></script>
	<script type="text/javascript" src="../Source/History.handleInitialState.js"></script>
	<script type="text/javascript" src="demo.js"></script>
</head>
<body>
<div>
	<div id="more">
		<a href="#">Back</a>
		<a href="other.html">Load other.html</a>
	</div>
	<div class="content">
		<p>This demo shows you how mootools-history never actually reloads the page. In more recent browsers, it changes the URL and in older browsers it uses the hash. You can find the source of the demo <a href="demo.js" data-noxhr="1">here</a>.</p>
		
		<p>Click some links and check the native back/forward button in your browser.</p>
		
		<p>Clicking any link will load all the content into the page via XHR. All new links will receive the listener via the "update"-method in the demo. For more advanced handling of generically changing content, see <a href="http://github.com/cpojer/mootools-dynamic-matcher">mootools-dynamic-matcher</a></p>
		
		<p>Note that if the visitor of your website or web application does not have JavaScript activated, the page will still function normally.</p>
	</div>
</div>
</body>
</html>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lsd_rails-0.1.6 Packages/mootools-history/Demos/index.html
lsd_rails-0.1.5 Packages/mootools-history/Demos/index.html
lsd_rails-0.1.4 Packages/mootools-history/Demos/index.html
lsd_rails-0.1.3 Packages/mootools-history/Demos/index.html
lsd_rails-0.1.2 Packages/mootools-history/Demos/index.html
lsd_rails-0.1.1 Packages/mootools-history/Demos/index.html
lsd_rails-0.1 Packages/mootools-history/Demos/index.html