Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

remote is not multitouch anymore

  • Loading branch information...
commit 7f16f2e418a515343a5dd9a83b63e71ac215c498 1 parent 7e5e466
Alexis Sukrieh authored

Showing 2 changed files with 11 additions and 9 deletions. Show diff stats Hide diff stats

  1. +6 9 views/layouts/main.tt
  2. +5 0 views/slideshow.tt
15 views/layouts/main.tt
@@ -32,17 +32,14 @@
32 32
33 33 <% if is_multi_touch %>
34 34 <div id="remote">
35   -REMOTE : <% request.agent %>
  35 +
  36 +<div style="position: absolute; width: 600px; left: 0; bottom: 0; font-size: 60px; background-color: #eee;">
  37 +<a href="#" style="color: #000; " onclick="broadway_prev();broadway_refresh(); return(false);">PREV</a>
  38 +&nbsp;
  39 +<a href="#" style="color: #000;" onclick="broadway_next(); broadway_refresh();return(false);">NEXT</a>
  40 +</div>
36 41 </div>
37 42 <% end %>
38 43
39   -<table>
40   - <tr>
41   - <td>
42   - <div style="font-size: 18px;" id="previous_slide">
43   - </div>
44   - </tr>
45   -</table>
46   -
47 44 </body>
48 45 </html>
5 views/slideshow.tt
@@ -4,6 +4,7 @@ window.slide = 0;
4 4 <% if is_multi_touch %>
5 5 window.broadway_effects = 0;
6 6
  7 +/*
7 8 document.addEventListener('touchmove', function(event) {
8 9 event.preventDefault();
9 10 point_x = event.touches[0].pageX;
@@ -18,6 +19,8 @@ document.addEventListener('touchmove', function(event) {
18 19 broadway_refresh();
19 20 }
20 21 }, false);
  22 +*/
  23 +
21 24
22 25 <% else %>
23 26
@@ -43,3 +46,5 @@ window.setInterval(function() {
43 46
44 47 <div id="slide">
45 48 </div>
  49 +
  50 +

0 comments on commit 7f16f2e

Please sign in to comment.
Something went wrong with that request. Please try again.