Changeset 496
- Timestamp:
- 04/30/06 05:30:11 (7 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
htmlarea.css (modified) (1 diff)
-
htmlarea.js (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htmlarea.css
r495 r496 229 229 } 230 230 231 .htmlarea .panel { overflow:auto; } 231 232 .htmlarea .panels.left .panel { border-right:none; border-left:none; } 232 233 .htmlarea .panels.left h1 { border-right:none; } -
trunk/htmlarea.js
r484 r496 1902 1902 edcellheight -= parseInt(this.config.panel_dimensions.bottom, 10); 1903 1903 } 1904 this._iframe.style.height = edcellheight + 'px'; 1905 1904 this._iframe.style.height = edcellheight + 'px'; 1905 this._framework.rp_cell.style.height = edcellheight + 'px'; 1906 this._framework.lp_cell.style.height = edcellheight + 'px'; 1907 1906 1908 var edcellwidth = width; 1907 1909 if ( panel_is_alive('left') ) … … 1911 1913 if ( panel_is_alive('right') ) 1912 1914 { 1913 edcellwidth -= parseInt(this.config.panel_dimensions.right, 10); 1915 edcellwidth -= parseInt(this.config.panel_dimensions.right, 10); 1914 1916 } 1915 1917 this._iframe.style.width = edcellwidth + 'px'; … … 1917 1919 this._textArea.style.height = this._iframe.style.height; 1918 1920 this._textArea.style.width = this._iframe.style.width; 1919 1921 1922 // (re)size the left and right panels so they are equal the editor height 1923 for(var i = 0; i < this._panels.left.panels.length; i++) 1924 { 1925 this._panels.left.panels[i].style.height = this._iframe.style.height; 1926 } 1927 1928 for(var i = 0; i < this._panels.right.panels.length; i++) 1929 { 1930 this._panels.right.panels[i].style.height = this._iframe.style.height; 1931 } 1932 1933 1920 1934 this.notifyOf('resize', {width:this._htmlArea.offsetWidth, height:this._htmlArea.offsetHeight}); 1921 1935 }; … … 1927 1941 if ( side == 'left' || side == 'right' ) 1928 1942 { 1929 div.style.width = this.config.panel_dimensions[side]; 1943 div.style.width = this.config.panel_dimensions[side]; 1944 if(this._iframe) div.style.height = this._iframe.style.height; 1930 1945 } 1931 1946 HTMLArea.addClasses(div, 'panel'); … … 1937 1952 return div; 1938 1953 }; 1954 1939 1955 1940 1956 HTMLArea.prototype.removePanel = function(panel)
