internet-explorer

Cross-browser development

Hi all, I'm developing a web application for a new service, starting from Firefox 3.5. The interface design is tableless, only using divs + CSS & performance-blessed practices. Now, while being compatible with Safari has taken just a small amount of time, IE is a pain. My question is: is there anything out there that could be used to...

Getting a Error with Jquery.Validate Plugin in IE 8

Hi I don't know what is going but my jquery validate plugin(1.5.5) is not working and I am not sure for how long since I do most of my testing on firefox. The problem is this I go to one of my forms that jquery validate on it and hit my "create" button my validation kicks in as it should and does this right in all browsers including IE...

MSIE and addEventListener Problem in Javascript?

document.getElementById('container').addEventListener('copy',beforecopy,false ); In Chrome / Safari, the above will run the "beforecopy" function when the content on the page is being copied. MSIE is supposed to support this functionality as well, but for some reason I'm getting this error: "Object doesn't support this property or ...

Sort not compatible with IE?

The code below works fine for dynamically reordering links in firefox, but for some reason not in IE (version 7). Any ideas what part of the code is causing problems? Thanks. var parent = $('#itemHolder'); var children = $('a', parent); var children = $('a', parent).sort(function(a, b) { return parseInt($(b).attr('amount')) ...

Making IE not to hang with unsupported Javascript?

Hi, I have a problem with IE. All other browsers work fine, but in IE the following example will make Javascript to stop entirely: elem = document.getElementById('asd'); elem.style.background = '-moz-linear-gradient(top, rgba(138, 197, 229,0.85), rgba(92, 130, 153, 0.85))'; IE does not support gradients, I know, but why does it sto...

Why is moving an element out of and back into the viewport affecting it?

Hey, So I've got a menu with a hover/selected state and it loads fine in IE6/IE7. However when I scroll down the page and put the element outside of the viewport and then back in I get a broken image! I have never seen an issue like this before. Has anyone else and can anyone suggest a solution. Below are examples of the working and bro...

Java Servlet Mimetype and Internet Explorer mimetype handling bug

I have a servlet that may return text/html or application/pdf content. Apparently, it looks like Internet Explorer (IE7) does not handle the application/pdf correctly. For example. Servlet Output A may return html content: [html content here] And then Servlet Output B may return PDF content: [pdf content here] The URL associated w...

Intercept page exit event

When editing a page within my system, a user might decide to navigate to another website and in doing so could lose all the edits they have not saved. I would like to intercept any attempt to go to another page and prompt the user to be sure they want this to happen since they could potentially lose their current work. Gmail does this ...

How to open IE with post info in CSharp?

Hi, i am developing a small program which as a windows form. On this form, i want to put a link, and when user click the link, a seperate IE browser will be open with post data. Original, i used system.diagnostics.process.start(), however, i can not post data through this kind of call. And i searched the web, some guy suggested to use "...

Incerease DPI resoultion for web page loaded into WebBrowser conriol in C#

Hi All, We would like to display text and images of an web page in higher DPI for example take 300 DPI, but by default C# webbBrowser control uses 72/96 DPI which is currently system uses. Is their any ways to setup the user defined DPI value to the webbBrowser control so that web page gets rendered in higher DPI value. Any help will ...

Internet Explorer PNG DOM Loaded Images

I have a site setup using transparent PNG images that, of course, don't want in IE without the transparency fix applied. Well, the fix is applied but it still isn't working. div, img { behavior: url('/path/to/fix/iepngfix.htc'); } I know it's loading the HTC file correctly as an alert(1) fires upon page load. The images, however, aren'...

TWebBrowser and the Tab key

When using Delphi 2007 and the TWebBrowser control is embedded in an ActiveX control (ActiveForm), the tab key does not work. What is the fix for this? ...

jQuery cycle plugin with transparency in IE

After much searching I managed to find these two Cycle plugin options to allow for transparency in Internet Explorer cleartype: true, cleartypeNoBg: true, The problem I'm getting now is a black block thing around the image that appears during the bounce transition than gets removed once the transition is complete and the image is sittin...

Why can't i use prototype DOM methods on uninserted nodes in ie?

The goal here is to manipulate some DOM nodes before they are inserted into the document, using prototypeJs methods. Test cases: <html> <head> <script type="text/javascript" src="prototype.js" ></script> </head> <body> <script type="text/javascript"> var elt = document.createElement("DIV"); elt.id="root"; elt.innerHTML="<div id...

P3P Policy not working to allow 3rd party cookies in IE

Hi all, Thanks in advance for helping a first-time poster. I've been banging my head on the wall all day... I have a site that must be able to function and set cookies while running inside a frame. In IE, with default security settings, this is a problem, because a framed site's cookies are treated as third party. Now, I've read all th...

Internet Explorer only part loading JavaScript/CSS

I'm having trouble with my local development environment where IE (6 through to 8) is only part loading JavaScript/CSS files. It throws random errors at random places in jquery.min.js every time I refresh, which suggested to me that it's trying to execute before it's finished loading or the connection was closed before it finished loadin...

JQuery draggable element with image - problems dragging in IE and Chrome

I have divs that are defined as draggables. The divs contains one image and some text each. Dragging works perfectly in Firefox and Opera, but in Chrome and IE I can only start the drag by mousedown on the text, not the image. When I mousedown on the image in IE and Chrome, the built in html element drag-drop browser function kicks in - ...

JavaScript IE appendChild() - Unexpected call to method or property access

I have been having this problem in IE. I have two divs which I use to drag selected elements from one to another. Lets say I have a child element (also a div) in div1 and some child elements in div2. I call the div2.appendChild() method on child element of div1. It removes the child from div1 and appends it to div2. If I then try to appe...

absolute position div with overflow hides on load (IE7+)

I have a header/wrapper layout where both div#header and div#wrapper are absolutely positioned, and on load i calculate the top property of the header and height property of the wrapper to ensure that the content is scrollable in the wrapper (overflow is set to auto). For some reason on IE7+, once the content has loaded and the calculati...

How to send JavaScript code to IE using C# (.Net 3.5), run it, then get a string return value from the JS code?

We are developing an application which needs to interact with the active document in IE. Context: The app is a C#, .Net 3.5 desktop app. The goal is to highlight specific text elements in the web page on user request. For this we need to retrieve and interpret web page elements (the need for the return value) then act on them through an...