Skip to content

Instantly share code, notes, and snippets.

@jimevans
Created November 1, 2011 17:29
Show Gist options
  • Save jimevans/1331270 to your computer and use it in GitHub Desktop.
Save jimevans/1331270 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>Modal dialog launcher</title>
</head>
<body>
<p>This launches the test page using showModalDialog:
<a href="#"
id="dialog"
onclick="showModalDialog('click_test.html', null, 'dialogHeight:768px;dialogWidth:1024px;resizable:yes')">
launch test
</a>
</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment