Skip to content
Snippets Groups Projects
Commit 6a62fc7d authored by skyeveyang's avatar skyeveyang
Browse files

try to fix pdf bug 1

parent 7e53d419
No related branches found
No related tags found
No related merge requests found
Pipeline #293271 passed
......@@ -77,7 +77,7 @@
carried out precise calculations to develop a reasonable pricing strategy. Here is our investigation report.
</p>
</div>
<iframe class="desc-content-pdf" src="https://docs.google.com/gview?url=https://static.igem.wiki/teams/5015/wiki/entre/market-report-2.pdf"
<iframe id="iframePDF" class="desc-content-pdf" src="https://static.igem.wiki/teams/5015/wiki/entre/market-report-2.pdf"
width="100%" height="600px"></iframe>
</br />
<div class="descrption-article-text">
......@@ -121,7 +121,7 @@
thus contributing to the brighted prospect of the industry.</p><br>
<p>Here is our business plan:</p>
</div>
<iframe class="desc-content-pdf" src="https://docs.google.com/gview?url=https://static.igem.wiki/teams/5015/wiki/entre/business-proposal-2-2.pdf"
<iframe class="desc-content-pdf" src="https://static.igem.wiki/teams/5015/wiki/entre/business-proposal-2-2.pdf"
width="100%" height="600px"></iframe>
</br />
</br />
......@@ -211,7 +211,7 @@
<br>
<p>Here is our Community Economic Revitalization Plan:</p>
</div>
<iframe class="desc-content-pdf" src="https://docs.google.com/gview?url=https://static.igem.wiki/teams/5015/wiki/entre/charity-project-4.pdf"
<iframe class="desc-content-pdf" src="https://static.igem.wiki/teams/5015/wiki/entre/charity-project-4.pdf"
width="100%" height="600px"></iframe>
</br />
</br />
......@@ -245,7 +245,7 @@
<a href="#a1">
<div class="sidebar-item flex-row align-center">
<div class="sidebar-item-circle"></div>
<div class="sidebar-item-text">Introduction</div>
<div class="sidebar-item-text">Introduction [1] </div>
</div>
</a>
<a href="#a2">
......@@ -297,7 +297,7 @@
</div>
<script>
document.getElementsByTagName("iframe").contentWindow.onload = function() {
document.getElementsById("iframePDF").contentWindow.onload = function() {
this.document.getElementsByTagName("img")[0].style.width="100%";
};
</script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment