| FloatingWindow

Building the FloatingWindow Component

The FloatingWindow is built from the following source:

- FloatingWindow.jsb

The JAR file is constructed using a batch file, which references a manifest file which notes which file(s) in the JAR are JavaBeans:

- BuildFloatingWindow.bat
  (or on Unix, type `sh BuildFloatingWindow.sh`)
- FloatingWindow.mf

Create `FloatingWindow.jar` by running `BuildFloatingWindow.bat` (or `BuildFloatingWindow.sh` on Unix) from the `(install dir)/samples/FloatingWindow/` directory.

Note: Another way to build a floating window component would be to use CSS; for more information see Positioning HTML Elements with Cascading Style Sheets (CSSP) and JavaScript 1.2.

Creating Sample Crossware

Simply import the FloatingWindow.jar file, and drag it to a new page. Adding text to the page in addition to the floating window, or adding more than one window per page, is not supported.

Once the component is added to the page, double-clicking on it will launch the Inspector. Set the values for the Source URL, height, width, and preview the page. Make sure when setting the Source URL, that the URL is NOT enclosed in quotes, and that the URL is fully qualified. Since this is a sample instead of a full-featured component, some types of complex content may not be loaded properly within the Floating Window.

A Sample Page is included.

( return to the top of the page )