-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Big batch of changes toward #48: - Title/credit moved outside of iframe context into static markup (which is now updated to v1.1) - Flexbox reverted - Note repositioning reverted (thank heavens) - Test page enhanced with lots of examples and made wider
- Loading branch information
Showing
12 changed files
with
154 additions
and
135 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,45 @@ | ||
<!DOCTYPE html> | ||
<html class="DC-embed-iframe" lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<link type="text/css" rel="stylesheet" href="../dist/page_embed.css"> | ||
</head> | ||
<body> | ||
<div id="DC-embed-container"></div> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<title>DocumentCloud</title> | ||
<link rel="alternate" type="application/json+oembed" href="https://www.documentcloud.org/api/oembed.json?url=https%3A%2F%2Fwww.documentcloud.org%2Fdocuments%2F282753-lefler-thesis%2Fpages%2F57.html" title="Page 57 of Lefler Thesis"> | ||
<link type="text/css" rel="stylesheet" href="../dist/page_embed.css"> | ||
</head> | ||
<body> | ||
|
||
<script src="../dist/page_embed.js"></script> | ||
<script> | ||
function getParameterByName(name) { | ||
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); | ||
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), | ||
results = regex.exec(location.search); | ||
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); | ||
} | ||
<div id="DC-embed-container"> | ||
<img src="//www.documentcloud.org/documents/282753/pages/lefler-thesis-p57-normal.gif" alt="Page 57 of Lefler Thesis" style="position:absolute;width:100%;height:auto"> | ||
</div> | ||
|
||
var url = getParameterByName('url'); | ||
if (url) { | ||
DocumentCloud.embed.load(url, { | ||
container: '#DC-embed-container', | ||
// pageNavigator: true, | ||
// text: true, | ||
}); | ||
} | ||
</script> | ||
</body> | ||
<script src="../dist/page_embed.js"></script> | ||
<script> | ||
function getParameterByName(name) { | ||
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); | ||
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), | ||
results = regex.exec(location.search); | ||
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); | ||
} | ||
|
||
var unenhanced = !!getParameterByName('unenhanced'); | ||
if (!unenhanced) { | ||
var url = getParameterByName('url'); | ||
if (url) { | ||
DocumentCloud.embed.load(url, { | ||
container: '#DC-embed-container', | ||
// pageNavigator: true, | ||
// text: true, | ||
}); | ||
} else { | ||
DocumentCloud.embed.load('https://www.documentcloud.org/documents/282753-lefler-thesis/pages/57.html', { | ||
container: '#DC-embed-container', | ||
// pageNavigator: true, | ||
// text: true, | ||
}); | ||
} | ||
} | ||
</script> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
<div class="DC-embed" data-version="1.0" style="font-size:10pt"> | ||
<p><a class="DC-embed-resource" href="https://www.documentcloud.org/documents/282753-lefler-thesis.html#document/p57" title="View page 57 of Lefler Thesis on DocumentCloud in new window or tab" target="_blank">Page 57 of Lefler Thesis</a></p> | ||
<img src="//www.documentcloud.org/documents/282753/pages/lefler-thesis-p57-normal.gif" alt="Page 57 of Lefler Thesis" style="border:1px solid #ccc;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;max-width:700px;"> | ||
<p> | ||
Contributed to DocumentCloud by Ted Han of DocumentCloud • | ||
<a href="https://www.documentcloud.org/documents/282753/pages/lefler-thesis-p57.txt" title="View text of page 57 of Lefler Thesis in a new window or tab" target="_blank">View page as text</a> | ||
</p> | ||
<div data-version="1.1" style="color:#999"> | ||
<div style="font-size:10pt;line-height:14pt;"> | ||
Page 57 of <a class="DC-embed-resource" href="https://www.documentcloud.org/documents/282753-lefler-thesis.html#document/p57" title="View page 57 of Lefler Thesis on DocumentCloud in new window or tab" target="_blank">Lefler Thesis</a> | ||
</div> | ||
<div style="position:relative;padding-bottom:129.428571428571428571%;height:0;overflow:hidden;max-width:100%;margin:0.5em 0;border:1px solid #ccc;-webkit-box-sizing:border-box;clear:both"> | ||
<iframe src="embed.html" frameborder="0" allowfullscreen style="position:absolute;top:0;left:0;width:100%;height:100%"></iframe> | ||
</div> | ||
<div style="font-size:8pt;line-height:12pt;text-align:center"> | ||
Contributed to | ||
<a href="https://www.documentcloud.org/" title="Go to DocumentCloud in new window or tab" target="_blank"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAAAQCAYAAACGJ+SRAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6e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JiQntFjvAwF0W9FHM8fTn2UJpJCcosSqCnqLUwa3Zzwi6md8V8GEl/CzAA95GqG/T4VF4AAAAASUVORK5CYII=" width="85" alt="DocumentCloud"></a> by | ||
<a href="https://www.documentcloud.org/public/search/Account:2258-ted-han" title="View all documents contributed to DocumentCloud by Ted Han in new window or tab" target="_blank">Ted Han</a> of | ||
<a href="https://www.documentcloud.org/public/search/Group:dcloud" title="View all documents contributed to DocumentCloud by DocumentCloud in new window or tab" target="_blank">DocumentCloud</a> • | ||
<a href="https://www.documentcloud.org/documents/282753-lefler-thesis.html#document/p57" title="View page 57 of Lefler Thesis on DocumentCloud in new window or tab" target="_blank">View entire document</a> or | ||
<a href="https://www.documentcloud.org/documents/282753/pages/lefler-thesis-p57.txt" title="View text of page 57 of Lefler Thesis on DocumentCloud in new window or tab" target="_blank">read the text</a> | ||
</div> | ||
</div> | ||
<script src="../dist/enhance.js"></script> |
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
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
Oops, something went wrong.