Skip to content

Instantly share code, notes, and snippets.

@plexus
Created December 2, 2011 23:15
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 plexus/1425293 to your computer and use it in GitHub Desktop.
Save plexus/1425293 to your computer and use it in GitHub Desktop.
Blader snel door kleurenplaten.nl
<html>
<head>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'></script>
<script type="text/javascript">
var count = 7360;
$(document).keypress(function(event) {
//if ( event.which == 13 ) {
// event.preventDefault();
var url = 'http://www.kleurplaten.nl/kleurplaten/' + count + '.gif';
$('#tekening').attr('src', url);
$('#msg').html(url);
count+=1;
//}
});
</script>
</head>
<body>
<div id="msg"></div>
<iframe id="tekening" src="" width="600" height="800">
<p>Your browser does not support iframes.</p>
</iframe>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment