|
Resizable Drag and drop window frames with scrolling content. The following example uses resizable window parameters
that affect the scrolling content region's dimensions and scroll attributes. The drag and drop window contains images
and text spanning an area larger than the dimensions of the window so that a scroll region is brought into existence.
Once activated the window can be set to appear permanently until closed. The parameter options are
fully customizable for each window object instance. These interactive inline windows are extremely practical where
condensed listings offer further details on the listed items when the cursor appears over them. Detailed information
including multimedia (images, sound and video) and formatted text appear in single page, non-scrolling or multi-page
scrolling windows. The following examples demonstrate a common application of displaying item details based on a condensed
listing of items within the same Web page that is restricted by its limited page layout space.
An AJAX routine included with
the ddobj package may be used to retrieve each item's details from a dynamic page requesting database information on the specific items.
This action occurs when the Web page visitor moves their mouse cursor over a specific item link in the listing. The user action
triggers an onmouseover event, which initiates the process of displaying a ddobj window with the specific item's detailed information.
The MINW, MINH, MAXW, MAXH parameters specify the pixel limits of the window dimensions for resizing. The RESIZE flag specifies
whether or not the window can be resized (true or false). The H pixel value parameter specifies the initial height of the
scrolling content layer, which will change when resized. The SCROLL parameter can take on the values of "hidden", "auto" and "scroll".
The default "hidden" value specifies that that scroll bars never appear and instead if the window is too small to accommodate
for the contents then they are truncated or hidden. The "auto" value specifies that scroll bars appear if the content area calls for
a scrolling region when the window is too small to accommodate for its contents. The "scroll" value specifies that scroll bars always
appear in the content region regardless of the window dimensions.
Place mouse cursor over link to activate resizable window 1
Place mouse cursor over link to activate resizable window 2
|