summaryrefslogtreecommitdiff
path: root/js/istreamdev.js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-22 20:31:41 +0100
committerAlib <aliboba@free.fr>2010-03-22 20:31:41 +0100
commit56df9ea9ad0810b8c1e6b581fdf44a55750a5c04 (patch)
tree76c6151865bce700c4e7e522d0e03cd931b43957 /js/istreamdev.js
parent746232eec6b8e1c6a535ba9810301a128977f5e8 (diff)
downloadistreamdev-56df9ea9ad0810b8c1e6b581fdf44a55750a5c04.tar.gz
istreamdev-56df9ea9ad0810b8c1e6b581fdf44a55750a5c04.tar.bz2
Added Minify to concatenate and minimize css and js file and gzip them. Cleaned directories, moved all css and js in respective folders.
Diffstat (limited to 'js/istreamdev.js')
-rw-r--r--js/istreamdev.js29
1 files changed, 20 insertions, 9 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js
index 10a465c..c27e99c 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -8,15 +8,15 @@ jQT = new $.jQTouch({
iconIsGlossy: true,
fullscreen: true,
preloadImages: [
- 'themes/jqt/img/chevron.png',
- 'themes/jqt/img/back_button.png',
- 'themes/jqt/img/back_button_clicked.png',
- 'themes/jqt/img/button_clicked.png',
- 'themes/jqt/img/button.png',
- 'themes/jqt/img/button_clicked.png',
- 'themes/jqt/img/loading.gif',
- 'themes/jqt/img/toolbar.png',
- 'themes/jqt/img/on_off.png',
+ 'img/chevron.png',
+ 'img/back_button.png',
+ 'img/back_button_clicked.png',
+ 'img/button_clicked.png',
+ 'img/button.png',
+ 'img/button_clicked.png',
+ 'img/loading.gif',
+ 'img/toolbar.png',
+ 'img/on_off.png',
'img/loading.gif',
'img/audio.png',
'img/epg.png',
@@ -112,6 +112,7 @@ $('a[class="back"]').tap(function(event) {
// show active sessions
$(document).ready(function(e){
getRunningSessions();
+//preloadLogos();
});
//reinit RunningSessions when going to Home:
@@ -139,6 +140,16 @@ $('#streaming').bind('pageAnimationStart', function(event, info){
}
})
});
+//preload logos
+function preloadLogos() {
+ $.getJSON("bin/genlogolist.php",
+ dataString,
+ function(data){
+ for (var i = data.length - 1; i >= 0; i--) {
+ (new Image()).src = data[i];
+ };
+ });
+}
// [/GENERIC STUFF]