Connecting The Dots

아빠의 우주연구

사용자 도구

사이트 도구


ctd:slides:test

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
ctd:slides:test [2018/12/25 12:16]
admin
ctd:slides:test [2019/06/15 23:00] (현재)
줄 55: 줄 55:
     </​select>​     </​select>​
     <button class="​playpause">​Play Pause</​button>​     <button class="​playpause">​Play Pause</​button>​
-    <​label><​input type="​checkbox"​ id="​voiceEnabledCheckBox"​ name="​voiceEnabledCheckBox"​ checked onclick="​onVoiceCheckBoxChange();">​음성출력</​label>​ +    <​label><​input type="​checkbox"​ id="​voiceEnabledCheckBox"​ name="​voiceEnabledCheckBox"​ checked onclick="​onVoiceCheckBoxChange();">​음성출력&​nbsp;&​nbsp;​</​label>​ 
-    <p p style="text-indent:​ 5em;"></​p>+    <button onclick="full_screen()">Fullscreen</button>
     <button class="​goto">​Goto:</​button>​     <button class="​goto">​Goto:</​button>​
     <input type="​number"​ min="​1"​ max="​99"​ style="​width:​ 3em;" pattern="​\d*"​ id="​chapter"​ />     <input type="​number"​ min="​1"​ max="​99"​ style="​width:​ 3em;" pattern="​\d*"​ id="​chapter"​ />
줄 64: 줄 64:
         <div style="​padding:​ 0.7em 0.4em 0.2em 0.4em; border-bottom:​1px solid #99999a; width:100%; margin:0 auto;"><​b>​Commentary</​b></​div>​         <div style="​padding:​ 0.7em 0.4em 0.2em 0.4em; border-bottom:​1px solid #99999a; width:100%; margin:0 auto;"><​b>​Commentary</​b></​div>​
         <div class="​comment"></​div>​         <div class="​comment"></​div>​
-        <!------ button onclick="​full_screen()">​Fullscreen</​button -------->​ 
     </​div>​     </​div>​
  
줄 112: 줄 111:
         }         }
     }     }
 +    ​
 +    /**
 +     * Example of sending messages into the presentation frame.
 +     * https://​github.com/​hakimel/​reveal.js#​api
 +    */
 +    document.querySelector( '​.goto'​ ).addEventListener( '​click',​ function( event ) {
 +        event.preventDefault();​
 +        // Find our presentation iframe
 +        var frame = document.querySelector( '​iframe'​ );
 +        // Post a message into the frame
 +        frame.contentWindow.postMessage( JSON.stringify(
 +        {
 +            method: '​slide',​
 +            args: [ document.getElementById("​chapter"​).value - 1,
 +                    document.getElementById("​page"​).value - 1 ]
 +        }), '​*'​ );
 +    } );
     ​     ​
     </​script>​     </​script>​
ctd/slides/test.1545707803.txt.gz · 마지막으로 수정됨: 2019/06/15 22:59 (바깥 편집)