internet-explorer

How to prevent pressing ALT in modal dialog in IE not switch to hidden menu

When creating a dialog using window.showModalDialog (where the options do not display any addressbar or toolbar) from javascript in IE - the behavior of pressing the ALT key is doing something undesirable. When you hit the ALT key when focus is on the modal dialog - the ALT key press event is handled by my javascript code fine, but whet...

CSS Problem in FireFox 3.5

Hi every one! I am developing an ASP.NET project with C#, and I wrote a page named gs.aspx which just writes resources like JS and CSS to the response according to the request and i's query strings. I have the header like this: <head runat="server"> <title></title> <asp:Literal runat="server" ID="litHead" EnableViewState="false...

Set Image Opacity Problem

Hello, I have a little design problem. On this page I have a couple of mouseover images. As you can see (only in IE) the images are circled with black when setting the opacity. I do not have this problem in firefox. The reason I use opacity, is because when I use hide/show the image, the table where it resides in gets shaky. Can an...

How to completely disable all Internet Explorer Script Error dialogs

Can someone plzzzzzz tell me how to disable Internet Explorer Script Error - says: An Error has occured in the script on this page ... Error: Unspecified error ... Please don't Say to Go to Tools -> I.Options -> Advanced ...turning off debugging etc etc.. I have tried all that and this popup dialog still com...

js browser detection for IE

Hello, My question is the folowing Is there a solid javascript code to detect if a browser is IE(I don't care about others) I found some script, but it generates an undefined error in FF. I edited my question because I found some regex serverside solution for this on this forum It's enough for now. thanks, Richard ...

*SOLVED NON-PROBLEM* <element>.focus(): how to make it work in both IE6, IE7 and IE8?

EDIT: This turned out to be a local problem in my IE6/7/8 test setup. The problem is a non-issue on a clean default install of IE, no matter what version. You can stop reading now. :) I'm writing a rich web application where I display a popup panel containing a simple text input field. I need to focus this text field immediately, so the...

Floating LI's in IE 6

I'm building a navigation using the simple <ul><li></li><ul> system and floating them to the left side so they appear inline. The follow code works in all browsers except IE 6. The HTML <div id="sandbox_container"> <div id="sandbox_modalbox"> <div> <ul id="sandbox_modalbox_nav"> <li id="Intro" class="modal_active"...

ASP.NET open new IE window and run "find" programatically?

Hi all. Can I use Internet explorer's "find" to find a number (and go to the first result) in a webpage after I open a new IE window through ASP.NET? Edit : Maybe I should clarify, I am opening a page on a site that is not mine, I cannot embed and run javascript on it... Is this even possible? Thanks Roey ...

Internet explorer 7 iframe is moving when clicking on link

I have a problem with an iframe, which moves the parent frame layout around when clicking on an anchor(or the javascript link which has an anchor, not sure) The whole iframe moves to the left of the page. demo on [removed, sorry], click on a link in the map. ...

how to invoke IE to open a local html file?

Hello everyone, I am using VSTS 2008 + C# + .Net 2.0. And I want to invoke IE to open an html file located under pages sub-folder of my current executable. Since my program may run under Windows Vista, I want to invoke IE under administrative permissions (Run As Administrator). Any code to make reference? I am especially interested in...

Internet Explorer hanging when debugging ASP.NET app

Hi, This problem is beginning to annoy. After my machine (Vista Ultimate) has been up for a while, running my ASP.NET web site project for debugging in VS2008 results in Internet Explorer "hanging". It doesn't seem to get past the network access stage, you know when it says "Loading web site", or "Waiting for". I've attached a screens...

Is there a maximum size for using -ms-filter?

We're using -ms-filter (used to be filter) to create a transparent grey div covering the page while a modal popup is displayed. It works as expected on most pages, but a certain query returns a large amount of data, and the filter doesn't apply. If I change the other CSS attributes for width and height to 50% instead of 100%, the filter...

Coding for IE vs Coding for W3C Standards

Another chapter from the "arguments between myself and the other senior developer" series :P My position is that when doing web development, browser code should be written first and foremost to adhere to the W3C web standards, even though Internet Exploder has the greater market share (anywhere between 51% and 79% depending on who is do...

How to get the most current IHTMLDocument2 object from IE DOM

Currently, I use MSAA to get an IHTMLDocument2 object from a IE HWND. However, with some complicated web applications, this IHTMLDocument2 object may contain serveral IHTMLDocument2 objects, some of them are not belong to the current displaying page, but the previous page. It seems to me, IE sometimes doesn't refesh its DOM object, but...

Prototype's Ajax.Request and Internet Explorer 8

The following code is supposed to perform an AJAX request after the page loads, and then display the response of that AJAX call in a popup. This works in Firefox, but I have no idea why it does not work in IE8. <html> <head> <script type="text/javascript" src="js/prototype.js"></script> <script type="text/javascript"> // Do this stu...

Detect Internet Explorer Version using VB6

I'm updating a legacy app and it has some functionality that detects the version of Internet Explorer that's installed, just for display and error reporting not because any components are required. The code used for IE version detection is basically the code from VBnet - DllGetVersion: Detailed Internet Explorer Version Info (Author: Ka...

styling a disabled combobox in internet explorer

Say I had the following: <select disabled="disabled" style="border: 1px red solid; color: black;"> <option>ABC</option> </select> Firefox renders the above with a red border and black text as I expect; but IE does not, it seems to be using native colors for the border and the disabled text. Is there any way for me to be able to style ...

Div displaying weird in IE - there's a surprise!

<style> body { background: #9cdcf9 url(/images/left_cloud.png) bottom left no-repeat; font-family:\"Trebuchet MS\"; padding:0; margin:0; border:0; } #cloud-container { width: 100%; background: url(/images/right_cloud.png) bottom right no-repeat; height: 100%; } #plane-container { width: 100%; backg...

Dynamic kml file genarated does not get overlayed in my map while using openlayers with javascript.

I am using openlayers function to display kml output over my map. I am generating a kml file when user give a search for any location. So the kml file keeps changing for each search (Since my result keeps changing). I am using : kmlLayer = new OpenLayers.Layer.GML("KML","../kml/searchResult.kml", { p...

What is a reliable way to monitor the beginning and end of a complete page load in IE, including all content?

I'm developing a plugin for IE (BHO and toolbar) which involves some modifications to the cache and content compression through an external service. I need to be able to show some graphs that demonstrate the bandwidth that is being saved by doing this on a per page basis, to include all of the images and other content on the page. Using...