Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> How To Reference Parent Browser Window From.....
kvarnerexpress
post Aug 25 2005, 04:23 PM
Post #1


Super Member
*********

Group: Members
Posts: 407
Joined: 13-December 04
Member No.: 2,696



i have a custom button on the local browser toolbar which points to a local html application (HTA). the browser launches the HTA when the custom button is clicked. i have to reference the parent browser window from the child HTA window.

an instruction in the local HTA

window.opener

sets or retrieves a reference to the window (the browser) that created the current window (the HTA).

however, window.opener is returning null. the HTA is run under the mshta.exe process.

how do i reference the browser from the HTA or javascript?

i have winxp sp2 with ie6.0
kvarnerexpress
Go to the top of the page
 
+Quote Post
SystemWisdom
post Aug 28 2005, 05:47 PM
Post #2


Advanced Member
*******

Group: Members
Posts: 117
Joined: 3-May 05
From: A Canadian South of the 49th Parallel
Member No.: 6,544



I think what you are looking for is window.parent.. it sounds like you have a frameset and the two contained frames want to access each other?
Go to the top of the page
 
+Quote Post
iGuest
post Dec 4 2007, 09:03 AM
Post #3


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



I too trying the below code in opera
window.parent.resizeTo("1200","300");
but its not working
any help would be welcome

-gavin
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Browser Altering Font Size(6)
  2. How To Make Youtube Embedded Videos Viewable On All Browsers(3)
  3. Width Of Display Area Of Browser Window(6)


 



- Lo-Fi Version Time is now: 25th July 2008 - 10:18 AM