internet-explorer-7

IE7 issue - cannot download streamed file when Automatic prompting for file downloads is disabled

狂风中的少年 提交于 2019-12-04 07:19:31
My application is J2EE (JSP/Servlet) based. I encounter an issue when i try to open a new window (pop-up) from JSP and call a Servlet action (e.g. Streamer.do) which streams a PDF file inside that pop-up. Problem: While IE 7 -> Tools -> Internet Options -> Security -> Custom Level -> Downloads -> Automatic prompting for file downloads is Disabled and while pop-up window get opened, I am unable to download the file (Save/Open prompt is not comming up). In contrast, when I enable this option, I am able to download. But this option sometimes would be disabled in some environments. While testing

Does IE7 not fully support javascript's insertBefore method?

时间秒杀一切 提交于 2019-12-04 07:04:46
I have the following code which works perfect in Chrome, IE8, and FF. However, I get an error when I'm testing it with IE7. Does anyone have a clue what's happening here? function do_replace(s, p1,p2,p3,child_node,syn_text) { reg = new RegExp('[h\|H][1-7]'); if(p1.length>0){ //this might not be necessary //create textnode var text_node = document.createTextNode(p1); child_node.parentNode.insertBefore(text_node,child_node); //errors out here in IE7 } The code errors out at the last line- IE7 give an "htmlfile: Invalid argument." error when I look at the code through a debugger. child_node,

jQuery Scroll doesn't work in IE 7 and IE 8

时光怂恿深爱的人放手 提交于 2019-12-04 06:42:02
问题 Here is an example of what I use: jQuery(document).ready(function() { console.log('scroll'); jQuery(window).scroll(function () { console.log('scrolling 1'); }); jQuery(document).scroll(function () { console.log('scrolling 2'); }); }); This will only return "scroll in IE 7 and IE 8. And in Chrome, Firefox and IE 9 it will return everything one time and "scrolling 2" whenever I'm scrolling. I am also locked to jQuery 1.3 Does anyone have any idea how to get this working in IE 7 and IE 8? Edit:

How to switch off JavaScript programmatically only for Internet Explorer 7?

限于喜欢 提交于 2019-12-04 06:32:17
问题 I want to turn off JavaScript using JavaScript (and/or jQuery) code, only if the page is viewed in IE7. How can this be done? Would be grateful for the magic code snippet! 回答1: You can check if ($.browser.msie && $.browser.version < 8) and not run your code. 回答2: Use conditional comments. http://msdn.microsoft.com/en-us/library/ms537512(v=vs.85).aspx <![if !(IE 7)]> // Script tags here <![endif]> 回答3: You can´t turn JavaScript off. You can however exclude IE7 by using Downlevel-revealed

Why checked property in css is not working in IE-7?

微笑、不失礼 提交于 2019-12-04 06:02:04
问题 I am using some thing like this in css input[type=radio]:checked + label { color:#121212 } the problem is this the checked property is not working in Internet-Explorer-8 and 7. ifI use like this input[type=radio] + label { color:$888888 } its working properly Please tell me alternate of this 回答1: You can use http://selectivizr.com/ JS. It's support css3 selector in older version of IE. 回答2: The pseudo-class :checked is not supported in IE 7. http://reference.sitepoint.com/css/pseudoclass

IE6&7 causes of “This page contains both secure and nonsecure items”

雨燕双飞 提交于 2019-12-04 03:16:41
I have an HTTPS site that in IE6 & 7 displays (in error) a dialog that reads: This page contains both secure and nonsecure items Do you want to display the nonsecure items? This doesn't happen in any proper browsers, but the site is corporate and lots of customers are still on Windows 2000 and IE6. I am familiar with (and have eliminated) the following possible causes of this message: One or more of the resources loaded with the page have http:// instead of https:// - this is the only legitimate reason to display the error, and would cause the same message in working browsers too. Fiddler can

When does IE7 recompute styles? Doesn't work reliably when a class is added to the body

青春壹個敷衍的年華 提交于 2019-12-04 03:13:55
I have an interesting problem here. I'm using a class on the element as a switch to drive a fair amount of layout behavior on my site. If the class is applied, certain things happen, and if the class isn't applied, they don't happen. Javascript is used to apply and remove the class. The relevant CSS is roughly like this: .rightSide { display:none; } .showCommentsRight .rightSide { display:block; width:50%; } .showCommentsRight .leftSide { display:block; width:50%; } And the HTML: <body class="showCommentsRight"> <div class="container"></div> <div class="leftSide"></div> <div class="rightSide">

Why can't I use relative URLs with IE7?

徘徊边缘 提交于 2019-12-04 03:08:55
问题 I've been Googling for a while and can't seem to find an answer to this question. My problem is as follows: For my jquery, I need my links to be relative rather than absolute. My PHP is set to return relative urls and everything is working fine, until I test it in IE7. For some reason, IE7 keeps changing my relative urls to abosulute, which breaks my js script. Is this normal? Is there a way to get around it? For example: IE8, Chrome, Firefox, Safari etc - <a href='/page' onclick='click

Eternal reloading page with Internet Explorer

China☆狼群 提交于 2019-12-04 02:13:28
问题 I've got a problem with my FB apps with Internet Explorer 7. I'm using this piece of code, provided by FB some time ago : $auth_url = "http://www.facebook.com/dialog/oauth?client_id=" . FACEBOOK_APP_ID . "&redirect_uri=" . urlencode(CANVAS_PAGE . 'index.php') . "&scope=user_likes,publish_stream"; $signed_request = $_REQUEST["signed_request"]; list($encoded_sig, $payload) = explode('.', $signed_request, 2); $data = json_decode(base64_decode(strtr($payload, '-_', '+/')), true); // If first time

XMLHttpRequest won't work in IE 7/8 but works in other browsers

China☆狼群 提交于 2019-12-04 01:09:46
问题 I've developed a web application that works well on chrome and firefox. However when it came to testing time and it doesn't work properly in IE. It just doesn't seem to actually get the request? here's the Javascript code: function createXMLHttpRequest() { var xmlhttp = false; if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else if(window.ActiveXObject) { try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }