Skip to content

Instantly share code, notes, and snippets.

@mrkurt
Created April 7, 2009 15:11
Show Gist options
  • Save mrkurt/91280 to your computer and use it in GitHub Desktop.
Save mrkurt/91280 to your computer and use it in GitHub Desktop.
<script src="includes.js" runat="edge"></script>
<html>
<script runat="edge">Mixer('header.html');</script>
<body>
<script runat="edge">
Mixer('nav2.html', {
timeout: 200, //in ms
errors : {default: 'Failed', not_found: 'Content not found', timeout: 'Content timed out'}
});
</script>
<div id="content">
<p>Hello, welcome to my mixed up page of content. This is a mix of 3 different includes.</p>
</div>
<script runat="edge">Mixer('footer.html');</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment