How to: |
You can use frames to subdivide application HTML pages into separate scrollable sections. Frames enable users to explore various information items on a page by scrolling through a section, instead of linking to a separate page. When defining a link from a report component to a report procedure or URL, you can specify that the results of the drill-down link be displayed in a target frame on a webpage.
There are two ways to specify a target frame. You can specify:
Note: When specifying a target frame from the Report canvas, manually added commands in the StyleSheet are not recognized. The Report canvas removes commands that it does not generate itself.
To use the TARGET attribute or the SET TARGETFRAME command, you must create multiple frames on the webpage.
Note: You cannot specify a target frame if you are executing a JavaScript function. However, the JavaScript function itself can specify a target frame for its results.
To specify a target frame in a report or procedure use:
TYPE=type, [subtype], FOCEXEC=fex[(parameters ...)], [TARGET=frame,] $
To specify a target frame for an URL use:
TYPE=type, [subtype], URL=url[(parameters ...)], [TARGET=frame,] $
where:
If the name of the target frame contains embedded spaces, the name will be correctly interpreted without enclosing the name in quotation marks. For example:
TYPE=DATA, COLUMN=N1, FOCEXEC=MYREPORT, TARGET=MY FRAME, $
The name of the target frame is correctly interpreted to be MY FRAME.
You can also use the following standard HTML frame names: _BLANK, _SELF, _PARENT, _TOP.
SET TARGETFRAME=frame
where:
The following illustrates how to specify a default target frame:
SET TARGETFRAME=_SELF
The following illustrates how to specify a target frame in a request. The relevant StyleSheet declaration is highlighted in the request.
TABLE FILE EMPLOYEE PRINT CURR_SAL BY DEPARTMENT ON TABLE SET STYLE * TYPE=DATA, COLUMN=N1, URL=http:\\www.informationbuilders.com, TARGET=_SELF, $ ENDSTYLE END