@@ -64,12 +64,9 @@ function __toString() {
64
64
65
65
if ($ this ->cols == 2 ){
66
66
$ html = "
67
- <div style= \"float:left ;vertical-align:top;margin:0px;padding:0px;width:400px ; \" id= \"contentScreenLeft \">
67
+ <div style= \"display:inline-block ;vertical-align:top;margin:0px;padding:0px;width:50% ; \" id= \"contentScreenLeft \">
68
68
" .$ this ->content ["left " ]."
69
- </div>
70
-
71
-
72
- <div style= \"overflow:auto;margin-left:400px;vertical-align:top;border-left-style:solid;border-left-width:1px;margin:0px;min-height:400px; \" id= \"contentScreenRight \" class= \"borderColor1 \">
69
+ </div><div style= \"-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;overflow:auto;display:inline-block;width:50%;vertical-align:top;border-left-style:solid;border-left-width:1px;margin:0px;min-height:400px; \" id= \"contentScreenRight \" class= \"borderColor1 \">
73
70
" .$ this ->content ["right " ]."
74
71
</div> " ;
75
72
@@ -86,35 +83,30 @@ function __toString() {
86
83
87
84
if ($ this ->cols == 3 ){
88
85
$ html = "
89
- <div style= \"float:left; vertical-align:top;margin:0px;padding:0px;min-height:500px; \" id= \"contentScreenLeft \">
90
- <div style= \" overflow:auto;max-width:400px;margin-left:auto;border-left-style:solid;border-left-width:1px;vertical-align:top; \" class= \" borderColor1 \" >
86
+ <div style= \"-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;display:inline-block; vertical-align:top;width:33% ;margin:0px;padding:0px;min-height:500px; \" id= \"contentScreenLeft \">
87
+
91
88
" .$ this ->content ["left " ]."
92
- </div>
93
- </div>
94
-
95
- <div style= \"overflow:auto;float:left;width:33%;max-width:400px;vertical-align:top;border-left-style:solid;border-left-width:1px;margin:0px;padding:0px;min-height:500px; \" id= \"contentScreenCenter \" class= \"borderColor1 \">
89
+
90
+ </div><div style= \"-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;overflow:auto;display:inline-block;width:33%;vertical-align:top;border-left-style:solid;border-left-width:1px;margin:0px;padding:0px;min-height:400px; \" id= \"contentScreenCenter \" class= \"borderColor1 \">
96
91
" .$ this ->content ["center " ]."
97
- </div>
98
-
99
- <div style= \"overflow:auto;float:left;width:33%;min-width:350px;max-width:400px;vertical-align:top;border-left-style:solid;border-left-width:1px;margin:0px;min-height:400px; \" id= \"contentScreenRight \" class= \"borderColor1 \">
92
+ </div><div style= \"-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;overflow:auto;display:inline-block;width:33%;vertical-align:top;border-left-style:solid;border-left-width:1px;margin:0px;min-height:400px; \" id= \"contentScreenRight \" class= \"borderColor1 \">
100
93
" .$ this ->content ["right " ]."
101
94
</div> " ;
102
95
103
96
$ js = "function fitFrames(){
104
97
if(! \$j('#contentScreenLeft').length)
105
98
return;
106
99
107
- var widthSL = (contentManager.maxWidth() - \$j('#contentScreenRight').outerWidth() - \$j('#contentScreenCenter').outerWidth() - 1)+'px';
100
+ // var widthSL = (contentManager.maxWidth() - \$j('#contentScreenRight').outerWidth() - \$j('#contentScreenCenter').outerWidth() - 1)+'px';
108
101
109
102
110
- \$j('#contentScreenLeft').css('width', widthSL);
103
+ // \$j('#contentScreenLeft').css('width', widthSL);
111
104
112
- var height = contentManager.maxHeight() + 20;
105
+ var height = contentManager.maxHeight();// + 20;
113
106
114
- \$j('#contentScreenLeft div').first( ).css('height', height+'px');
107
+ \$j('#contentScreenLeft' ).css('height', height+'px');
115
108
\$j('#contentScreenRight').css('height', height+'px');
116
109
\$j('#contentScreenCenter').css('height', height+'px');
117
- // \$j('#kontoTable').parent().css('height', (height - \$j('#headerFrame').outerHeight() - \$j('#headerFrame').next().outerHeight() - \$j('#uploadFrame').outerHeight() - 30)+'px');
118
110
} " ;
119
111
}
120
112
0 commit comments