3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 <title>SDRemote Firefox OS Demo
</title>
13 <!--<meta name="viewport" content="width=device-width" />-->
17 console
.info("Hello world");
24 <script src=
"js/ui.js"></script>
26 <script src=
"js/client.js"></script>
27 <script src=
"js/receiver.js"></script>
28 <script src=
"js/slideshow.js"></script>
29 <script src=
"js/transmitter.js"></script>
31 <body onLoad=
"init();">
32 <button id=
"open_comm" onclick=
"mClient = new Client('127.0.0.1'); mTransmitter = new Transmitter( mClient );">Press to Connect (localhost)
</button>
36 <button id=
"startPres" onclick=
"mTransmitter.startPresentation()">Start Presentation
</button>
37 <button id=
"stopPres" onclick=
"mTransmitter.stopPresentation()">Stop Presentation
</button>
41 <button id=
"next" onclick=
"mTransmitter.nextTransition()">Next
</button>
42 <button id=
"previous" onclick=
"mTransmitter.previousTransition()">Previous
</button>
44 <button id=
"blank" onclick=
"mTransmitter.blankScreen()">Blank Screen
</button>
45 <button id=
"resume" onclick=
"mTransmitter.resume()">Resume
</button>
47 <img id=
"preview"></img>
49 <p>Current slide:
<span id=
"current_slide">---
</span></p>