Re: HTA's
From: Brian K. Williams (williamsb_at_millenia.com)
Date: 03/04/04
- Next message: Olav Tollefsen: "How do draw new window immideately?"
- Previous message: Lloyd Sheen: "Re: Big problems with data binding"
- In reply to: Herb Stull: "Re: HTA's"
- Next in thread: Eric Lawrence [MSFT]: "Re: HTA's"
- Reply: Eric Lawrence [MSFT]: "Re: HTA's"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 3 Mar 2004 16:26:06 -0800
Yes, I had this problem also.. You wont get rid of that prompt even with a
HTA. This is a built in security feature of IE, you are only able to modify
the properties of a window that you generated with script.
What I did to get around this was set the size of the window to 100px with
window.opener and moved it way off screen to about -9000px top. When your
window that you opened is closed just set the top and width back to the
original size and position.
You might be able to simulate the F11 key with JavaScrit onload. I haven't
tried that yet.
If you ever find a way to-do this other than above, please email me.
Thanks,
-Brian
"Herb Stull" <stullhe@nauticom.net> wrote in message
news:uMBvztXAEHA.2212@TK2MSFTNGP10.phx.gbl...
>
> Hey Brian,
>
> Thanks for the tip but my experience with window.open is that it leaves
> the original window behind (open) and you have to do a window.close to
> get rid of it.
>
> The window.close then throws a prompt to the screen asking the user if
> they want to close. This tends to throw them off and we get a lot of
> calls asking if they really want to close.
>
> You know how end users are, they'll call 3 or 4 times before they
> finally get the hang of things and I have over 700 folks using this app.
>
> Any other suggestions would be appreciated.
>
> Herb
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!
- Next message: Olav Tollefsen: "How do draw new window immideately?"
- Previous message: Lloyd Sheen: "Re: Big problems with data binding"
- In reply to: Herb Stull: "Re: HTA's"
- Next in thread: Eric Lawrence [MSFT]: "Re: HTA's"
- Reply: Eric Lawrence [MSFT]: "Re: HTA's"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|