internet-explorer

IE CSS positioning problem

I have some markup for a popup menu that works in firefox but not IE. The problem is that the popup pops under other elements and is impervious to the z-index value. A complete runnable example is below. Now, I know that one fix is not to position the divs as relative, but I can't do that because, in the real code, I'm using scriptacu...

How do you disable cookies in Internet Explorer 7?

I've tried disabling cookies in Internet Explorer 7, I've changed the settings under Internet Options->Privacy and this did nothing, when I reloaded the page. I read somewhere that you need to restart IE7, than physically delete the Internet cache and cookie files first, and finally reload your page to disable cookies. (I also had no l...

jQuery callbacks firing too early

I have a problem when assigning functions to the click event of a button in IE 7 with jQuery. Something like the following works fine in Opera but produces an infinite loop in IE: function updateIndputFields(index, id) { $("#reloadBtn").click(function(){ updateIndputFields(index, id) }); } As I understand it, an infinite loop would...

WebBrowser document cast not valid

I've got a WebBrowser control on my page. To fire some javascript on a page displayed in the browser control, I call this.myBrowser.Document.InvokeScript("Test"); This works on my dev box with IE7, but on a seperate test machine I get the following error: Exception Type: System.InvalidCastException Message: Specified cast is not valid....

How to make this site browser independent

I got this page, and have some problems with ie < 7 and opera 7.11 This is what i hoped to be the layout in all browsers, and these are the IE ones instead: ie 5.5 and ie 6.0. the xhtml is quite simple: print "<div id=\"page\"> <div id=\"header\"> <ul id=\"nav\"> <li><a href=\"/\" class=\"first\">Címlap<div>Az oldal címlap...

Create an internet-explorer plugin

Hi, I'm having troubles finding resources on the net on how to create a plugin for IE (6 & 7). Do you happen to know good sites/tutorials on this subject? BTW, here's why I want to do this: we have a web app here that's linked with another; i.e. when on a certain page, you could launch a bookmarklet (bookmark with javascript) that would...

How do I set the margin of an object with javascript?

I am trying to set the margin of an object from JavaScript. I am able to do it in Opera & Firefox, but the code doesn't work in Internet Explorer. Here is the JavaScript I have: function SetTopMargin (ObjectID, Value) { document.getElementById(ObjectID).style.marginTop = Value.toString() + "px"; } And it is called like this: Se...

HTML Link opening a page that Redirect to a Quicktime .MOV file displays garbage characters in IE when Target is _blank

Hi, I have a .NET page that does a Response.Redirect to a Quicktime .mov file. When I create a link to this .NET page, if the link opens in the same window (i.e. no Target defined on the anchor tag), all is good and IE displays the Quicktime movie just fine. However if I set the Target of the link to "_blank" which opens a new window, I...

Help me work around these two IE6 layout bugs

My webpage is suffering from two IE6 rendering bugs. Each of them have workarounds, but unfortunately said workarounds are incompatible with each other. Here's a minimized test case. The behavior in Firefox/Safari is the desired/correct one. IE7 is unknown, since I don't have access to it right now. First bug: #content has overflow: au...

How do I change IE script debugger from MS Script Debugger to VS 2005

I have Microsoft Script debugger installed and selected (somwhere) as the script debugger of IE. I want to make VS the default script debugger. When I uninstall MS Script debugger IE just wouldn't start any debugger on a javascript error. So how do I go back to VS as my default IE script debugger? ...

Google Maps Polyline speed in Internet Explorer

Is there a way to speed up the rendering of Polylines in Google Maps when using Internet Explorer (7)? My map loads quickly in other browsers. I've encoded the Polylines as described here - http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/ and they are loaded from a static JavaScript file. ...

JQuery issue (major) with IE - all versions

This only happens with IE (all versions), on line 1120 in jquery-1.2.6.js I get the following error: Line 1120: Invalid Property Value The line in the js file is the following: elem[name] = value; It is inside attr: function( elem, name, value ) Does anybody have a problem similar to this? ...

How do you inspect for and test for known IE browser "features"?

My company makes its money off of a great user experience using IE6, 7, Firefox and Safari. 90% of our traffic ends up IE and probably 60% of that traffic is still IE6. IE6 has a bunch of known gotcha's such as accessing DOM objects while they are still being inserted crashing the browser. Almost none of these issues surface during ro...

Check for new version everytime I visit a web page - caching

I work at a college that uses an intranet based student management solution not developed by us. Recently changes were made that caused us to have to set internet explorer to check for a new version of a web page each time it visits. Otherwise certain pages would fail to run correctly we would get old content which would then cause tra...

What's the easiest way to change the Windows proxy address using .NET code?

I found a code samples here: http://sturla.simnet.is/post/2008/09/22/Enable-proxy-in-IE.aspx But it's very complex and involves manipulating the Windows registry. Is there an easier and less error-prone way of changing the proxy server address? ...

How do I debug this weird IE JavaScript Problem

OK, Here is my problem, I have a master page with a HEAD section that contains my JS includes. I have one JS include <script src="Includes/js/browser.js" language="javascript" type="text/javascript"></script> In my page i consume it like this: <body> <form id="form1" runat="server"> <div> .... <script type="text/javascript">regist...

Disabling button with javascript: FF vs IE

I have a row of buttons, which all create a pdf file which I want to open in a new tab. This way the button page stays on top, and the pdf's open to get printed. To prevent clicking a button twice I disable the button, like this (I use python): <input type='submit' value='Factureren' name='submitbutton' id='%s' onclick="javascript:docum...

Why "Content-Length: 0" in POST requests?

A customer sometimes sends POST requests with Content-Length: 0 when submitting a form (10 to over 40 fields). We tested it with different browsers and from different locations but couldn't reproduce the error. The customer is using Internet Explorer 7 and a proxy. We asked them to let their system administrator see into the problem fr...

How do you disable caching on Modal dialogs in IE?

We have implemented a popup window as a modal dialog using the IE method: window.ShowModelDialog(...aspx) The target of the popup window is itself an ASP.Net web page. Assume for the following steps that the popup has never been launched: Launch popup. Page_Load event handler executes on server side. Close popup. Immediately launch...

shdocvw Web Browser control zooming

I am using the web browser control from shdocvw.dll to build an html and image viewer that I'm automatically controlling. Some of the images I'm loading are pretty large in resolution so I'd like to be able to automatically zoom the control out to the extent of the content, and would like to support back to IE6. Is this possible? ...