Skip to content

Instantly share code, notes, and snippets.

@mrkurt
Created April 19, 2009 02:03
Show Gist options
  • Save mrkurt/97866 to your computer and use it in GitHub Desktop.
Save mrkurt/97866 to your computer and use it in GitHub Desktop.
<script src="includes.js" runat="proxy"></script>
<html>
<script runat="proxy">Mixer('header.html');</script>
<body>
<script runat="proxy">
Mixer('nav.html', {
timeout: 200, //in ms
errors : {generic: '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="proxy">Mixer('footer.html');</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment