Skip to content

Instantly share code, notes, and snippets.

@maier-stefan
Last active November 26, 2019 16:10
Show Gist options
  • Save maier-stefan/f44e423412a2aff607f97191e38fc234 to your computer and use it in GitHub Desktop.
Save maier-stefan/f44e423412a2aff607f97191e38fc234 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<script>
function resizeIframe(obj) {
obj.style.height = screen.height + 'px';
obj.style.width = screen.width + 'px';
}
</script>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Title Goes Here</title>
</head>
<body>
<p>This is my web page</p>
<iframe
src="https://book.splitmyfare.co.uk/widget"
frameborder="0"
scrolling="no"
onload="resizeIframe(this)"
/>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment