cvs: phpweb /include shared.inc

From: Date: Tue, 12 Dec 2000 02:57:51 +0000
Subject: cvs: phpweb /include shared.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-3076@lists.php.net to get a copy of this message
jimw Mon Dec 11 18:57:51 2000 EDT Modified files: /phpweb/include shared.inc Log: need to use dom-compliant left/top instead of pixelLeft/pixelTop. works with mozilla now. also tested against ie5/win2k, but no other versions of ie. i'm sure there will be screaming if it broke. Index: phpweb/include/shared.inc diff -u phpweb/include/shared.inc:1.116 phpweb/include/shared.inc:1.117 --- phpweb/include/shared.inc:1.116 Mon Dec 11 18:36:17 2000 +++ phpweb/include/shared.inc Mon Dec 11 18:57:51 2000 @@ -394,13 +394,13 @@ } else if (DOM) { screenWidth = (document.body.clientWidth ? document.body.clientWidth : window.innerWidth) + 18; <? if ($FRAMEMODE!="manual"): ?> - document.getElementById('mirrorsKick').style.pixelLeft = 140; - document.getElementById('mirrorsKick').style.pixelTop = 215; + document.getElementById('mirrorsKick').style.left = 140; + document.getElementById('mirrorsKick').style.top = 215; <? endif; ?> - document.getElementById('qrefKick').style.pixelLeft = 140; - document.getElementById('qrefKick').style.pixelTop = 80; - document.getElementById('searchKick').style.pixelLeft = screenWidth-350; - document.getElementById('searchKick').style.pixelTop = 36; + document.getElementById('qrefKick').style.left = 140; + document.getElementById('qrefKick').style.top = 80; + document.getElementById('searchKick').style.left = screenWidth-350; + document.getElementById('searchKick').style.top = 36; } else { screenWidth = document.body.clientWidth + 18; <? if ($FRAMEMODE!="manual"): ?>

« previous php.mirrors (#3076) next »