From 673bb8693627db962aedcf7928edd345b602ab33 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 8 Dec 2006 12:16:51 +0000 Subject: [PATCH] Added a seperate scroll function for testing git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5349 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/include/focus.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/html/include/focus.js b/html/include/focus.js index 1dbb364ee..a1e9e1c25 100644 --- a/html/include/focus.js +++ b/html/include/focus.js @@ -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; -- 2.30.2