Update of
/var/cvs/contributions/CMSContainer_Modules/alias/src/webapp/editors/alias
In directory james.mmbase.org:/tmp/cvs-serv29652
Modified Files:
stacked.jsp
Log Message:
CMSC-1129 Stacked aliases view in Page Management don't have scroll bar while
it should
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/alias/src/webapp/editors/alias
See also: http://www.mmbase.org/jira/browse/CMSC-1129
Index: stacked.jsp
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Modules/alias/src/webapp/editors/alias/stacked.jsp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- stacked.jsp 26 Jun 2008 11:18:43 -0000 1.7
+++ stacked.jsp 3 Nov 2008 07:49:06 -0000 1.8
@@ -12,6 +12,23 @@
refreshFrame('channels');
</script>
</c:if>
+ <script language="javascript">
+ window.onload = function () {
+ var divBody = document.getElementById("mainBody");
+ var divHeight = "450";
+ if( typeof( window.innerHeight ) == 'number' ) {
+ //Non-IE
+ divHeight = window.innerHeight;
+ } else if( document.documentElement &&
(document.documentElement.clientHeight ) ) {
+ //IE 6+ in 'standards compliant mode'
+ divHeight = document.documentElement.clientHeight;
+ } else if( document.body && (document.body.clientHeight ) ) {
+ //IE 4 compatible
+ divHeight = document.body.clientHeight;
+ }
+ divBody.style["height"] = divHeight+"px";
+ }
+ </script>
</cmscedit:head>
<body>
@@ -36,7 +53,7 @@
</div>
</div>
<div class="editor">
- <div class="body">
+ <div class="body" id="mainBody"
style="overflow-x:hidden;overflow-y:scroll">
<br />
<mm:cloud>
<c:if test="${hasRights}">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs