maximize not really working
| Project: | OpenWYSIWYG Editor |
| Version: | 6.x-1.0-rc1 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
The maximize window feature does not work as expected on FF 3.5.3 or IE8.
Actually, setting position:absolute;top:0px;left:0px via CSS does this:
absolute Generates an absolutely positioned element, positioned relative to the first parent element that has a position other than static.
(see http://www.w3schools.com/Css/pr_class_position.asp)
Anyway, it's not the top left corner of the browser window.
Furthermore, the width is calculated for the browser screen, however setting width:NNNpx via CSS moves the right border way off the viewport (in combination with the error above).
Also, in my experiments the cursor disappeared.
I have now replaced
WYSIWYG_Core.setAttribute(divElm, "style", "position:absolute;z-index:9998;to\
p:0px;left:0px;width:" + size.width + "px;height:" + size.height + "px;");
WYSIWYG_Core.setAttribute(tableElm, "style", "width:100%;height:500px;");
WYSIWYG_Core.setAttribute(editor, "style", "width:100%;height:500px;");in openwysiwyg.modified.js simply with
WYSIWYG_Core.setAttribute(editor, "style", "height:500px;"); // iframewhich is cool enough for my taste.
