Skip to content

Instantly share code, notes, and snippets.

@psql
Created September 18, 2013 10:56
Show Gist options
  • Save psql/6607544 to your computer and use it in GitHub Desktop.
Save psql/6607544 to your computer and use it in GitHub Desktop.
Future list
<html>
<head>
<title>The Future</title>
<script type="text/javascript" src="//use.typekit.net/rfz5cki.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript">
// LOAD file and split line by line and append divs
$.get('https://dl.dropboxusercontent.com/u/36496/future/Do.txt', function(data) {
var DoLines = data.split("\n");
$.each(DoLines, function(n, elem) {
$('#Do').append('<li>' + elem + '</li>');
});
});
$.get('https://dl.dropboxusercontent.com/u/36496/future/Done.txt', function(data) {
var DoneLines = data.split("\n");
$.each(DoneLines, function(n, elem) {
$('#Done').append('<li>' + elem + '</li>');
});
});
</script>
<link rel="stylesheet" type="text/css" href="http://static.tumblr.com/fvrop9o/0Jgmry6qx/style.css">
</head>
<body>
<div id="main">
<div id="info">
<h1>The Future</h1>
<p>Things that should &amp; will happen some time, in no particular order:</p>
</div>
<section id="left">
<h1>Do</h1>
<ul id='Do'></ul>
</section>
<section id="right">
<h1>Done</h1>
<ul id="Done"></ul>
</section>
</div>
</body>
</html>
@psql
Copy link
Author

psql commented Jan 9, 2014

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment