summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9a8a8bb)
raw | patch | inline | side by side (parent: 9a8a8bb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 Nov 2007 15:01:03 +0000 (15:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 Nov 2007 15:01:03 +0000 (15:01 +0000) |
JS is crazy ...
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-playground@7748 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-playground@7748 594d385d-05f5-0310-b6e9-bd551577e9d8
test.php | patch | blob | history |
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>