Skip to content

Instantly share code, notes, and snippets.

@ryanjm
Created November 28, 2012 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanjm/4164497 to your computer and use it in GitHub Desktop.
Save ryanjm/4164497 to your computer and use it in GitHub Desktop.
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Index</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<style type="text/css" media="all">
.container { width: 960px; margin: 0 auto; }
.item { height: 30px; }
</style>
</head>
<body>
<div class="container">
<div class="item one">
Item 1
</div>
<div class="item two">
Item 4
</div>
<div class="item three">
<a href="./other-page.html">./other-page.html</a>
</div>
</div>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$(".two").click(function(){
$(this).remove();
$('html[manifest=saveappoffline.appcache]').attr('content', '');
});
});
</script>
</body>
</html>
<!-- nothing needs to be here -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment