Create dialog box

In order to create an AJAX dialog box, use the AJAX Dialog Box Wizard. The dialog box content is stored in another site file.

The AJAX Dialog Box Wizard is accessible from the MX AJAX Toolbox tab of the Insert bar (or MX AJAX Toolbox menu item from the Insert menu):

 

The AJAX Dialog Box Wizard has one step. Configure it as shown below:

 

  1. In the Dialog box title text box enter the title of the dialog box. Check out the browser behavior to understand better what an dialog box is are and where its title is displayed.

  2. In the Dialog box width text box enter the dialog box width, in pixels. In browser, 2 more pixels will be added, corresponding to the left and right borders.

  3. In the Dialog box height text box enter the dialog box height, in pixels. It includes both the title bar and the content area. In browser, 2 more pixels will be added, corresponding to the top and bottom borders.

  4. In the Link text text box enter the text that when clicked in browser will open the AJAX dialog box. If a selection has been previously made in page, it will be displayed in this text box. If not, this text will be inserted in page where the cursor was placed before launching the wizard.

  5. In the File text box enter the name of the file (and site-relative path, if necessary) that stores the dialog content. You can use the Browse button to locate the file in the site structure.
    If the file does not exist yet, you can enter its "future" name, and the file will be automatically generated in the site structure once you apply the wizard.

  6. Check the Click outside closes dialog box option if you want the dialog to close when you click outside it as well (not only the Close button in the top right corner).

  7. The buttons in the lower part of the interface offer the next functionalities: