From 4fabb891045ef34381c300e0a73cd44b926a761f Mon Sep 17 00:00:00 2001 From: Alib Date: Thu, 18 Mar 2010 17:32:14 +0100 Subject: default pic when no logo for channel list --- css/istreamdev.css | 2 +- img/nologoTV-mini.jpg | Bin 0 -> 833 bytes js/istreamdev.js | 3 ++- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 img/nologoTV-mini.jpg diff --git a/css/istreamdev.css b/css/istreamdev.css index c53769d..f054c08 100644 --- a/css/istreamdev.css +++ b/css/istreamdev.css @@ -52,7 +52,7 @@ vertical-align: middle; position: relative; -webkit-mask-box-image: url(../img/mask.png) 80 stretch; top: 0px; -background-image: url('../img/nologoTV.png') ; +background-image: url('../img/nologoTV-mini.png') ; background-size: 55px; } diff --git a/img/nologoTV-mini.jpg b/img/nologoTV-mini.jpg new file mode 100644 index 0000000..c8e93d3 Binary files /dev/null and b/img/nologoTV-mini.jpg differ diff --git a/js/istreamdev.js b/js/istreamdev.js index ca3c672..9998f53 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -251,7 +251,9 @@ function gen_channels(category) { } }); $('li[rel="toggle"]').hide(); + if ( data.channel.length > 10 ) { $("#chan_menu").append('
  • Show all
  • '); + } json_complete('#channels','cube'); }) } @@ -529,7 +531,6 @@ $('div[rel="browser"] #home_but').tap(function(event) { $('#home').bind('pageAnimationEnd', function(event, info){ $('#jqt div[rel="browser"]').remove(); $('#home').unbind('pageAnimationEnd'); - }); }); -- cgit v1.2.3