Resizing Window

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
Wookie68Asked:
Who is Participating?
 
Robin HickmottConnect With a Mentor Software DeveloperCommented:
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
 
ethothsCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.