Skip to content

Instantly share code, notes, and snippets.

@markbates
Created August 6, 2008 15:58
Show Gist options
  • Save markbates/4227 to your computer and use it in GitHub Desktop.
Save markbates/4227 to your computer and use it in GitHub Desktop.
<script>
var helium = Array.new;
</script>
<div id=debate_1>
<script>
helium[0] = "debate_1"
</script>
</div>
...
<script>
var url = "<script src=helium.js?";
for d in helium {
url += d;
url += "&";
}
url += "></script>";
document.write(url);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment