From 2bddfdb15fefe775a12806b27510222bd68c626c Mon Sep 17 00:00:00 2001 From: Alib Date: Fri, 19 Mar 2010 10:15:44 +0100 Subject: fixed hiding toggle elements for Browser --- js/istreamdev.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js') diff --git a/js/istreamdev.js b/js/istreamdev.js index b57816a..1243ebe 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -264,6 +264,7 @@ function gen_categories() { } $("#cat_menu").append('
  • ' + categories.name + '' + categories.channels + '
  • '); }); + $('li[rel="toggle"]').hide(); json_complete('#categories','cube'); }) } @@ -612,6 +613,7 @@ function gen_browser(path,browser,name,foldertype) { $("#browser" + browser).find('ul').append('
  • ' + list.number + '
    ' + name + '
    ' + list.length +'
  • '); } }); + $('li[rel="toggle"]').hide(); json_complete('#browser' + browser,'cube'); }); } -- cgit v1.2.3 From e3bb64ac551beda55d71ee4e2767f8cc8687c169 Mon Sep 17 00:00:00 2001 From: Alib Date: Fri, 19 Mar 2010 12:38:54 +0100 Subject: fixed animation bug with lot of elements when back --- js/istreamdev.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'js') diff --git a/js/istreamdev.js b/js/istreamdev.js index 1243ebe..ad6563d 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -95,6 +95,12 @@ $('div').bind('pageAnimationEnd', function(event, info){ if (info.direction == 'in') { $('li[rel="toggle"]').show(); } + + }) +$('div').bind('pageAnimationStart', function(event, info){ + if (info.direction == 'in') { + $('li[rel="toggle"]').hide(); + } }) }); -- cgit v1.2.3 From 04ff2e9a18a68c96032dc3d7f391c17a35592bf7 Mon Sep 17 00:00:00 2001 From: Alib Date: Fri, 19 Mar 2010 12:51:29 +0100 Subject: removed FastTouch true for now. --- js/istreamdev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/istreamdev.js b/js/istreamdev.js index ad6563d..5761dbb 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -2,7 +2,7 @@ jQT = new $.jQTouch({ icon: 'img/istreamdev.png', addGlossToIcon: true, - useFastTouch: true, + useFastTouch: false, startupScreen: 'img/startup.png', statusBar: 'black', iconIsGlossy: true, -- cgit v1.2.3