Romain Prieto
June 2012<a href="#" data-role="button" data-icon="arrow-l" data-corners="true" data-shadow="true" data-iconshadow="true" data-wrapperels="span"> </a>
<a href="#" class="ui-btn ui-shadow ui-btn-corner-all ui-btn-icon-left ui-btn-up-c"><span class="ui-btn-inner ui-btn-corner-all"><span class="ui-btn-text"></span><span class="ui-icon ui-icon-arrow-l ui-icon-shadow"> </span></span>
addEventListener('touchstart'); // give feedback addEventListener('touchmove'); // moving too much? addEventListener('touchend'); // click!
function matches(rgx) { return function(text) { return rgx.test(text); } } list.filter(matches(/Syd/)) .slice(0, 3);
// streamjs to the rescue Stream.make(...) .filter(matches(/Syd/)) .take(3)
http://www.agriffindesign.com/blog.php?id=3
-webkit-touch-callout: none; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-user-select: none;
/* On the container */ overflow: scroll; -webkit-overflow-scrolling: touch; /* On the items */ -webkit-transform: translate3d(0,0,0);
position: fixed; height: 50px; z-index: 1;
<% if target == :android %>
Routing module
Android
iPhone
Browser
github.com/rprieto/reveal.js