Created
January 14, 2009 03:08
-
-
Save sullenfish/46759 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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