internet-explorer

IE8 inherits width of parent element

Hi, I want a box with at least two elements inside and every element should be as big as the biggest element. This works fine in FF/Safari but not IE. <html> <head> <title>whatever</title> <style> .box { display: table; width: 250px; border: 1px solid red; padding: 10px; } .top { ...

Start javascript profiling in IE from js-code

I want to start and stop js-profiling from my js-code in Internet Explorer. Like we can do it in Firefox through: - console.profile() - console.profileEnd() Does anybody know whether it is possible in IE? ...

Python: Open IE Browser Window

The webbrowser library provides a convenient way to launch a URL with a browser window through the webbrowser.open() method. Numerous browser types are available, but there does not appear to be an explicit way to launch Internet Explorer when running python on windows. WindowsDefault only works if Internet Explorer is set as the defaul...

In what case does IE8 block Javascript and how to avoid it ?

I got a web site using jQuery, jQuery Tools and some handcrafted JS running performing graphical enhancements. While it's running smooth on FF, Safari and Chrome, IE blocks the script execution : There is nothing particularly more dangerous on this code than, let's say, on Netvibes. Why is even talking about activeX ? I'm using JS. ...

Why does sharing PHP sessions between concurrently open pages seem to work in FF, but not IE or Chrome?

EDIT I just realized that I must have had a massive brain fart while writing the abbreviated code sample. See, I'm using smarty. Thus, I'm actually already using Kips's solution, because smarty displays after the session is saved I've been working on implementing a resource manager (for condensing, compressing and minifying CSS & JS) ...

IE exec command rich text editing

I'm tring to insert an image in a WYSIWYG editor, but I can't insert images in Internet Explorer(6/7), although it works fine within Firefox. It fails without throwing any errors. This is what I'm using: execCommand('insertImage', false, 'absolute/path/to/an/image'); ...

Height 100% not working for DIV tag in Internet Explorer 8

I have the following code that I am using to display a search tool with a scrolling results section. In IE the code works fine: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html style="background:black;height:100%;width:100%;"> <head> <title>Report</title> </head> <body style="background:blac...

JQuery selector problem in Internet Explorer

Hi! I have a jquery selector that looks like: var val = "John's cars"; $('#subject input[value="'+val+'"]') This works just fine in Firefox, Chrome, Internet Explorer 8, but not in IE 6 or IE7. The problem is the ' in the text search for. Someone has any idea how to work around this problem except to loop through all inputs in questi...

jquery: nested tags and hover() not working in IE

hello folks! i have a construction like this: <div id="container"> <span> <span></span> </span> <span> <span></span> </span> </div> i need to catch the mouseout event of the container, so i made jquery do this: $("#container").hover('',function(){ alert("Out"); }); In Firefox / Opera, it only fires the mouseout-function...

XSL parsing is shortening script tag causing issues in IE

I have a C# application that generates an html document from transforming an xml file with an xsl file. In my xsl template I reference an external javascript file like this: <script language="javascript" type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js" ></script> after the transformation the previ...

Capture contents of Firefox/IE error console through code?

Is it possible to capture the contents of either the Firefox or IE javascript error console? I'm thinking adding a feature where when a user clicks the 'Report A Bug' link on my site, it also sends along the contents of the console, incase there are any useful errors in it. That way I don't have to tell them to manually open it and copy ...

Weird line showing up in Internet Explorer on Vista

A client of mine is saying that there is a line showing up in Internet Explorer on Vista. I only have Mac and XP machines so I can't see what she sees... I've attached a screen shot she sent me: http://img522.imageshack.us/img522/1296/internetexplorervista.jpg The website address is: http://www.sodababy.com.au/ Any ideas what could b...

Links to ASP.NET application in MS Word document

I am observing a weird behavior when clicking links to my ASP.NET application in MS Word 2003 / 2007 document. I have IE8 installed. When I click a link in the document the request that is sent has the user-agent IE7(!?). A new session object is created. Right after that out of nowhere a second request appears this time having user-agen...

how to set a cookie in the address bar?

I want to add a cookie so that I can exclude my interaction with my website from google analytics (I don't have access to put files on server as is third party application) Is it possible to set a cookie with javascript by executing code in teh address bar of the browser? ...

Prevent jumpy fieldset when hovering in IE8

I have a fieldset inside of a fieldset. Each type of fieldset changes color when hovered over. Works great in Firefox, but in IE8 and IE8 in IE7 compat mode, when I hover over the child fieldset, it jumps (it looks like some padding gets removed, but that's not what my css says). Can someone help me figure out how to prevent the jumpy...

Getting the value of a SELECT box in Internet Explorer

I have a select box: <select id="item1" name="Item 1"> <option></option> <option>Camera</option> <option>Microphone</option> <option>Tripod</option> </select> And I have this JavaScript: var item1= document.getElementById("item1").value; item1 always shows empty, never the option sele...

Javascript Popup IE Error

I've stepped into a new position and am tasked with cleaning up pre-existing code. I will be posting a Javascript function for building hotel reservations by using a base URL and then carrying over variables to the other site. More clearly, this function allows your to access Site A and search for hotel reservations on Site B. The fun...

JQuery Slideshow Choppy in IE

I have created a slideshow using JQuery, and it works greate in all browser except, of course, IE. I'm not worried about IE6 or 7 right now, but even in IE8, the transition animations are very choppy. Does anyone have any idea what the solution could be? This is very smooth in Firefox, Safari and Opera: http://www.pfconrey.com/wedding...

Why do $.getJSON and $.ajax both return immediately in IE?

I am trying to make an asynchronous request to get some data from my server. This all works perfectly well in Firefox but in Internet Explorer, the callback is being called immediately, before any data is received. $.ajax({ url: "charts.php", data: { site: site, start: toDateString(start), end: toDateString(end) }, cache: f...

Internet Explorer 7 & 8 issue with Prototype 1.6.1 - Could not complete the operation due to error c00ce56e.

I'm at a loss. I found a few things that mentioned IE needed to have the response type specified and I changed that to text/html and that did nothing for me. There Error: Could not complete the operation due to error c00ce56e. prototype.js, line 1564 Points to in prototype.js: if((readyState > 2 && !Prototype.Browser.IE) || readySta...