Question
Set window focus for tripane window?
Currently, our WebHelp for my company's ecommerce application
targets a specific topic in a named window. Each topic uses the
following onLoad command in the body tag to force the named window
to the top.
onLoad="top.window.focus()"
Using the named window prevents users from opening endless help windows. Using the onLoad command is thus required, otherwise the help content would remain hidden behind the web application window and users would think their help link was defective.
But the help links only open the standalone topic; users then have to click the "Show" text link if they want to use the full tripane navigation features (search, index, TOC, glossary, toolbar, etc). Recent user feedback expressed a preference for displaying the full WebHelp navigation directly from the help link.
The problem is I can't see a way to deliver the same "bring to top" function of the single-topic into use for the frameset. In fact, if we use a named window to invoke the topic within the frameset (e.g. ~/helpdirectory/index#topicname.htm), the help window not only won't return to the top, the window does not refresh with the new topic.
Any known solutions out there?
onLoad="top.window.focus()"
Using the named window prevents users from opening endless help windows. Using the onLoad command is thus required, otherwise the help content would remain hidden behind the web application window and users would think their help link was defective.
But the help links only open the standalone topic; users then have to click the "Show" text link if they want to use the full tripane navigation features (search, index, TOC, glossary, toolbar, etc). Recent user feedback expressed a preference for displaying the full WebHelp navigation directly from the help link.
The problem is I can't see a way to deliver the same "bring to top" function of the single-topic into use for the frameset. In fact, if we use a named window to invoke the topic within the frameset (e.g. ~/helpdirectory/index#topicname.htm), the help window not only won't return to the top, the window does not refresh with the new topic.
Any known solutions out there?