Skip to content

Instantly share code, notes, and snippets.

@sullenfish
Created January 14, 2009 03:08
Show Gist options
  • Save sullenfish/46759 to your computer and use it in GitHub Desktop.
Save sullenfish/46759 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
<script type='text/javascript' src='./lib/js/mootools-1.2.1-core.js'></script>
<script type='text/javascript'>
function init(){
var option = new Hash();
var queryString = $pick(location.toString().split('?')[1]);
if (queryString){
var keyValuePairs = queryString.split('&');
keyValuePairs.each(function(item){
var pair = item.split('=');
option.set(pair[0], pair[1]);
});
}
}
window.addEvent('domready', init);
</script>
<title>Open Movie Test</title>
</head>
<body>
<div id='movieLauncher'>Movie goes here...</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment