Skip to content

Instantly share code, notes, and snippets.

@ryanjm ryanjm/index.html

Created Nov 28, 2012
Embed
What would you like to do?
<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
You can’t perform that action at this time.