internet-explorer-8

IE 8 specific background-image bug

笑着哭i 提交于 2019-12-11 20:38:54
问题 I have a 1px by 1px grey pixel. It is used as a BG image: background-attachment:scroll; background-color:transparent; background-image:url("../image/vertical-border.png"); background-position:393px 0; background-repeat:repeat-y; So I expect a grey, vertical line the height of whatever is tallest in the div. Common trick. So I see this properly in every browser EXCEPT IE 8. In IE 8 it displays as a gradient. Dark up top, light down below. How crazy is that? I've never seen anything like this,

focus filtering select on page load

≯℡__Kan透↙ 提交于 2019-12-11 19:59:30
问题 why does the following code don't focus the filteringselect? <!DOCTYPE html> <html> <head> <script type="text/javascript" src="http://yandex.st/dojo/1.6.0/dojo/dojo.xd.js" djConfig="parseOnLoad: true"></script> <style type="text/css"> @import "http://yandex.st/dojo/1.6.0/dijit/themes/claro/claro.css"; </style> <script type="text/javascript"> <!-- dojo.require("dijit.form.FilteringSelect"); dojo.addOnLoad(function(){ dijit.byId('dept').focus(); }); --> </script> </head> <body class="claro">

How to work History.back() in IE8 and above Versions

六眼飞鱼酱① 提交于 2019-12-11 19:39:10
问题 I'm facing a big issue related to "Back Button", Currently I am using JavaScript back button like - parent.history.back(); but it is giving error like "Webpage has expired" on clicking Back button. is there any solution to get rid of it. My Project is in Asp.net.Every comment is appreciated. Thank you..! 回答1: Here is a working example (tested on saucelabs IE7, IE8, IE9 @Windows XP and Vista) <input type="button" id="push-me" value="Push me!" onclick="window.history.back(); return false;"/> If

media query unlinking IE8 stylesheet

情到浓时终转凉″ 提交于 2019-12-11 19:37:16
问题 So I have a media query in my code that checks for device width. It works fine, just not in IE8 or lower obviously, as media queries are not supported. I am therefore trying to throw IE8 a stylesheet (I figured I go with the one that is built for lower resolutions) but it seems that my media query (whether before or after the IE8 comment) stops IE8 from linking to any stylesheet at all. Please could somebody inform me of a workaround? And is there a way to check for device width within the

Scrolling not working in IE8

蹲街弑〆低调 提交于 2019-12-11 19:18:32
问题 iI have a problem with IE8 (Version: 8.0.6001.18702) and this website (gute-tat.de) that I'm unable to solve on my own. In all other browsers scrolling is fine, but in IE8 scrolling only works occasionally or not at all. I couldn't find a solution via stackoverflow or google. I tried to fix the problem by validating the site and fixing all errors. This page has only 2 errors left http://www.gute-tat.de/konzept.html, still scrolling remains corrupt. One of the two remaining errors, the "onLoad

jQuery Validation plugin version 1.11.1 is not working in Explorer 8

折月煮酒 提交于 2019-12-11 19:14:28
问题 I'm using jQuery Validation Plugin - v1.11.1 and jquery 1.10.2 but below code doesn't work in IE 8. It works fine in IE9 and above and also in other browsers like Chrome. <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <script src="Scripts/jquery_validate.min.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#btn').click(function() { $("#form1").validate({ rules: { <%= txt.UniqueID %>: "required" }, messages: { <%= txt.UniqueID %>: "Please

Overlay not clickable in IE8

删除回忆录丶 提交于 2019-12-11 19:14:22
问题 In all browsers (e.g. Firefox, Chrome, IE9) clicking my overlay fires my onClick function. However, in IE8, it is as if the box does not exist in the way that it is not clickable, and content behind is. Here's my code: HTML: <div id="pageblock" onclick="closelogin()"></div> <div id="loginbox"><!--This is where my form is--></div> CSS: #loginbox{ z-index: 10; position: absolute; height: 83px; top: 105px; right: 20px; width: 400px overflow: hidden; padding: 5px; } #pageblock{ display: none;

window.open() clears session

耗尽温柔 提交于 2019-12-11 18:54:31
问题 I have several portlets in my application. If I open a url using window.open() method, the session id changes and causes an error in other portlets. If I don't open this url, everything works fine. But once this new window is opened, the session is cleared and the rest of the portlets throws an exception since some values are missing. In the address bar of the browser I typed in javascript:alert(document.cookie); to see the JSESSIONID. It remains constant throughout the page and changes when

NoSuchWindowException after Close Window

为君一笑 提交于 2019-12-11 18:18:48
问题 I'm using robotframework with the Selenium2Library. And i've been having some trouble on handling popup windows in IE8. Try Popup Open Browser To PageXYZ Click Element XYZ Select Window name=POPUPXYZ Page Should Contain X Page Should Contain Y Page Should Contain Z Close Window Get Window Identifiers Any command I use after the 'Close Window' fails and i get the same exception NoSuchWindowException. (That shouldn't happen for the Get Window command IMO) Any help? Ty 回答1: I agree with you that

IE8 error assigning a function() to a property name 'function'

假如想象 提交于 2019-12-11 18:06:00
问题 Consider running the following code in IE8 and Chrome consoles to compare: var a = function(){ console.log("function is() initialized"); }; // assign a property named 'function' to function 'a' a.function = function afunction(f){ return (typeof f === 'function'? true: false); }; // Use our is function to test if a given variable is a function a.function(a); // IE throws 'expected identifier' error v/s Chrome correctly outputs "true" Any ideas how this can be tackled in IE8 without changing