Solved

Resizing Window

Posted on 2006-11-01
2
186 Views
Last Modified: 2010-04-09
When resizing a window using the following:

<body onload="window.resizeTo(w, h);">  

Is there a way to keep the browser, in this case IE, from popping up an information bar stating it is blocking running scripts or ActiveX controls?

Thanks
0
Comment
Question by:Wookie68
2 Comments
 
LVL 11

Expert Comment

by:ethoths
ID: 17857194
The window.resizeTo(w, h) is not causing the ActiveX warning. There is something else on your page that's doing that. Look for <object> tags.

In any event you will not be able to prevent this message other than opening up your security settings to allow activex controls to run. THIS IS A VERY BAD IDEA. As a matter of fact I doublt if you could think of a worse idea.

0
 
LVL 13

Accepted Solution

by:
rhickmott earned 125 total points
ID: 17857207
Normally Internet Explorer will only say this message if your running the page direct of your machine ie c:\mypage\page.htm.

 If its running on a webserver then its a bit more lapse.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question