Forum Moderators: open

Message Too Old, No Replies

how to reference parent browser

         

forumuser

2:21 pm on Aug 23, 2005 (gmt 0)

10+ Year Member



i have a custom button on the browser toolbar which points to a html application (HTA) which launches it when clicked.

an instruction such as

window.location.href

gives the URL of the HTA rather than the browser that launched it.

how do i reference the DOM of the browser from the HTA?

i have winxp sp2 with ie6.0

forumuser

7:17 pm on Aug 23, 2005 (gmt 0)

10+ Year Member



it has been brought to my attention that

window.opener
Sets or retrieves a reference to the window that created the current window.

resolves my problem.

except window.opener is returning null when the HTA is launched from the browser.

can anybody suggest further solutions?