sleekpanther
Technical User
JS beginner! Basically how do I set the js so that the first time konami code is activated it loads 'First.html' (first message) and then 2nd time activated it runs 'Second.html' (second message) etc. I'll have a finite number of loops (say 5). See html bit below. Can I track the load/executions from the html script bit or do I need to track it from within the konami script and if so, how?
html bit:
<script type="text/javascript" src="konami.js"></script>
<script type="text/javascript">
var konami = new konami();
konami.load("First.html");
</script>
Original source of konami.js
Any help greatly appreciated!
html bit:
<script type="text/javascript" src="konami.js"></script>
<script type="text/javascript">
var konami = new konami();
konami.load("First.html");
</script>
Original source of konami.js
Any help greatly appreciated!