From: Frank R. <fre...@ra...> - 2004-02-19 16:16:23
|
Steve Isham said: > Does anyone know if there is a way to set the Compose window default to > 'maximized'? I am using SquirrelMail v1.4.2-1. I could not a way to do > this > in the Options or the FAQ. > > Thanks, > Steve > > ==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-== > Steve Isham - Head Coach > CP Classic Track Club, Inc. > P.O. Box 1085, Cedar Park, Texas USA 78630 > 512-401-9439 / cpc...@io... / www.cpclassic.com > A non-profit youth athletic organization > ==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-== Hi Steve, you need to develop some JavaScript-Stuff that detects the Client's Screen-Resolution and use the detected values instead of the settings from your configuration (see: "Options - Display Preferences") because the javascript method "window.open()" does not provide a argument "maximized". After that you should adapt the textareas attributes "rows" and "cols" with a javascript. If not it does not make any sense... This breaks with the intent of the SM-Developers *not* to use JavaScript in basic functionality. So the easiest solution for you maybe: Set your preferences in Options - Display Preferences to a fitting value and adapt the sourcecode in ./src/compose.php so that you have a bigger Textarea. The solution that fits best to your needs will need a little programmer's work. Regards, Frank |