PDA

View Full Version : Need a special Javascript PopUp window that works in AMS4


kpsmith
10-01-2002, 03:43 PM
Forgive my lack of Javascript skills but could someone point me in the right direction...

I'm looking for a Javascript Pop-up window that opens from a link in an emebedded HTML object in AMS4 and that allows for only one instance of the pop-up to be open. So far I've go this much to work

Additionally, I would like it if the pop-up falls to the background, upon clicking the pop-up link again it will either bring the pop-up to the front or it will close the current pop-up and open a new pop-up in front.

I can find scripts that do this and they work well outside of AMS4 but once embedded they generate Javascript errors.

I think this is because they are looking for the Parent page which can't be found since it is embedded into the AMS4 .exe

Anyone gotten this to work?

Corey
10-01-2002, 07:03 PM
Add onBlur="self.focus()" to the body tag of the HTML page which appears in the pop-up window.

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

kpsmith
10-02-2002, 08:58 AM
THANK YOU!!!!!

This worked wonderfully!