summaryrefslogtreecommitdiff
path: root/template/default/infobox.js
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2007-12-19 08:22:58 +0100
committerAndreas Mair <amair.sob@googlemail.com>2007-12-19 08:22:58 +0100
commitd48934f53b4c3d3b0bb9087d87cc13b60b79839e (patch)
tree14a1d6a2a1b4a242616fd9bb06462b91b57017d3 /template/default/infobox.js
parent7d3a17c4924b5d367f76a0febfefe6ff1e7880d1 (diff)
downloadvdradmin-am-3.6.1.tar.gz
vdradmin-am-3.6.1.tar.bz2
2007-12-19: 3.6.1v3.6.1
- Fixed: show textfield if no locales found. - Updated for infoboxes.js. - Fixed: wrong sorting in find results. - Changed: Remove leading and trailing whitespaces from a timer's title (Reported by Derek). - Changed: Minimal required EPGsearch version to v0.9.23. - Added: Support for features introduced in EPGsearch v0.9.23 (e.g. auto delete searches, timeframe for searches). - Fixed: Close connection to VDR after AutoTimer update (Reported by Leo @vdr-portal.de).
Diffstat (limited to 'template/default/infobox.js')
-rw-r--r--template/default/infobox.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/template/default/infobox.js b/template/default/infobox.js
index 699e97c..6c578b4 100644
--- a/template/default/infobox.js
+++ b/template/default/infobox.js
@@ -1,5 +1,5 @@
//
-// Bubblehelp infoboxes, (C) 2002 Klaus Knopper <infobox@knopper.net>
+// Bubblehelp infoboxes, (C) 2007 Klaus Knopper <infobox@knopper.net>
// You can copy/modify and distribute this code under the conditions
// of the GNU GENERAL PUBLIC LICENSE Version 2.
//
@@ -49,8 +49,11 @@ function tip(name){
if(idiv) untip();
idiv=gettip(name);
if(idiv){
- winW=(window.innerWidth)? window.innerWidth+window.pageXOffset-16:document.body.offsetWidth-20;
- winH=(window.innerHeight)?window.innerHeight+window.pageYOffset :document.body.offsetHeight;
+ // winW=(window.innerWidth)? window.innerWidth+window.pageXOffset-16:document.body.offsetWidth-20;
+ // winH=(window.innerHeight)?window.innerHeight+window.pageYOffset :document.body.offsetHeight;
+ // IE standards compliant mode compatibility partly contributed by Stefan Neufeind
+ winW=(window.innerWidth)? window.innerWidth+window.pageXOffset-16:(document.documentElement&&document.documentElement.clientWidth)?document.documentElement.clientWidth-20:document.body.offsetWidth-20;
+ winH=(window.innerHeight)?window.innerHeight+window.pageYOffset :(document.documentElement&&document.documentElement.clientHeight)?document.documentElement.clientHeight:document.body.offsetHeight;
if(x<=0||y<=0){ // konqueror can't get mouse position
x=(winW-IWIDTH)/2+(window.pageXOffset?window.pageXOffset:0); y=(winH-50)/2+(window.pageYOffset?window.pageYOffset:0); // middle of window
}
@@ -60,11 +63,8 @@ function tip(name){
}
function showtip(){
- if (isNaN(x)) return;
-
idiv.left=(((x+260)<winW)?x+12:x-255)+px; idiv.top=(((y+90)<winH)?y+12:y-90)+px;
idiv.visibility=ns4?"show":"visible";
-// window.status="idiv="+idiv+"X:"+(idiv.left?idiv.left:"NAN")+", Y:"+(idiv.top?idiv.top:"NAN")+", x:"+x+", y:"+y;
}
function mousemove(e){