internet-explorer

Detecting state changes in Internet Explorer

I'm trying to automate some tests on Internet Explorer. How can I find out if the state of the webpage being shown is changed? Is there any way to know when the page finished loading, if it changes, if it is scrolled, etc.? I want to know how I can get this state information from another running process. ...

setAttribute is not working for 'style' attribute on IE

I'm porting a piece of JS code written for Firefox into Internet Explorer. I faced a problem of changing style of an element using setAttribute method which was working on Firefox. button.setAttribute('style', 'float: right;'); I tried setting the style member of button and it didn't work either. This was the solution in case of setti...

Apache Rewrite Override Mime and Proxy Request?

I am trying to implement some Apache rewrite rules to set the MIME type (in)correctly for XHTML in Internet Explorer. I have found these rewrite rules in many place, and they seem to work for most people: RewriteCond %{HTTP_USER_AGENT} .*MSIE.* RewriteRule .* - [T=text/html] However, my site is already using Rewrite rules with the...

Javascript, aliases and IE

In an attempt to save space, I made a whole bunch of aliases for functions in my code. It works fine in FF, but now I'm trying to add support for IE and it's not happy. j=String; f0=j.fromCharCode; j=j.prototype; j.f1=j.indexOf; j.f2=j.lastIndexOf; j.f3=j.concat; j.f4=j.substring; function alias(c,e){return function(){return c[e].apply...

How can I improve my sites IE6/7 JS performance?

Hi folks, So I was involved in a site rewrite recently and we've gone live with what’s a big improvement on the previous in every way (no it's not perfect, we live by deadlines and are always improving :D) with one exception: in IE6/7 it will lockup after the page has shown. I know it's the JS as with it disabled it's fast and I'm aware...

What are the html rendering differences between IE 7 and IE 8?

What are the html rendering differences between IE 7 and IE 8? ...

jQuery problem with .appendTo and ie?

Im not sure if this is an issue with .appendTo() or the way im using it, I've gone over the docs in the api several times now and its still unclear so I figured I would turn it over to the handsome geniuses at SO. I am trying to move some error li's generated by django and everything works fine so far in firefox however when the followi...

DIVs after a float left element on explorer appears after that element (not underneath)

Why does the 2 boxes are side by side in IE7 while "b" is underneath "a" on other browsers (where it should be)? <html> <head> <style type="text/css"> .a { float:left; width:100px; height:50px; background-color:#CCC; } .b { width:75px; height:75px; background-color:#F00; } </style> </head> <body> <div class="a">a</div> <div class="...

Is the use of relative values in font sizing for accessibility still useful in general, or only for IE6?

All other browsers (not IE6) are scaling the size of the whole layout in px. So what's the purpose to use em and % if we are not thinking about IE6? ...

Navigation framework app won't start in XP/IE8 Silverlight

I was writing a small app and as it became bigger, I decided to move it to use multiple XAML pages and navigation framework; after the move, the app no longer runs in IE and gives the exception below when starting. It runs fine on Chrome on the same machine, and standalone if installed from Chrome. I've got IE8 on XP SP2; there are few ...

IE doesn't find hidden-field values created with JS

Hi, I have a page with a few hidden fields in it. Those get filled with values by a script (JS/jQuery) when the user has finished selecting a couple of options. Now, if I click a link on that page, go to the linked page and then hit the back-button, FF and Safari are able to read out the values of the hidden fields. So the function to ...

Silverlight Application Causes Internet Explorer To Close

Some users of a silverlight application I develop are complaining that IE will close sporadically. The sequence of events the users are doing are inconsequential, they are unable to reproduce the issue. Our application uses isolated storage to save exceptions that occur on the client, but no exceptions appear in the log. Has anyone el...

use javascript to intercept all document link clicks

how do I intercept link clicks in document? it must be cross-platform. I am looking for something like this: // content is a div with innerHTML var content = document.getElementById("ControlPanelContent"); content.addEventListener("click", ContentClick, false); function ContentClick(event) { if(event.href == "http://oldurl") ...

Bypass Credential dialog box of internet explorer

My c# application opens the Internet explorer for different web URL/ domains. And I have all those credential information (username, password and domain name) stored in the database for each web application. Now how I can authenticate automatically without entering credential in “Network Credential” dialog box using code or bypass that d...

gap between LI's on drop down menu in IE

Hi I ave a drop down menu which when dropped, there is a gap between the li's. I have tried all usual methods but I cant seem to find where it is coming from! I would paste the code but there is a bit of it so I have set up a temp directory for you to see. http://www.actwebdesigns.com/web-design-mansfield/ Regards, Phil ...

Scripting.Filesystemobject filemove, writefile not working from javascript in IE browser (workarounds, doc?)

I know it's a huge security hole to use Scripting.Filesystemobject from javascript in the browser. I heard a rumor that MS is locking down this hole in the latest version of Office. This would be bad news for the enterprise web app I am working on, which has a few critical functions which depend on access to Scripting.Filesystem object...

Added Space Below Divs

I have a layout in which the navigation is a set of divs stacked on top of each other. Typical stoy, "It works with every browser ever except the worst ones, IE." I want it to not have any space in between the divs in IE. Here is the URL: http://www.drmsmaggio.com/ I had this problem before when I didn't declare the doctype, but that i...

Read file:// URLs in IE XMLHttpRequest

I'm developing a JavaScript application that's meant to be run either from a web server (over http) or from the file system (on a file:// URL). As part of this code, I need to use XMLHttpRequest to load files in the same directory as the page and in subdirectories of the page. This code works fine ("PASS") when executed on a web server...

Funny css rendering error in IE background-image has "display: block" in it.

There is a funny issue with how IE is parsing/rendering my css. I have the following style defined "background-image: url(/images/leftArrow.png); DISPLAY: block; cursor: pointer;" but for some reason, IE 7 & 8 are combining background and display to make it one property (see screenshot) Any ideas? ...

IE only javascript error with getElementsByTagName

I have the following code which works in FF / Chrome var stack = [Array.prototype.slice.call(document.getElementsByTagName("body")[0].childNodes)], nodes, node, parent, text, offset; while (stack.length) { nodes = stack.pop(); for (var i=0, n=nodes.length; i<n; ++i) { node = nodes[i]; switch (node.nodeType) { ...