internet-explorer-8

Having issues with CSS overflow:hidden

六眼飞鱼酱① 提交于 2019-12-24 07:55:25
问题 I have some script which seems to work perfectly functionality wise: HTML: <div class="navigation1">icon Home</div> <div class="dropdown"> <div class="items">icon Default 1</div> <div class="items">icon Reports 1</div> <div class="items">icon Other 1</div> </div> CSS: .menu { margin:auto; /*overflow:hidden;*/ position: relative; background:#CCCCCC; } Visually though, it all goes wrong. As you can see from this jsFiddle, the menu and the footer seem to be laid out incorrectly. When I uncomment

Floating Link in Page

筅森魡賤 提交于 2019-12-24 07:46:48
问题 I want to make floating link which will be displayed in webpage whether user scrolls up/down the page. <div id="valids" style="position: fixed; bottom: 5px; left: 5px;"> <a href="http://validator.w3.org/check?uri=referer" class="valid"> <img alt="Valid XHTML 1.0" src="http://www.w3.org/Icons/valid-xhtml10-blue" style="border: 0pt none ; width: 88px; height: 31px;"/></a> <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://www.reapercharlie.com" class="valid"> <img alt="Valid CSS 2

Display cross domain content in IFrame (IE8)

杀马特。学长 韩版系。学妹 提交于 2019-12-24 07:39:49
问题 I realized that IE8 does not allow links from cross domains to be displayed in IFrame. It seems like there are only two Header options that Microsoft allows to modify. X-FRAME-OPTIONS : "DENY" (This does not display any IFrame content ) X-FRAME-OPTIONS : "SAMEORIGIN" (Displays content from the same domain) Is there a work around to allow content from other domains to be displayed? Thanks in advance 回答1: Point your source to an internal, dynamic (server-generated) page that simply proxies the

XDomainRequest unspecified error in ie8

落爺英雄遲暮 提交于 2019-12-24 07:26:52
问题 I am trying to make a http GET request in IE8. This works fine in all other browsers and in IE8 when using jQuery but not the native method. I also tried another endpoint I have but no luck. All it returns is 'Unspecified error.' in the console on the xdr.send() line. var xdr = new XDomainRequest(); xdr.open("get", 'http://localhost/jump/test'); xdr.onload = function () { alert("Loading"); alert(xdr.responseText); }; xdr.onsuccess = function() { alert("Success!"); alert(xdr.responseText); };

IE8 ignores “filter” CSS styles

自古美人都是妖i 提交于 2019-12-24 07:12:45
问题 I have a page which uses the AlphaImageLoader CSS filter for IE8 like so: filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/thing.png', sizingMethod='scale'); In my test IE8 (Windows XP, factory settings), everything is fine. The client however received a screenshot from someone claiming to be also using IE8 which looks like the browser completely ignores the filter directive. All other styles in the IE-specific stylesheet loaded via conditional comments appear to be

jQuery javascript keypress function not working on IE8

孤街浪徒 提交于 2019-12-24 07:06:08
问题 I've the following jquery function which avoid typing "1" in the input text: <input id="myId" style="width:50%;" value="0" type="text">​ $("#myId").keypress(function(e) { var x=e.charCode; if (x == '49'){ e.preventDefault(); } });​ This is the jsfiddle which is not working on IE8. Where is my error? Thanks in advance! EDIT JAVASCRIPT VERSION <input id="myId" style="width:50%;" value="0" type="text" onkeypress="javascript:checkNumber(event);"/> function checkNumber(event) { var x=e.which; if

Evaluating functions for transfer in IE8

江枫思渺然 提交于 2019-12-24 05:59:46
问题 I need to transfer JavaScript Objects through JSON and transfer it's functions as well. I found a working version of getting the Strings of Functions and transfering them. Then i can evaluate them again. //Create the function var myFunction = function(){alert('Hello, my Function!');} //get the functions String reprensentation var myFunctionTransferString = myFunction.toString(); //Now we transfered the object and want to have a function back var myTransferedFunction = eval('(' +

streching div vertically inside a table-cell - IE8

风流意气都作罢 提交于 2019-12-24 05:37:10
问题 how to stretch a DIV vertically inside a table-cell? I thought height: 100% would be fine but in some situations - it isn't (at least in IE8) here is a simple example: a 3-row table, with a header, a content, and a footer; I would like the 'content' DIV inside the 'content' cell to stretch 100% vertically; it does in FF and Chrome, but not in IE8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <div style="overflow: auto; height: 20em;

Setting img src to a data url via work does not work in IE8?

主宰稳场 提交于 2019-12-24 05:22:39
问题 When I attempt to set an image to use a data url via JavaScript (from this question) , it does not appear to work in IE8. The page in that first link has: <img id="foo" src="alphaball.png"> On line 25, this JavaScript code executes: document.getElementById('foo').src = img_src; On all other browsers (including IE9b) this successfully changes the image from the alphaball to a picture of my head. On IE8, I see the alphaball very briefly, and then it is replaced with a missing image icon. Is

IE8 post file targeting iframe, arrives on server as null

天涯浪子 提交于 2019-12-24 05:22:06
问题 I have a form with just an input:file in it and the form targets a named iframe . when the user selects a file it automatically posts the form to the server. This works in IE10/firefox/chrome, but in IE8 the File parameter on my controller method is null when IE8 posts the form. Has anyone else encountered this and know of any solutions, why isn't IE8 actually posting the file data? ClientSide: function createFileUploadForm() { var frameName = 'fileUploadFormFrame'; var fileValue; var