Hello all... A couple of weeks ago I saw a message on here regarding centering of windows on the Mid-Tier.
I've attempted centering the window by placing javascript (direct script and src files) into the "Web Footer" property of the form. The result was less than favorable, the window always happened to move the window left of center ~15 pixels than what it should be due to the order of operations in Mid-Tier. So after further investigation, I have found the following solution... On the form you want centered do the following: 1. Create a View field. 2. Set the field to Hidden. 3. Paste the following into the "Text" field on the Display Tab: <script language="javascript" type="text/javascript" src="/path/to/center.js"></script> The contents of center.js: var _w=((window.screen.width-10)*.5);var _h=((window.screen.height+50)*.5);var _x=(self.screen.width-_w)*.5;var _y=(self.screen.height-_h)*.5;window.moveTo(_x,_y);self.focus(); Place this file somewhere on your Mid-Tier (/arsys/shared perhaps?). Hopefully this helps someone. Regards, Ryan -------------------------------------------------- Ryan Sherrer -- Developer Progressive Insurance _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are"

