Question
Redirect JS problem in RH 7
Some of us have been using a redirect script to open a new
window with contents outside the current WebHelp package.
For example in a WebHelp package called ABC Help,
A TOC line says "XYZ Help" and points to a topic with no text. It contains the following in the < head >...< / head> section (without the extra spaces after the bracket < ):
< script language=JavaScript1.2 type="text/javascript" >
< !--Redirects to XYZHelp package in a new browser window
window.open("XYZHelp/help.htm")
// -->< /script>
The result until now was to open XYZ Help in a new window, leaving ABC Help open in the background.
In RH 7, after XYZ Help opens, ABC Help comes back on top showing the blank topic that called XYZ help.
Working with separate copies of the same project in RH 6 and RH 7, I've tried any number of changes to make the RH 7 redirect topic look like the RH 6 version. I got rid of breadcrumbs and search highlight, and took out some other stuff that RH 7 does now, to no avail. In RH 7 I undid all of my patches that fixed some browser display problems in RH X5 and RH 6, which I had carried into RH 7.
Still, ABC pops up on top of XYZ.
I' ll try another approach, making the TOC entry use a relative path path to XYZ outside ABC but in the same neighborhood.
Has anyone else run into trouble with the redirect script?
Harvey
For example in a WebHelp package called ABC Help,
A TOC line says "XYZ Help" and points to a topic with no text. It contains the following in the < head >...< / head> section (without the extra spaces after the bracket < ):
< script language=JavaScript1.2 type="text/javascript" >
< !--Redirects to XYZHelp package in a new browser window
window.open("XYZHelp/help.htm")
// -->< /script>
The result until now was to open XYZ Help in a new window, leaving ABC Help open in the background.
In RH 7, after XYZ Help opens, ABC Help comes back on top showing the blank topic that called XYZ help.
Working with separate copies of the same project in RH 6 and RH 7, I've tried any number of changes to make the RH 7 redirect topic look like the RH 6 version. I got rid of breadcrumbs and search highlight, and took out some other stuff that RH 7 does now, to no avail. In RH 7 I undid all of my patches that fixed some browser display problems in RH X5 and RH 6, which I had carried into RH 7.
Still, ABC pops up on top of XYZ.
I' ll try another approach, making the TOC entry use a relative path path to XYZ outside ABC but in the same neighborhood.
Has anyone else run into trouble with the redirect script?
Harvey
