Code

Some changes for scrolling again
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Nov 2007 12:30:49 +0000 (12:30 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Nov 2007 12:30:49 +0000 (12:30 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-playground@7743 594d385d-05f5-0310-b6e9-bd551577e9d8

test.php

index ce027aec44eef875fb03348633dbe300b7b32a81..6588fd79754387bf5867a572460286b1f68f4d14 100644 (file)
--- a/test.php
+++ b/test.php
@@ -1,5 +1,4 @@
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-            "http://www.w3.org/TR/html4/strict.dtd">
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
 <html>
 <head>
 <style type="text/css">
@@ -92,23 +91,20 @@ window.onresize = setHeight;
                table_footer_h  = parseInt(table_footer.replace(/px/,''));
                        
                calc = (OVP_h  - ( table_header_h + table_footer_h ));
-               dbg.value = calc; 
                document.getElementById('ObjectListViewport_Entry_Cover').style.height= calc + 'px' ;
 
                OVP_T = getComputedStyle(document.getElementById('ObjectListViewport_Table'),"").width;
                OVP_T_w = parseInt(OVP_T.replace(/px/,'',OVP_T));
                
-
                document.getElementById('ObjectListViewport_Entry_Table').style.width = (OVP_T_w - 16) + 'px';
-               dbg.value  = OVP_T_w + document.getElementById('ObjectListViewport_Entry_Table').style.width; 
        }
 </script>
 </head>
-<body>
+<body style="height:100%;position:relative" id='body'>
 <input type='text' id='debug' value="" style='width:100%;'>
-       <table style='height:90%;width:100%;background-color:#6788FF;border: solid 5px #000000;'>
+       <table style='height:100%;width:100%;background-color:#6788FF;border: solid 5px #000000;'>
                <tr>
-                       <td style='width:50%;background-color:#AAA006;'>
+                       <td style='width:30%;height:20%;background-color:#AAA006;'>
                                hallo<br>
                                hallo<br>
                                hallo<br>
@@ -116,7 +112,7 @@ window.onresize = setHeight;
                                hallo<br>
                                hallo<br>
                        </td>
-                       <td style='height:230px;background-color:#660099;'>
+                       <td style='background-color:#660099;'>
                                <?php
                                echo passthru("./test");
                                ?>
@@ -135,6 +131,7 @@ window.onresize = setHeight;
        </table>
 <script type="text/javascript">
 //     document.getElementById('ObjectListViewport_Entry_Cover').style.height= document.getElementById('ObjectListViewport').height;
+//             document.getElementById('body').style.height = getComputedStyle(document.getElementById('body'),"").height;
        document.getElementById('ObjectListViewport_Entry_Cover').style.height= "200px";
 </script>
 </body>