uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Tech Support
       Support Policy
       Knowledge Base
       Reference Sites
       Software Piracy
       Legal Notices
       Privacy Policy
       Reseller Info
       Contact Us
       Site Map
Popup box positioning

Knowledge Base Lobby : uReserve Support Conference : Configuration Questions
Jul-20-18 08:19 PM EST
Original Message
Popup box positioning
Author Kyle Baker on 07-30-2001 at 11:44 (EST)
Could someone point me in the right direction to find out more about how to change where the popup boxes in uReserve are positioned? Users have complained that when they click on a resource to add a reservation, the box that pops up appears on the lower right with the bottom half cut off of the screen. Is there a way to force the popup to appear centered, so that no matter the screen resolution it would always be in the center?...

Thanks in advance for any advice you could give.

Kyle Baker
LA County Office of AIDS Programs and Policy

Table Of Contents
  RE: Popup box positioning Bill Weiner, 2001-08-01 06:54:44 (1)
            RE: Popup box positioning Kyle Baker, 2001-08-02 12:22:53 (2)

Messages In This Discussion
         1. RE: Popup box positioning
        Author Bill Weiner on 08-01-2001 at 06:54 (EST)
To popup the reservation window, uReserve uses the standard JavaScript call with the following "features" settings:


I'm not aware of any feature to center the window... but there are some features to specify the X and Y locations of the window. They are:

For Netscape: "screenX" and "screenY"
For IE: "left" and "top"

So you could technically edit the "" script and add some coordinates in there. Here's how:

STEP 1: Make a backup of your current script... just in case.

STEP 2: Open your script in any text editor such as WordPad.

STEP 3: Do a search on the following text:


(There will actually be two occurances... but you will just be interested in the first occurance).

STEP 4: On that line with the first, you will see where the "features" are set to:


Just add the new features in there like this:


(I just used 50 in this that the window will always be positioned at the coordinates 50,50...which should at least show up on all screen resolutions).

STEP 5: Save the script (as TEXT if your editor asks)... and try it out!
                 2. RE: Popup box positioning
                Author Kyle Baker on 08-02-2001 at 12:22 (EST)
That did the trick. Now no matter the screen resolution of a user, the popup appears in the center of the screen.

Thanks, as always, for your prompt and insightful help.

Kyle Baker
Web Master
LA County OAPP

© 2003 Microburst Technologies, Inc.