Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 22nd, 2012  |  syntax: HTML  |  size: 0.68 KB  |  views: 66  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <div class="englishTranslateCard answer">
  2. <div id="tableContainer" style="background-image: url('{{Sentence-Image}}')">
  3.   <div id="cardContainer">
  4.     <div id="contentContainer">
  5.       <div id="expression">{{furigana:Sentence-Clozed}}</div>
  6.       <div id="sentenceEnglish">{{Sentence-English}}</div>
  7.       <div id="vocabContainer">
  8.           <div id="vocabFurigana">{{furigana:Vocabulary-Furigana}}</div>
  9.       </div>
  10.     </div>
  11.   </div>
  12. </div>
  13. </div>
  14. <script>
  15. // Fill in the clozed portion with its English meaning
  16. var eng = "{{Vocabulary-English}}"
  17. var cloze = document.getElementById("expression");
  18. cloze.innerHTML = cloze.innerHTML.replace(/( )/, "["+eng+"]");
  19. </script>
clone this paste RAW Paste Data