diff --git a/test.php b/test.php
index 86e63fd2742b645c1e0fb6e4de988c1ec50b586d..1fdc8216421d3444ee06bd8b11ea2866a70e63bc 100644 (file)
--- a/test.php
+++ b/test.php
</style>
<script type="text/javascript">
+<!--
+
/* Register resize event to force redraw of all
* displayed lists
*/
function updateObjectListViewportSize() {
var dbg = document.getElementById('debug');
+ dbg.value ="";
/* Somehow IE do not need to be resized
* So skip the following part if the client uses ie
/* Reduce width of entry list, we need some space to
* display the scrollbar without breaking the layout
*/
+ dbg.value += " " + calc;
var viewport = getObjectWidth('ObjectListViewport_Table' + id_pref);
document.getElementById('ObjectListViewport_Entry_Table' + id_pref).style.width = (viewport - 16) + 'px';
}
obj = getComputedStyle(document.getElementById(obj),"").height;
return(parseInt(obj.replace(/px/,'')));
}
+
+-->
</script>
</head>
<body>
<table style='height:90%;width:90%;background-color:#DDDDDD; border: solid 1px;'
cellspacing=0 cellpadding=0>
<tr>
- <td style='width:30%;height:50%;background-color:#EEEEEE;'>
+ <td style='width:30%;height:30%;background-color:#EEEEEE;'>
hallo<br>
hallo<br>
hallo<br>
</td>
</tr>
<tr>
- <td style='background-color:#999777;'>
- hallo<br>
+ <td style='height:30%;background-color:#999777;'>
<?php echo passthru("./test"); ?>
- hallo<br>
</td>
<td style='background-color:#AAA006;'>
- hallo<br>
- hallo<br>
+ </td>
+ </tr>
+ <tr>
+ <td style='background-color:#999777;'>
+ </td>
+ <td style='background-color:#999777;'>
+ <?php echo passthru("./test"); ?>
</td>
</tr>
</table>
-<script type="text/javascript">
-updateObjectListViewportSize();
-</script>
</body>
</html>