cvs: phpweb / userprefs.js

From: Date: Wed, 06 Sep 2006 21:21:00 +0000
Subject: cvs: phpweb / userprefs.js
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-32361@lists.php.net to get a copy of this message
goba Wed Sep 6 21:21:00 2006 UTC Modified files: /phpweb userprefs.js Log: so this is not needed at last (tested with IE) http://cvs.php.net/viewvc.cgi/phpweb/userprefs.js?r1=1.17&r2=1.18&diff_format=u Index: phpweb/userprefs.js diff -u phpweb/userprefs.js:1.17 phpweb/userprefs.js:1.18 --- phpweb/userprefs.js:1.17 Wed Sep 6 13:35:26 2006 +++ phpweb/userprefs.js Wed Sep 6 21:21:00 2006 @@ -1,9 +1,3 @@ -// Default document onload function -function runOnLoad() -{ - //resizeColumnsIE(); -} - // Get a value of one cookie set by it's name // Impmentation from the JS 1.3 Client Guide by Netscape function getCookie(Name) @@ -46,23 +40,7 @@ } } -// This function is a workaround for the IE 3px bug, -// and therefore is written in IE only JS. If the central -// column is higher than the left or right sidebar, we need -// to adjust the height of the sidebars to the contents. -function resizeColumnsIE() -{ - if (document.all && document.all["leftbar"]) { - contentH = document.all["content"].offsetHeight; - if (contentH > document.all["leftbar"].offsetHeight) { - document.all["leftbar"].style.pixelHeight = contentH; - } - if (document.all["rightbar"] && contentH > document.all["rightbar"].offsetHeight) { - document.all["rightbar"].style.pixelHeight = contentH; - } - } -} - +// Load function name suggestion code (for search box) function loadSuggestCode() { searchEnabled = true;

« previous php.mirrors (#32361) next »