Add iframe to news container
This commit is contained in:
parent
b038b30ec6
commit
d2dec49dcc
@ -835,7 +835,7 @@ function slide_(up){
|
||||
// Bind news button.
|
||||
document.getElementById('newsButton').onclick = () => {
|
||||
// Toggle tabbing.
|
||||
if(newsActive){
|
||||
/*if(newsActive){
|
||||
$('#landingContainer *').removeAttr('tabindex')
|
||||
$('#newsContainer *').attr('tabindex', '-1')
|
||||
} else {
|
||||
@ -847,7 +847,7 @@ document.getElementById('newsButton').onclick = () => {
|
||||
ConfigManager.setNewsCacheDismissed(true)
|
||||
ConfigManager.save()
|
||||
}
|
||||
}
|
||||
}*/
|
||||
slide_(!newsActive)
|
||||
newsActive = !newsActive
|
||||
}
|
||||
|
@ -103,7 +103,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<div id="center">
|
||||
<!--
|
||||
<div class="bot_wrapper">
|
||||
<div id="content">
|
||||
<button id="newsButton">
|
||||
@ -115,10 +114,10 @@
|
||||
</defs>
|
||||
<polyline class="arrowLine" points="0.71 13.26 12.56 1.41 24.16 13.02"/>
|
||||
</svg>
|
||||
<span id="newsButtonText">NEWS</span>
|
||||
<span id="newsButtonText">MAP</span>
|
||||
</button>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div id="right">
|
||||
<div class="bot_wrapper">
|
||||
@ -140,9 +139,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<div id="newsContainer">
|
||||
<div id="newsContent" article="-1" style="display: none;">
|
||||
<div>
|
||||
<iframe id="dynmapIFrame" src="https://fr.wikipedia.org/wiki/Main_Page" frameborder="0"></iframe>
|
||||
</div>
|
||||
<!-- <div id="newsContent" article="-1" style="display: none;">
|
||||
<div id="newsStatusContainer">
|
||||
<div id="newsStatusContent">
|
||||
<div id="newsTitleContainer">
|
||||
@ -197,8 +198,7 @@
|
||||
<div id="newsErrorNone" style="display: none;">
|
||||
<span id="nENoneSpan" class="newsErrorContent">No News</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
</div>
|
||||
-->
|
||||
<script src="./assets/js/scripts/landing.js"></script>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user