I hate iOS so much

This commit is contained in:
Nicky Case 2018-10-25 21:51:42 -04:00
parent 729cf79b3c
commit cd604f4879
3 changed files with 2681 additions and 2 deletions

2671
ass.html Normal file

File diff suppressed because it is too large Load Diff

View File

@ -49,7 +49,9 @@ Good luck, and many thanks again!
<iframe class="splash" gotosrc="sims/splash/" scrolling="no"></iframe> <iframe class="splash" gotosrc="sims/splash/" scrolling="no"></iframe>
<div id="divider_container"> <div id="divider_container">
<div id="chapter_name"> <div id="chapter_name">
<div>
HOW TO REMEMBER ANYTHING FOREVER-ISH HOW TO REMEMBER ANYTHING FOREVER-ISH
</div>
<!-- TRANSLATOR NOTE: add a hint of silliness at the end, like "ish" or "sorta" --> <!-- TRANSLATOR NOTE: add a hint of silliness at the end, like "ish" or "sorta" -->
</div> </div>
<div style="text-align:right;"> <div style="text-align:right;">
@ -330,8 +332,10 @@ If that's not possible, and your text doesn't fit in its box, you can modify att
<iframe class="splash" gotosrc="sims/splash/" scrolling="no"></iframe> <iframe class="splash" gotosrc="sims/splash/" scrolling="no"></iframe>
<div id="divider_container"> <div id="divider_container">
<div id="chapter_name"> <div id="chapter_name">
<div>
THE SCIENCE of THE SCIENCE of
SPACED REPETITION SPACED REPETITION
</div>
</div> </div>
<div id="chapter_links"></div> <div id="chapter_links"></div>
</div> </div>
@ -732,8 +736,10 @@ If that's not possible, and your text doesn't fit in its box, you can modify att
<iframe class="splash" gotosrc="sims/splash/" scrolling="no"></iframe> <iframe class="splash" gotosrc="sims/splash/" scrolling="no"></iframe>
<div id="divider_container"> <div id="divider_container">
<div id="chapter_name"> <div id="chapter_name">
<div>
THE ART of THE ART of
SPACED REPETITION SPACED REPETITION
</div>
</div> </div>
<div id="chapter_links"></div> <div id="chapter_links"></div>
</div> </div>
@ -1283,7 +1289,9 @@ If that's not possible, and your text doesn't fit in its box, you can modify att
<iframe class="splash" gotosrc="sims/splash/" scrolling="no"></iframe> <iframe class="splash" gotosrc="sims/splash/" scrolling="no"></iframe>
<div id="divider_container"> <div id="divider_container">
<div id="chapter_name"> <div id="chapter_name">
<div>
GET STARTED TODAY! GET STARTED TODAY!
</div>
</div> </div>
<div id="chapter_links"></div> <div id="chapter_links"></div>
</div> </div>
@ -2159,7 +2167,7 @@ When you translate, make sure the [N] is there if it was there in the original.
<span id="gift_app_leitner"> <span id="gift_app_leitner">
a video (by my dear friend Chris Walker) on how to craft your very own Leitner Box! a video (by my dear friend Chris Walker) on how to craft your very own Leitner Box!
<br><br> <br><br>
<iframe width="560" height="315" src="TODO&rel=0" <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/uvF1XuseZFE?rel=0"
frameborder="0" allow="autoplay; encrypted-media" allowfullscreen frameborder="0" allow="autoplay; encrypted-media" allowfullscreen
style="display:block; margin:0 auto"></iframe> style="display:block; margin:0 auto"></iframe>
<br> <br>

View File

@ -327,7 +327,7 @@ window.onscroll = function(){
for(var i=0;i<splashes.length;i++){ for(var i=0;i<splashes.length;i++){
var s = splashes[i]; var s = splashes[i];
var bounds = s.getBoundingClientRect(); var bounds = s.getBoundingClientRect();
s.contentWindow.IS_IN_SIGHT = (bounds.top<innerHeight && bounds.top+bounds.height>0); if(s.contentWindow) s.contentWindow.IS_IN_SIGHT = (bounds.top<innerHeight && bounds.top+bounds.height>0);
} }
// Also, iframe scrollables // Also, iframe scrollables