internet-explorer-7

Surplus in ie7 and ie8 intead of being Transparent while using PNG transparent and opacity

依然范特西╮ 提交于 2019-12-04 16:32:20
I am developing a project that uses the PNG transparent and Opacity but, the area has a surplus in IE7 and IE8 instead of being transparent, it is black, can someone help me? print of area Thanks I have a solution for this, have used on multiple sites before. Simply run this function after your html content has been written to the page: function fixPNGs(){ if(jQuery.browser.msie && jQuery.browser.version < 9){ var i; //alert(document.images.length); for(i in document.images){ if(document.images[i].src){ var imgSrc = document.images[i].src; if(imgSrc.substr(imgSrc.length-4) === '.png' || imgSrc

ie7 - relatively positioned div does not scroll in its container

柔情痞子 提交于 2019-12-04 16:12:09
I have a div with a scrollbar. Within it, I have various elements, one of which is an link with display:block and position:relative; Inside of this link are an img with default positioning, and an h3 tag which is supposed to appear over the top of that img, with position:absolute. When I scroll the DIV, other things scroll properly, but these elements and their contents stay fixed. Any ideas on how to solve this bug? Here's a fiddle, and the approx. code is below: http://jsfiddle.net/Z987x/ <a class="slider_link" data-ident="herb-garlic-roast-tenderloin" href="http://superfadlabs.com/clients

PHP get_browser: how to identify ie7 versus ie6?

北城余情 提交于 2019-12-04 15:14:08
Is there any way to differentiate IE7 versus IE6 using PHP's get_browser() function? You can do so as such: $browser = get_browser(); if($browser->browser == 'IE' && $browser->majorver == 6) { echo "IE6"; } elseif($browser->browser == 'IE' && $browser->majorver == 7) { echo "IE7"; } A quick look to the official get_browser() documentation would of answered your question. Always read the documentation before. I read that get_browser() is a relatively slow function, so I was looking for something speedier. This code checks for MSIE 7.0, outputting "Otay!" if true. It's basically the same answer

In IE7 the first click on a grid causes an ExtJS Ext.grid.GridPanel to jump to the top of the page

旧巷老猫 提交于 2019-12-04 13:04:44
I have a strange issue with an Array fed ExtJS gridPanel - in IE7 only, before the rowclick event is fired, when I click on a row, the page scrolls up 2-3 rows. On repeated clicks, the page scrolls up until the page is at the top of the page. Then only the rowclicks are passed through to my handler. I only have two listeners registered on this grid: listeners: { rowclick:function(grid, rowIndex, e) { ... my handler }, sortchange : function(grid, rowIndex, e){} Do you have any ideas? I experienced similar bug in Internet Explorer 7. For me zoom:1; position:relative; on surrounding container

How do you enable a disabled radio button using jquery in ie7

有些话、适合烂在心里 提交于 2019-12-04 11:57:29
This works in Firefox. How can I make it work in IE7? $( '#addressSection input:radio' ).attr( 'disabled', false ); I've also tried these to no avail: $( '#addressSection input:radio' ).removeAttr( "disabled" ); $( '#addressSection input:radio' ).attr( 'disabled', 'false' ); $( '#addressSection input:radio' ).attr( {disabled: false} ); $( '#addressSection input:radio' ).attr( {disabled: 'false'} ); Here's the radio button html as it is rendered by IE7. The original is written in Spring and custom tags. <div id="addressSection"> <div class="column"> <ul class="simpleForm"> <li> <input id=

Reposition drop down menu if near edge of window

偶尔善良 提交于 2019-12-04 11:40:51
I'm using the following code to reposition my drop down menus if they fall outside of the browser window area. However it does not work in Internet Explorer 7 and 8. jQuery(document).ready(function(){ jQuery("#nav>ul>li").each(function() { pos = jQuery(this).offset(); if(pos.left + 100 > jQuery(window).width()+window.pageXOffset-jQuery(this).width()) { jQuery(this).addClass("nav-shift");} }); }); The window.pageXOffset property is not supported in IE (7 and 8, at least). Try $(window).offset().left instead: jQuery(document).ready(function(){ jQuery("#nav>ul>li").each(function() { pos = jQuery

IE7 and “inherit”: ignoring entire rule?

萝らか妹 提交于 2019-12-04 11:31:30
I know that IE7 doesn't support the value inherit for any CSS properties except direction and visibility . When a browser doesn't support a value, it should simply not apply the given declaration (that particular line). Does anyone know why IE7 doesn't use the first ul a color declaration, instead choosing to use the plain a color declaration? Is it just ignoring the entire ul a rule? To be clear: in most browsers the first link is red and the second link is blue. In IE7 the first link is red, but so is the second, even though I have at least one declaration it should understand in the ul a

IE e.keyCode - How can I differentiate between ampersand and up-arrow?

我怕爱的太早我们不能终老 提交于 2019-12-04 10:59:36
问题 I am fighting with a very strange javascript behavior on a jQuery UI widget I'm trying to fix. IE7 (win XP), jQuery 1.2.6 (yes, it's an old version). The widget is a combo-box, which captures keyboard events and has special behaviors for the arrow keys. When I try to type the "&" character into the flexbox input field, I get strange behavior. The flexbox has some code like: //initialization $myInputElement.keypress($.flexbox.process_key); $.flexbox.process_key = function process_key(e) { $

Programmatically open a new tab in ie7

我的梦境 提交于 2019-12-04 10:22:30
I am developing web applications with c#, Aspnet 3.5, and Ajax 2.0. Question - I run Application_1 in ie7. I would like to programmatically start running Application_2 from Application_1 in a new tab, no matter what the client settings are. Until now I have been opening Application_2 in a new window from Application_1 using ScriptManager.RegisterStartupScript(this, typeof(Page), UniqueID, "window.open('theurl',' width=800, height=500'); ", true); I would like to do something similar to open a new tab. Unfortunately there is no way to control whether the window opens in a new tab or new window.

IE title changes to <afterHash> if the page has a url with '#' , and has flash/swf embedded in it

ε祈祈猫儿з 提交于 2019-12-04 07:48:35
问题 The issue is, if IE (6.0+) , has flash content embedded in it, and the url of the page has a # somewhere in it, then when the flash content loads ,or if the user interacts with it, then the title of the window, changes to the content that is places after hash. e.g http://adobeflashwebsite.com/index.html#somediv Then the title of the page changes to 'somediv' , the moment a user will click on flash content, or many a times even the moment the flash content loads. This happens only in IE. This