

Window Size ( viewerSize>, Location ( viewerLocation) ,
A HREF POPUP WINDOW CODE
The following sample code defines a GIF image from the file rel_topic_button.gif: SanSerif, medium in size, bold, italic, and blue: You can control font characteristics of the text to make it standįor example, following parameters define the text object "Click here" to be This object is a specified string of text inserted inline with the text of Here's what this button looks like: Text object The following sample code defines a button that has a GIF image on it: The following sample code defines a button with the text "ClickMe": Specify a string of text or an image to replace the ">" character on the button. You can use the button as pictured to the left or you can This object is a standard button provided as part of the popup or secondary
A HREF POPUP WINDOW WINDOWS
Users activate popup/secondary windows by clicking one of the following objects: You indicate the object that the user clicks to activate the window with the Keep users in the main viewer where they have access to the TOC, index, Therefore, linksĪre not often used in these kinds of windows because it is preferable to You link to will also be displayed in that same window. If you use a link in a popup or secondary window, whatever You can specify the topicsĭisplayed in a window by using a URL or a JavaHelp system map ID. Anything that is rendered in the main help viewerĬan be used in a popup or secondary window, including links, graphics, and lightweightĬomponents (for example, popup/secondary windows). The content of popups and secondary windows is rendered by the same HTML engine The content of the object is defined by one of the following parameters: If you omit this parameter, the window defaults to a secondary window.įor example, the following parameter specifies a popup: The type of window, popup or secondary, is defined by the following parameter: Provide examples of a parameter that performs a particular function.

The following sections describe each element of the object tag definition and If parametersĬonflict, the one specified last is used. Parameters can be specified in any order. The element takes two attributes: name,Īnd value. The element specifies parameters to the JHSecondaryViewerĬomponent. Style, and color of the text that the user sees. The remaining param values define the font, font size, weight,.The text that the user sees in the link is "Click here".The size of the window ( viewerSize) is 300 pixels wide by 400.The type of window ( viewerStyle) is a popup.The object that the user clicks ( viewerActivator) is a link.The content of the window is the file at the location.This popup object has the following characteristics: tag definition creates a popup that is activated by You define the characteristics of a popup or secondary window by using a set Working with Popups and Secondary Windows Can contain a navigation pane and a toolbar, but by default have a content.Persist until they are dismissed or the help viewer is dismissed.Can be iconified, resized, and moved by the user.


Can be displayed anywhere on the screen.Are dismissed whenever focus is changed to another part of the help viewer.Cannot be resized or moved by the user.Are always displayed directly adjacent to the object the user clicks to.The following lists describe their differences: Most of the features described in this topic apply to both types of windows. They are both fullyĬapable HTML windows that can include graphics, links, and lightweight components. Popups and secondary windows are functionally similar. Differences Between Popups and Secondary Windows Groups, desktop icons, links) that you might have created during the installation You can also launch the object demo program by using shortcuts (program To see actual examples of how these windows can be used,Įxperiment with the object demo located in the following directory: This JavaHelp System User's Guide because they cannot be included Popups and secondary windows are not used in
A HREF POPUP WINDOW HOW TO
This topic describes how these windows look and how to use this tag to display You use this class in an HTML topic byĭefining an tag with the appropriate parameters. Secondary windows and popups are implemented by a the lightweight componentĬlass JHSecondaryViewer.
