Solved

Resizing Window

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Javascript create file issue 4 60
Change text to radio button and calendar form 2 48
Html5 string 3 22
Call a function within the ASP code 4 10
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

770 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