Code

Added a seperate scroll function for testing
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 8 Dec 2006 12:16:51 +0000 (12:16 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 8 Dec 2006 12:16:51 +0000 (12:16 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5349 594d385d-05f5-0310-b6e9-bd551577e9d8

html/include/focus.js

index 1dbb364eefede325a221f6576d7cccc93f4e9a89..a1e9e1c2596891ec6323e4e55000e61e673c1490 100644 (file)
@@ -21,6 +21,12 @@ function scrollDown() {
        timeout= setTimeout("scrollDown()", 500);
 }
 
+
+function scrollDown2() {
+       document.body.scrollTop = document.body.scrollHeight - document.body.clientHeight;
+}
+
+
 function keyPress(DnEvents) {
   // determines whether Netscape or Internet Explorer
   k = (netscape) ? DnEvents.keyCode : window.event.keyCode;