Solved

Resizing Window

Posted on 2006-11-01
2
188 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

724 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