Code

Removed debug stuff,added comment and tested it in IE.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 13 Dec 2006 06:00:33 +0000 (06:00 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 13 Dec 2006 06:00:33 +0000 (06:00 +0000)
It is amazing, it works!.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5368 594d385d-05f5-0310-b6e9-bd551577e9d8

html/include/focus.js

index a1e9e1c2596891ec6323e4e55000e61e673c1490..46220ff7a8c45c84314afab5df2af70ebd0812f5 100644 (file)
@@ -21,9 +21,10 @@ function scrollDown() {
        timeout= setTimeout("scrollDown()", 500);
 }
 
-
-function scrollDown2() {
-       document.body.scrollTop = document.body.scrollHeight - document.body.clientHeight;
+/* Scroll down the body frame */
+function scrollDown2() 
+{
+               document.body.scrollTop = document.body.scrollHeight - document.body.clientHeight;
 }