internet-explorer

Bugfixes for IE6, IE7 - how frequently it should happen?

Hi, The question is quite theoretical. Let's say you're implementing a normal (or small or complex) theme for a website and IE is an important requirement. The question is: how frequent you would do the design fixes for IE (or any other browser that makes you headache)? Just a short of my thoughts to raise the debate: If you're doing i...

Strange behavior of li backgrounds on hover in Internet Explorer (IE)

So I have a simple flickr image feed on http://cure.org/ just above the footer. The feed is contained in a relatively positioned div, with an ul inside, and li that contain the <a> and <img> inside. The img is absolutely positioned inside the relatively positioned li, and the li has a background to give a photo border effect. The proble...

Javascript: Where is the error IE is finding in this script?

IE continues to give me an error on the next-to-last line stating "Object required". I am not sure where the issue would be. Any advice? function showdiv() { document.getElementById("dialogue").style.display = ""; document.getElementById("screen").style.display = ""; document.getElementById("screen").style.width = getBrowserWidth(...

Why do inputs and selects use different box models?

It appears (at least in IE 8 and Firefox 3) that for <input> elements the width refers to the content, but for <select> elements the width refers to the content + borders. I am explicitly specifying the width in the CSS style. What's the deal? I would have thought that both are inline replaced elements and would behave identically. I...

How can I embed a Java applet dynamically with Javascript?

I want to be able to insert a Java applet into a web page dynamically using a Javascript function that is called when a button is pressed. (Loading the applet on page load slows things down too much, freezes the browser, etc...) I am using the following code, which works seamlessly in FF, but fails without error messages in IE8, Safari...

Determining how many functions are declared at the global scope

Is there any way to determine how many or what functions are defined at certain scope?, let's say the global scope... I don't think so, but I give it a try here EDIT: looping through window properties does not work in IE for this purpose. Is it doable in IE? ...

Internet Explorer strange text selection behavior - cannot select fragment of text containing whitespace

I need to enable selecting certain fragment of text in IE for further JS processing. Unfortunately, IE has strange text selection behaviour - when you try to select text fragment that contains whitespace, IE will extend selection to the whole words, e.g. if you try to select (using your mouse) only: rem ips fragment from the sentence: L...

overlay is not working in IE6?

Iam using the following code in my file for overlay image.This works fine in firefox but not in IE6.Can anyone please suggest a solution for this?? <div id="1" onclick="document.getElementById('div1').className = 'nodis';" CLASS="nodis" style="width:100%; background:url('/gifs/overlay.png');" align="center"> ...

Picture not displaying on IE !

Hi, I have a laughing problem : I upload a picture on my server. This image is displaying on Firefox, but not on IE, why ?? ...

Firebug alternative for the IE

Hi, Is there a good alternative to Firebug that I could use with IE 7 and 8? I'm interested in modifying CSS/HTML on the go, as well as debugging some of the java script and viewing the positions of certain elements on the page. THank you ...

WebBrowser Control in 32bit app Launches 64bit Internet Explorer on window.open() call

I have a 32bit application running on Windows 7 64bit. The application (written in C++) hosts a WebBrowser control. When the WebBrowser control is asked to popup a new windows (through a javascript window.open() call), it launches a new Internet Explorer process. In particular, this new IE process is a 64bit IE process. Since web pag...

this.value is working on Firefox, but not in Internet Explorer?

I have an onChange event on a select. When I do an alert(this.value), it's working on Firefox, but not on Internet Explorer. Why not? This is the code: <select onchange="new Ajax.Updater('fiches', '/~project/index.php/folder/fiche', {asynchronous:true, evalScripts:true, parameters:'fiche=' + this.value});" class="input" id="fiche" nam...

How to create plugins/addons for firefox, IE and chrome

Hi I need to create plug-ins/add-ons for IE, firefox and chrome browsers for the following requirement: If the url requested is in a particular format/ matching a particular regex pattern, the plugin has to block the request and pop up and alert box. I have searched a lot but did not find anything helpful. For IE, I think we can creat...

Select box's selectedIndex being set to -1 when option removed in Internet Explorer

Hi guys, I have two select boxes (available products and selected products). The use moves the items from one listbox to another. This works fine but in IE when i do a .remove(selectedIndex) (Javascript) on the option they selected the selectedIndex of that box gets set to -1. I want the listbox to remain in the same position but just ...

Prototype Ajax call yields 12152 in IIS but only when running IE

We have an ASP.NET 3.5 app that relies on Prototype for Ajax calls. It is hosted on IIS 6 in Windows 2003 Server. It uses Integrated Windows Authentication. Here are the scenarios in which it works: Running on default site Running on new site when client is running Fiddler and IE Running on new site when client is running Firefox Ru...

C#, right click in internet explorer using watin

Hello all, Using WatiN, I'm loading up http://maps.google.com/ All I want to do is right click the map and click "Center map here" when the context menu pops up. Another great feature would be to be able to "drag and drop" the mouse on the map so as to make the map scroll. I would really appreciate some help. Thankyou very much, Fid...

Where does the "item" object come from in javaScript...

Messing with some javaScript, I found that the variable name "item" was already being assigned before I declared it or assigned anything to it. Tracing it backwards, I found that it even seemed defined before I did ANYTHING in js. To verify this, I even put <script>alert(item);</script> on a line by itself IMMEDIATELY after opening ...

IE not recognizing jQuery selector

Here's the snippet of code that I'm using to animate a div with jQuery: $('.row0').hover(function(){ var markeranim = $('.marker0'); var shadowanim = $('.markerShadow0') var markertop = markeranim.position().top; var shadowtop = shadowanim.position().top; var shadowleft = shadowanim.position().left; ...

Disabling graphic element selection in VML and Internet Explorer

I have a JavaScript application that lets users move shapes around a drawing area, and I happen to be using the Google Closure library. In FF/Safari all is good. In IE, as graphic elements are moved, they get selected by the browser (both the moving element and other elements), showing colored dotted background around some elements in un...

IE 8 input type text/password bug

<tr> <td>Password:</td> <td><input type="password" name="j_password" id="j_password"/></td> </tr> The code above increases the CSS offset of the input element 6 pixels right. If the type is changed to 'text' as opposed to 'password' the CSS offset is not increased. I would file this as a bug with MS but I don't have the time nor e...