internet-explorer-7

Black border on IE7 buttons on textarea/input focus

我们两清 提交于 2019-11-30 15:38:30
I've run into a weird IE7 problem.. I have some standard CSS styled buttons with a background picture and a solid 1px blue border. They work as supposed except in IE7.. If I click inside a form element (textarea/input-field) it automatically adds a black border on my buttons.. Sometimes it also happends in other cases where elements are in focus/active.. You can see a simple example here The thing is that I need the border on the buttons for styling reasons, so isn't there a way of disabling this behaviour in IE7 without removing the original border - either with CSS or jQuery? I blogged about

401 - Unauthorized in IE7 only with windows authentication.

前提是你 提交于 2019-11-30 15:14:57
I've created an intranet site that uses windows authentication In chrome I can access the site instantly, and in FF it requires Active Directory login. But with IE7 I'm getting the following error: 401 - Unauthorized: Access is denied due to invalid credentials. You do not have permission to view this directory or page using the credentials that you supplied. Im unsure as to why its okay in other browsers but not IE? Any help appreciated. Thanks aditya Solution: IE is using Kerberos and not falling back on NTLM like Chrome and Firefox. You must force NTLM authentication in IIS7.5 by following

Solve IE7 bug “input type=file” onchange fire twice?

こ雲淡風輕ζ 提交于 2019-11-30 14:57:05
Did you ever face this IE7's bug: <input type="file" id="xxx"> <script> $('#xxx').change(function(){ alert(1) }) </script> when I click the input & pick a file, the alertbox shows the first time. Then I click on the blank area on the body, the alertbox shows once again. This happens even when I bind the change event to input:file with JQuery 1.6 (lastest at this moment). How could I prevent this by the simplest way? Thanks for all suggestions! This is what I've made after some hard hours of "brain storming" : $('input:file').click( function(){ $(this).one( 'change', function(){ alert(1) /*do

How to add querySelectorAll() function to Element for IE <= 7?

故事扮演 提交于 2019-11-30 13:54:40
With the code from this article I've successfully added querySelectorAll to document in IE7. But I need to use it on an element rather than document , like this: var containers = document.querySelectorAll('.container'); // Works for (var i=0; i<=containers.length; i++) { var container = containers[i]; container.querySelectorAll('a[data-type="people"]'); // Fails // ... } Is there a way to add querySelectorAll to elements in IE7 rather than only to document ? Very interesting question. I would lean toward using a library for this, like jQuery , one of the ones mentioned below, Closure , or any

I get this error! [ 'return' statement outside of function ]

那年仲夏 提交于 2019-11-30 13:21:41
I was creating a form validator for a client and ran into this weird error ONLY in Internet Exploder (Explorer) 7/8.... 'return' outside of function, line 1, char 1 Of course, there was no code whasoever on line 1, it was a simple commented statement. And there was nothing wring with it in any way. So I knew it was just a debug miss-direct. I have been pulling my hair out to understand what could be wrong here... I have already ruled out the obvious: return statements in a loop, too many return statements in a single function, any returns actually outside of a legitimate function definition.

jQuery Validation plugin, IE7 “SCRIPT3: Member not found”

扶醉桌前 提交于 2019-11-30 12:04:31
问题 I have the following: <html> <head> </head> <body> <div> <form method="post"> <div id="questions"> <label for="question-6">Name of Course:</label> <input type="text" name="name_of_course[response]" value="" id="question-6" class="required"> <label class="control-label" for="reporting-year">Reporting Year: </label> <select name="reporting_year" id="reporting-year"> <option value="-1" selected="selected">Select option...</option> <option value="4">2013-2014</option> <option value="1">2012-2013<

IE7 iframe blank page

折月煮酒 提交于 2019-11-30 09:51:58
I am working on a web page which has an iframe and I am loading an external site in the iframe. The page works fine in IE6, FF etc but in IE7 all I see is a blank page. I found that this is due to the phishing filter in IE7. The phishing filter will not be able to check the web page inside the iframe so it will not be rendered properly. Have you faced this issue before? How can I resolve it? Edit: Okay. After seeing first two answers I think I should give some more explanation to this. The page is for payment processing and I am loading a page (of a 3rd party company) which asks for credit

Fancybox v.2.1.2 not opening on IE7

天大地大妈咪最大 提交于 2019-11-30 09:36:01
问题 I am using Fancybox v.2.1.2 in Wordpress (not a plugin). In IE7, I have the loading but it does not opening anything at all. Here is my JS code <!-- Add fancyBox main JS and CSS files --> <script type="text/javascript" src="/path/to/fancybox/source/jquery.fancybox.js?v=2.1.2"></script> <link rel="stylesheet" type="text/css" href="/path/to/fancybox/source/jquery.fancybox.css?v=2.1.2" media="screen" /> <script> jQuery(document).ready(function() { jQuery("a.fancybox").fancybox({ padding : 0 });

IE7 Absolute element appearing behind relative one

南笙酒味 提交于 2019-11-30 09:04:27
问题 I know there is the bug where absolute elements appear above relative ones. However I am getting the reverse of this issue. The z-index on the "bottom" element is 1 and has a position:relative assigned. The top element has absolute positioning and a z-index of 99. This works fine in Firefox, Webkit based browsers and IE8. Any ideas about why this could be happening? 回答1: In Internet Explorer positioned elements generate a new stacking context, starting with a z-index value of 0. Therefore z

radio Buttons and .attr('checked','checked') does NOT work in IE7

二次信任 提交于 2019-11-30 08:43:44
Is there any way to get radio buttons checked upon appending in IE7? What seems to work in every browser, doesn't look like it works in IE6,7 despite reading everywhere that I'm doing it correctly. I have absolutely no idea why it's not working. var $itemVariantRowRadio = $("<input/>") .attr("type", "radio") .attr("name", "itemvariant") .addClass("itemvariant") .val('whatever'); $itemVariantRowRadio.attr('checked', 'checked'); $itemVariantRow.append($itemVariantRowRadio) Now if I do a console.log($itemVariantRowRadio.attr('checked') in IE6/7 then it says that it's set to TRUE but the radio