kvarnerexpress
Aug 25 2005, 04:23 PM
| | 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
Aug 28 2005, 05:47 PM
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
Trap FeedBacker
Dec 4 2007, 09:03 AM
I too trying the below code in opera
window.parent.resizeTo("1200","300");
but its not working
any help would be welcome
-gavin
Reply
Recent Queries:--
get a browser reference - 23.47 hr back.
Similar Topics
Keywords :
reference browser- 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="...
Width Of Display Area Of Browser Window
- is there a formula? (6)
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 ...
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...
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