internet-explorer-6

File download in IE6 gets the wrong filename

泄露秘密 提交于 2019-11-29 10:52:12
I have a PHP script being served over https:// that is trying to push a PDF file to the user. The problem that in Internet Explorer 6 (which unfortunately I still have to support) is not obeying the filename being set in the header. FireFox and IE7 are both working properly. The file name keeps coming out as a random name with the correct extension. Example: "CAOTC5K3.pdf", "CAXSIPXV.pdf" or "CA1OCVTX.pdf" If I un-comment out the "Content-type" line, IE6 gives me an error, and tries to download the file inline with the name of the querystring that was passed to PHP. <?php //header( "Content

Simple javascript string problem in ie6 and ie7

↘锁芯ラ 提交于 2019-11-29 10:38:01
I have a very simple function that takes a list of comma separated (x,y) points and imports them into a graph. I have FF, Chrome and IE8 installed. I use IETester to test for IE6 and IE7. // Import Data this.Import = function(data) { alert("Data in: "+data); var d; // Make sure the first and the last are start/ending parenthesis if ( (data[0] != '(') || (data[data.length-1] != ')') ) { alert("After if: "+data[0]+" "+data[data.length-1]); return false; } ... In Chrome, FF and IE8, I don't see the "After if:" alert. In IE6 and IE7, I see the following two alerts: Data in: (52,16),(100,90) After

Can't execute code from a freed script - IE6 IE7 IE8 IE9

ε祈祈猫儿з 提交于 2019-11-29 10:16:13
I ran into this problem today in IE6 (but is reproducible on all recent version of IE). I noticed quite a few people run into this problem and I haven't seen a very practical way to fix this. There seems to be some other solution floating about regarding the order of script tags and meta tags in the head of the HTML document. I haven't confirm this but here's a link anyway: What causes the error "Can't execute code from a freed script" I also know the solution to this problem so I'm posting it below First of all you need to locate the source of the message. IE is known for it's abysmal error

How to workaround: IE6 does not support CSS “attribute” selectors

家住魔仙堡 提交于 2019-11-29 09:21:01
One of the projects which I am working uses CSS "attribute" selector [att] CSS Selectors which is not supported by ie6: Support for CSS selectors in IE6 (look for text "Attribute Selectors") Is there any workaround/hack which is of course valid html/css to overcome this problem? Since IE6 is essentially limited to: class selectors ID selectors (space) descendant selectors a:-only pseudo-selectors your only options are: Use more classes to identify your elements Use JavaScript ( strongly not recommended except in highly specialized cases) I find it very helpful to take advantage of the ability

Why is ContentEditable removing “ID” from div

喜你入骨 提交于 2019-11-29 08:49:48
I am having problems with getting a HTML editor working. We are using “contentEditable” to implement it, however when any paragraph formatting option is done without contents selected, IE removes the ID from one of the divs in the page. The problem repeats for me with the HTML, just save it to a file, then open it in IE enable jscript when asked push the button check you get two message boxes first one says “MainContents = object” second one says “MainContents = NULL” I am using IE 6.0.2900.5512 with XP SP3 So does this repeat for you? What is going on? <html> <head> </head> <body id="BODY">

How to use semi-transparent png images in IE6

我与影子孤独终老i 提交于 2019-11-29 05:07:58
How can I use semi-transparent png images in IE6? In fact you can using IE6 PNG Fix. There are some limitations, but overall, it works just fine. I have to say I prefer DD_belatedPNG over supersleight. It's way easier to implement and doesn't seem to deadlock IE6 plus hover works out of the box. http://www.dillerdesign.com/experiment/DD_belatedPNG/ Be aware that the AlphaImageLoader transform can deadlock IE6 . Use PNG8s instead of regular PNG32s. You are restricted to 256 colors and 1 bit of alpha transparency, but it beats randomly deadlocking the browser. I had an issue once about png

Hiding some HTML from IE6?

僤鯓⒐⒋嵵緔 提交于 2019-11-29 04:13:43
I've tried: <!--[if lt IE 6.0]> HTML TO HIDE FROM IE6 <![endif]--> but unfortunately the stuff gets hidden from firefox too. Anyone have methods that work? I want the stuff to be hidden from only IE6 Thanks You can actually use conditional comments to hide things from Internet Explorer contrary to the answer from deceze. These types of conditional comments are called ' Downlevel Reveal Conditional Comments '. (These are different from comments used to show things to internet explorer which are more common, those are known as 'Downlevel hidden conditional comments') <!--[if lte IE 6]><![if gte

window.open() returns undefined or null on 2nd call

北城以北 提交于 2019-11-29 02:36:48
I have the follow scenario: I click a link which: opens a popup window called 'popup' which loads a pdf inside of it (in IE6). without closing the popup, i click the link again, which should reopen the pdf inside the popup, but instead a javascript error in thrown: member not found the javascript function used to open the popup is: function openWindow(url, name, props) { var windowRef = window.open(url, name, props); if (!windowRef.opener) { windowRef.opener = self; } windowRef.focus(); //error at this line, windowRef must be null return windowRef; } question: how do i get around this, without

Min-width in MSIE 6

夙愿已清 提交于 2019-11-29 02:28:26
What is the definitive way to mimic the CSS property min-width in Internet Explorer 6? Is it better not to try? kch foo { min-width: 100px } // for everyone * html foo { width: 100px } // just for IE (or serve a separate stylesheet to IE using conditional comments ) You could use an expression (as suggested by HBoss), but if you are worried about performance then the best way to do this is to add a shim inside the element you want to apply a min-width to. <div id="container"> The "shim" div will hold the container div open to at least 500px! You should be able to put it anywhere in the

IE hanging, using 100% of the CPU

…衆ロ難τιáo~ 提交于 2019-11-29 01:57:25
问题 I have a web application, which in the course of a normal interaction, hangs IE. By "IE being hung", I mean that IE doesn't respond anymore and using 100% of the CPU. The only to get out of this state is to kill the IE process. About the app: It loads only one page in the browser, communicates with a server with Ajax queries, and updates the DOM. I can reproduce this with both IE6 and IE7, but not Firefox or Safari. I am wondering if anyone has seen this already, and if there are a few known