Skip to content

@RCanine /compendium-ipad.html
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Four lines of code to make the DDI Compendium work well on iPad
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- A short title fits on the home screen -->
<title>Compendium</title>
<!-- This is all you really need! -->
<meta name="viewport" content="width=1016,initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- href points to a 72x72 png with no transparency or gloss effect -->
<link rel="apple-touch-icon" href="icon-72x72.png">
<!-- We're done! -->
</head>
<body>
<!-- Replace this with the actual compendium code -->
<iframe src="http://www.wizards.com/dndinsider/compendium/database.aspx"
style="width: 100%; height: 100%; position:absolute; top: 0; left: 0;"
frameborder="0"></iframe>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.