Solved

Resizing Window

Posted on 2006-11-01
2
184 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
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 define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…

914 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now