Jul 27, 2008

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

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

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

Reply

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?

Reply

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

-gavin

Reply



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*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. html parent window - 30.91 hr back. (1)
  2. going back to parent browser javascript - 32.69 hr back. (1)
  3. html browser window _parent - 44.33 hr back. (1)
  4. hta javascript opera browser - 57.25 hr back. (1)
  5. how to delete suggestions from browser window on youtube - 65.31 hr back. (1)
  6. javascript copying a reference to parent window - 70.81 hr back. (1)
  7. browser parent - 80.97 hr back. (1)
  8. get parent window by browserwindow - 83.97 hr back. (1)
  9. to get the reference of parent window from child - 87.07 hr back. (1)
  10. html window parent - 102.23 hr back. (1)
  11. hta page and opera browser - 107.28 hr back. (1)
  12. reference to parent html - 107.51 hr back. (1)
  13. hta window toolbar customize - 128.89 hr back. (1)
  14. opera window.parent - 132.09 hr back. (1)
Similar Topics

Keywords : reference browser

  1. How To Make Youtube Embedded Videos Viewable On All Browsers - including on Opera browser which is actually not viewable with embedde (3)
    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 <object
    width="425" height="350"> <param name="movie" value="...
  2. Width Of Display Area Of Browser Window - is there a formula? (6)
  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...



Looking for reference, parent, browser, window

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



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



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE