Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remote is not multitouch anymore

  • Loading branch information...
commit 7f16f2e418a515343a5dd9a83b63e71ac215c498 1 parent 7e5e466
Alexis Sukrieh authored
Showing with 11 additions and 9 deletions.
  1. +6 −9 views/layouts/main.tt
  2. +5 −0 views/slideshow.tt
15 views/layouts/main.tt
View
@@ -32,17 +32,14 @@
<% if is_multi_touch %>
<div id="remote">
-REMOTE : <% request.agent %>
+
+<div style="position: absolute; width: 600px; left: 0; bottom: 0; font-size: 60px; background-color: #eee;">
+<a href="#" style="color: #000; " onclick="broadway_prev();broadway_refresh(); return(false);">PREV</a>
+&nbsp;
+<a href="#" style="color: #000;" onclick="broadway_next(); broadway_refresh();return(false);">NEXT</a>
+</div>
</div>
<% end %>
-<table>
- <tr>
- <td>
- <div style="font-size: 18px;" id="previous_slide">
- </div>
- </tr>
-</table>
-
</body>
</html>
5 views/slideshow.tt
View
@@ -4,6 +4,7 @@ window.slide = 0;
<% if is_multi_touch %>
window.broadway_effects = 0;
+/*
document.addEventListener('touchmove', function(event) {
event.preventDefault();
point_x = event.touches[0].pageX;
@@ -18,6 +19,8 @@ document.addEventListener('touchmove', function(event) {
broadway_refresh();
}
}, false);
+*/
+
<% else %>
@@ -43,3 +46,5 @@ window.setInterval(function() {
<div id="slide">
</div>
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.