Nov 21, 2009

How To Reference Parent Browser Window From.....

free web hosting
Open Discussion > MODERATED AREA > Computers > Programming Languages > HTML, XML etc..

How To Reference Parent Browser Window From.....

kvarnerexpress
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

Comment/Reply (w/o sign-up)

SystemWisdom
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?

Comment/Reply (w/o sign-up)

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

-gavin

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : reference, parent, browser, window

  1. Width Of Display Area Of Browser Window
    is there a formula? (6)
  2. How To Make Youtube Embedded Videos Viewable On All Browsers
    including on Opera browser which is actually not viewable with embedde (6)
    Firstly, I've noticed that embedded YouTube videos on personal websites, or any sites not on
    YouTube's domain, cannot be viewed on Opera browser. In other words, the codes given by YouTube
    to embed the videos on your site does not have support for Opera browser. However I've found out
    a trick to do so. Here's how.. This is the original code given by YouTube to embed to your own
    website. Copy this codes and paste into the source of your site. CODE Now look
    at the value in the param tag and the source in the embed tag. Edit the "/v/....
  3. Browser Altering Font Size
    (6)
    Is there a way to make the text on a page stay the same size, even if the user clicks on the
    'Enlarge text size' button or the 'Decrease text size' button within browsers. I
    know you can use an image, but that makes the site too big. I also am aware of the need to give the
    user control, but for particular reasons a particular section of text on the site needs to stay the
    same size. It doesn't matter if the text around it is enlarged or decreased. It is just a
    particular section. Any suggestions appreciated. Also, as an aside, is there a way you can ....
  4. Opening Images In Pictureviewer Instead Of Browser
    Locally (7)
    What I am trying to do is make up a small HTML site which will be based localy on my computer and
    basicly show all of the images I have taken on different holidays. What I want though is when I
    click on an image for it to be opened up in Windows Picture Viewer. As the web site will all be
    saved locally on my computer and not be going on the internet is there any way of achiving this? I
    am running Windows XP Professional if it makes any difference Thank you in advance,kvarnerexpress....
  5. Reference To Files
    (1)
    I have been writing my first CGI program, but had problems loading images and background files. I
    needed to write:- Code: cout " to get the images loaded. i.e. the following line did not work:-
    Code: cout " Can someone explane the difference for me please. I could never use relative
    references:- e.g. Code: cout " Many thanks, kvarnerexpress....

    1. Looking for reference, parent, browser, window

Searching Video's for reference, parent, browser, window
See Also,
advertisement


How To Reference Parent Browser Window From.....

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com