internet-explorer-6

IE6 Absolute positioning

五迷三道 提交于 2019-12-07 02:51:27
There is structure. ad is positioned relative. And the all other divs in div.ad positioned absolute. top-left, bottom-left, top-right, bottom-right styles looking as it should. But "inside", "left", "right", "top", and "bottom" styles not working. left, right dont have specific heights and top, bottom dont have specific widths and inside dont have both bec div.ad's height and width expandable. Its working on IE 7,8,9 Opera 10.50+, Chrome and Firefox Modern browser screenshot http://i56.tinypic.com/2ia8tj5.png IE6 Screenshot http://i54.tinypic.com/2yozvar.png <div class="ad"> <div class="bottom

Simulating position: fixed in IE6 with a div of 100% height?

旧巷老猫 提交于 2019-12-06 16:49:09
问题 I have a sidebar on my webpage that is supposed to span 100% of the page (vertically). It is then supposed to stay there, so when the rest of the content scrolls it does not. To do this, I used: body { height: 100%; } #sidebar { height: 100%; width: 120px; position: fixed; top: 0; left: 0; } This works great in all modern browsers! Unfortunately, I have to code for IE6, which does not support position: fixed. Do you have any idea how I would do this? 回答1: This is the fix » Me? I'd just as

postMessage() alternative for ie6/7 between iFrames and/or pop ups

◇◆丶佛笑我妖孽 提交于 2019-12-06 15:29:41
I am attempting to create a login button for web application which either loads an iFrame or a pop up window. Similar to that of Facebook login button. Im currently using the postMessage() method which works a treat. However I know that it wont work in IE6/IE7 which I need to support. Is their any alternatives I could possibly use? or am I hoping for to much from the "awesome browser" that is IE6? Back in the day, I used to write IE6-based websites that opened popups and communicated between the popup and the original window. So it can be done. The browser provides a few objects you can use

Blank page in IE6

Deadly 提交于 2019-12-06 11:16:31
A site I am working on that is built using PHP is sometimes showing a completely blank page. There are no error messages on the client or on the server. The same page may display sometimes but not others. All pages are working fine in IE7, Firefox 3, Safari and Opera. All pages are XHTML with this meta element: <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> It appears that I have fixed the problem by adding this PHP code: header('Content-type: text/html; charset=utf-8'); I have read that this problem may be caused by XHTML, encoding, gzip compression, or

jQuery: Problem with windowed controls in IE6

做~自己de王妃 提交于 2019-12-06 10:29:24
I have a web page which contains a select box. When I open a jQuery Dialog it is displayed partly behind the select box. How should I approach this problem? Should I hide the select box or does jQuery offer some kind of 'shim' solution. (I have Googled but didn't find anything) Here is some code: <!DOCTYPE html> <html lang="en"> <head> <title>testJQuery</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="GENERATOR" content="Rational Application Developer"> <link rel="stylesheet" href="theme/smooth/theme.css" type="text/css" media="screen" /> </head>

how to fix opacity on IE6

限于喜欢 提交于 2019-12-06 06:35:19
问题 how to fix opacity on IE6 This code does not work on IE6 ! filter:alpha(opacity=50); -moz-opacity:0.5; -khtml-opacity: 0.5; opacity: 0.5; And this code ! $('#description').animate({opacity: 0.0}, 1000); 回答1: If you're working with opacity in jQuery, then the fadeIn, faceOut and fadeTo function should be better than animate . In your case it would be $('#description').fadeOut(1000); Or with fadeTo , $('#description').fadeOut(1000, 0.0); But it is work on IE6! :( http://jsbin.com/owisa/3 Where

IE6 Memory Leak on Refresh?

走远了吗. 提交于 2019-12-06 03:32:17
问题 I reload a page every few seconds to get an update from the server, this page can be open and this can happen forever - I am guessing, espcially since this browser is on a remote server which isn't turned off. I do this: setTimeout(function () { location.href = location.href; // forces a reload from the server }, 1000*10*0.5); I have noticed that IE6's memory usage keeps increasing and increasing. The page does nothing apart from the refresh and display html. Why does this happen? How can I

How to detect if a user is running IE 6?

懵懂的女人 提交于 2019-12-06 02:23:56
I need to be able to tell if a page is being viewed in IE 6. How can I do this in javascript while ignoring version like 7, 8, or other browsers? straight from the horse's mouth (and one googling away): function getInternetExplorerVersion() // Returns the version of Internet Explorer or a -1 // (indicating the use of another browser). { var rv = -1; // Return value assumes failure. if (navigator.appName == 'Microsoft Internet Explorer') { var ua = navigator.userAgent; var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); if (re.exec(ua) != null) rv = parseFloat( RegExp.$1 ); } return rv; } You

jQuery / underscore.js templating - Compatible with IE 6+?

筅森魡賤 提交于 2019-12-06 02:16:49
So, I just learned about these recently and am about to put them into a site. Now, the question I am posing is, does this at all throw any kid of errors in IE 6+? Yes, I know IE6, what can you do.. When I say errors, I mean IE errors / warnings. Appreciate all the help as usual, thanks in advance. -Wes Firstly, yes: jQuery does work with IE6 -- it says as much on the jQuery Homepage (hover over the "Cross browser" link and you'll see a popup that says IE6+). (having said that, a lot of third-party jQuery plugins are not IE6 compatible, so be careful about that) Underscore.js I'm less certain

IE6 does not parse the loaded JavaScript file (Recaptcha hosted by Google)

99封情书 提交于 2019-12-06 00:10:28
This is a really strange issue, I am trying to use the Recaptcha on one of the website, and it works for all browsers tested except for IE6. I have made a reference to the google's js: http://www.google.com/recaptcha/api/challenge?k=the_key and it is loaded according to fiddler2 & the 'onreadystatechange' event (which have a readystate == 'loaded') The normal work flow should be the loaded JS been parsed, and another js been requested, then the image loaded from google. my problem is that the first loaded JS file (content similar to below): var RecaptchaState = { site : 'xxxxxxxxxxxx',