From feb465ddcae3145ce51a9da78feb9722e9211165 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 3 Mar 2013 02:25:07 +0400 Subject: [PATCH] minor tweeks... Signed-off-by: Alex A. Naanou --- index.html | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 58c604f..346530d 100755 --- a/index.html +++ b/index.html @@ -67,11 +67,11 @@ opacity: 0.8; - -webkit-transition: all 0.2s ease; - -moz-transition: all 0.2s ease; - -o-transition: all 0.2s ease; - -ms-transition: all 0.2s ease; - transition: all 0.2s ease; + -webkit-transition: all 0.3s ease; + -moz-transition: all 0.3s ease; + -o-transition: all 0.3s ease; + -ms-transition: all 0.3s ease; + transition: all 0.3s ease; } .editor .current-page-indicator { @@ -292,7 +292,27 @@ $(document).ready(function(){ // XXX this should not be in the production viewer... E: function(){ toggleEditor() }, - } + }, + /* + '.editor': { + Left: { + default: prevPage, + ctrl: prevArticle, + shift: function(){ + alert('<<<') + shiftPageLeft($('.current.page')) + }, + }, + Right: { + default: nextPage, + ctrl: nextArticle, + shift: function(){ + alert('>>>') + shiftPageRight($('.current.page')) + }, + }, + }, + */ }, function(k){console.log(k)}))