Created
February 12, 2013 04:39
-
-
Save edubkendo/4760285 to your computer and use it in GitHub Desktop.
Test page for JRubyFX WebStart app
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
<html> | |
<head> | |
<title>HelloWebStart</title> | |
</head> | |
<body> | |
<h1><a href="hello.jnlp">WebStart JNLP file</a></h1> | |
<p> | |
<script src="http://www.java.com/js/deployJava.js"></script> | |
<script> | |
// using JavaScript to get location of JNLP file relative to HTML page | |
var dir = location.href.substring(0, location.href.lastIndexOf('/')+1); | |
var url = dir + "hello.jnlp"; | |
deployJava.createWebStartLaunchButton(url, '1.6.0'); | |
</script> | |
</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment