From 6292c13c2ef196106c04d632cdeecab12b64bbc8 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 14 Feb 2013 04:01:01 +0400 Subject: [PATCH] more testing... Signed-off-by: Alex A. Naanou --- layout.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layout.html b/layout.html index 431aeec..d9accd9 100755 --- a/layout.html +++ b/layout.html @@ -150,7 +150,11 @@ $(document).ready(function(){ $('.current.page').removeClass('current') page.addClass('current') // attempt to make it without using .ScrollTo(...) - $('.viewer').scrollLeft(page.position().left) + // XXX the problem appears to be in the .scrollLeft(...) + // that does not work on some webkit browser versions + // namely on android it's "odd" to say the least... + //$('.viewer').scrollLeft(page.position().left) + $('.viewer')[0].scrollLeft = page.position().left }, 100) } })