Same Window / Different Windows / Focus
The PopRocket will open a new file in a Window with the name you give it. Names are set on
the window that is activated by double-clicking on the "Click Me" setting. If you pop up a
page in a window that is not all ready active, a new window will be created. If you try
to pop-up a window that all ready exists, then the page will load into the existing window.
Unfortunately, if the existing window happens to be minimized, the user will not know that
the anything has happened.
One solution to this problem is to make sure that all your windows have different names.
The trouble with this approach is that after a while, your user ends up with too many open
windows.
Another solution is to place a bit of javascript in the
top of each page that you plan to open. On each pop-up page
place this in the <BODY> tag:
ONLOAD="focus()"
To add javascript to the Body Tag:
1) click on the layout region
2) click the HTML button on the Layout Properties Palette
3) click the Inside The Body tab
4) type in the javacript: ONLOAD="focus"
5) click OK
PopRocket to External Files
Using NOF's link selector, you can select any type of file to link to. If you are selecting
a link for PopRocket, then you can use the file selector to pick a graphic file, a text file,
or anything else that catches your fancy.
Graphics work really well. Just size the pop-up to be the same size as the graphic itself.
One trouble with selecting a file, though, is that you cannot use the onFocus trick
described above. The file being put into the pop-up window is just a graphic and nothing
more. There is no way to add javascript or any HTML to it.