internet-explorer

How do you deal with Internet Explorer?

I am aware that there are probably other questions regarding this topic. I guess that every web developer goes through this with IE. My problem: I am developing a web-based application fully based on Javascript. I am a Mac user. I was really happy that everything worked great in Safari, Firefox and Opera. I then asked a friend with W...

Reporting Services auto scroll to an anchor when expanding

Reporting Services appears to believe it is being "helpful" by auto-scrolling the web page whenever a user expands a row group by clicking the plus sign. Short of hacking a Microsoft DLL, does anyone know a way to stop this behavior? Searching around the net, I've found this years-old thread discussing the same issue, but no answer. I...

jQuery iframe scroll event (IE)

Can't listen to the scroll event in Internet Explorer 7. I've tried: $("#myIframe").scroll(function() { alert('hi'); }) Works for FF: $($("#myIframe").contents().get(0)).scroll(function() { alert('hi'); }) Getting keypresses work: $($("#myIframe").contents().get(0)).keydown(function() { alert('hi'); }) ...

How can i debug this ajax script for IE?

I have and an AJAX script in a page that works just fine with no bugs in firefoex, but IE6 loads the page with an ugly error icon on the status bar. What is the best way i can go about fixing/debugging this? Here is the error report: I have checked line 323 many times Here is the function: function checkAvailability(){ var card...

Best way to access client side devices from a web application.

I need to provide support for various scanners and printers to an Intranet web application. Basically the user needs to be able to take pictures using his webcam or camera, scan using his scanner and print through his printer. Because this is an Intranet application, compatibility is not an issue. I can ensure the user has all drivers in...

jQuery .width(val) error in IE - invalid argument

After loading an internal div (#book_table) via ajax, I want to resize the width of the body to accommodate the larger content. var new_width = parseInt($('#book_table').css('width'))+407; $('body').width(new_width); Works in FF and Safari, but fails in IE with "Invalid argument". In the unpacked jQuery 1.3.1, it's line 1049: elem[ n...

Reasons for very low cookie acceptance?

I'm currently building a web-app for a client who would like to utilise cookies to better shape their traffic, etc, etc, you know the drill. So at the end of last week I added a simple cookie write (basically set cookie="helloworld") and a cookie read with a counter to the app, which is effectively just a single page so every request to...

Consume WCF with JavaScript but keep it generic enough for all clients?

I want to create a web service for my clients so they can display their data on their own web sites. Since I will not know what platform each client is running, what would be the best solution to create a proxy to the WCF service that can be used by all browsers? Also, I am not sure how I should present the data. Let's assume my users do...

window.location.hash issue in IE7

We have a javascript function that should "move" a page to a certain position using anchors. This function just does window.location.href = "#" + hashName. This works in FF, but not in IE. I tested this code using IE7 under Windows XP. I have tried using window.location.href, window.location.hash, window.location.replace and all these w...

how to track down "this page contains both secure and nonsecure items"

As far as I can tell, there are no unsecure items --- when I browse to the site with IE7 or FireFox 3 I don't get any such warning, but if I hit the site with IE6 I get the security informaiton dialog box "This page contains both secure and nonsecure items Do you want to display te nonsecure items?" How can I track down the cause of tha...

IE loses css styles after table rows are appended with javascript

I have a problem where i am doing an ajax fetch of some table rows which i use to replace a table's body. The problem is that sometimes IE(6/7) decides to forget about all page styles after such an append. (that is to say, it reverts to using styles in css includes at the top of the page, but not styles defined on the page itself) I h...

jQuery Cross domain ajax calls and Internet Explorer

The following code works fine in Firefox but in IE the link is never called, the exception is called with a rather generic [Object Error] var GoalID = "e13e68a8-ae18-49f1-9d2f-e052a63fac51"; try { $.ajax({ type: "GET", url: "http://www.externallink.co.uk/GoalAccessed.aspx?id=" + GoalID, dataType: "script" }); }...

How can I set the focus of a browser tab in IE?

Setfocus() only works on windows, not browser tabs. Any ideas? ...

Rounded corners on a fieldset

Hi, I noticed that the "fieldset" tag renders a rounded corner border on IE (it renders squared on the other browsers). <fieldset> <legend>My legend</legend> </fieldset> BUT if i set a CSS style on the fieldset, the rounded corners disappear!! Anybody know why? How to keep the rounded corners but with another border color?...

How to change an image's ImageUrl attribute on page load with asp.net and C# in IE

I have links on a homepage that may or may not have attachments associated with them. If the links have attachments, then an icon will be placed next to the link. The icon will only be there if the link has an attachment. protected void Page_Load(object sender, EventArgs e) { foreach (Image pic in imgAttachment) ...

reusing Internet Explorer COM Automation Object

I am using VBScript macros to utilize the InternetExplorer.Application COM automation object and I am struggling with reusing an existing instance of this object. From what I have read, I should be able to use the GetObject() method in vbscript to grab a hold of an existing instance of this object. When I execute the following code I g...

prototype.js - Element.insert( Element) ignored under IE 6?

I am using IE 6 (corporate mandated version) on XP, as well as (primarily) Firefox 3. In these, I am making a DHTML table using the prototype.js library version 1.6.0.3. I have event handler javascript code to add a row to the table, which works fine under Firefox, but is completely ignored under Internet Explorer. I can walk through ...

Flash player 10 - full screen mode and keyboard

I am writing Flash app (Flash Player 10, AS 3.0) that is full screen capable. I got that part sorted (allowFullscreen=true, stage.displayState). I would like to give users ability to tab through the items there and activate them using space (MouseEvent.CLICK ;-). I know that any keyboard actions are blocked in full screen mode. This Ado...

Css fixed display not working in IE6

I'm trying to duplicate the getsatisfaction tab kind of effect - it works fine in IE7 and Firefox and almost every other browser but its all messed up in Explorer 6 - I hate IE6 but heck its the most commonly used browser - my tab is now instead of being overlayed on the side is sitting at the top corner of my page pushing all the page c...

Disable Internet Explorer 8 Developer Tools

Is there a way to either disable Internet Explorer 8 Developer Tools, or at least change the shortcut key mapping? I'm working on an ASP.NET AJAX app that has used the F12 key for a function for years (it's actually a hold over from the original DOS app). Customers have used this key for the sam function for nearly 15 years and we'd ...