Created
January 14, 2009 03:07
-
-
Save sullenfish/46757 to your computer and use it in GitHub Desktop.
This file contains hidden or 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(){ | |
$('movieLauncher').addEvent('click', function(){ | |
var swf = 'sample.swf'; | |
window.open('2009-01-13-movieplayer-test.html?movie='+swf+'&width=800&height=600'); | |
}); | |
} | |
window.addEvent('domready', init); | |
</script> | |
<title>Open Movie Test</title> | |
</head> | |
<body> | |
<div id='movieLauncher'>Click me for goodness...</div> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment