internet-explorer-8

Force browser update if IE8 or older

删除回忆录丶 提交于 2020-06-24 12:56:17
问题 I wonder if it's possible to show a warning or open a pop-up, which would say update your IE to latest version or use Firefox / Chrome / Safari instead, when browser is Internet Explorer IE8 or older... I guess I should use that code below inside the tags... <!--[if lt IE 9]> ...i should use code here... <![endif]--> Is it smart to deceted browser with jQuery and loading jQuery lib? Or is it better to just use regular javascript in order to avoid additional issues with very old browsers? 回答1:

IE8 Back Button Stops Working on ASP .NET Page

柔情痞子 提交于 2020-02-22 04:01:39
问题 If you do a search for "ie8 back button disabled" you'll see a number of blogs with people having difficulties with the Internet Explorer version 8 back button becoming disabled. This now happened to one of my ASP .Net pages. The page uses a user control, aspx page, and a master page. It uses no redirects and seems to be happening when I click the back button and then the forward button (after the forward button is clicked, it does not fire the Load event and the back button becomes disabled)

IE8 Back Button Stops Working on ASP .NET Page

£可爱£侵袭症+ 提交于 2020-02-22 03:59:22
问题 If you do a search for "ie8 back button disabled" you'll see a number of blogs with people having difficulties with the Internet Explorer version 8 back button becoming disabled. This now happened to one of my ASP .Net pages. The page uses a user control, aspx page, and a master page. It uses no redirects and seems to be happening when I click the back button and then the forward button (after the forward button is clicked, it does not fire the Load event and the back button becomes disabled)

JavaScript Error in add method using IE8

依然范特西╮ 提交于 2020-02-16 10:12:36
问题 I have a piece of code here which is working fine in FireFox, Chrome and InternetExplorer 9 but is not working in the InternetExplorer 8. I'm dealing with select boxes. var finalExclusionList = Dom.get("finalExclusionList-box"); var countryList = Dom.get("regionsAndCountries-box"); for (var i=0; i<finalExclusionList.length; i++) { countryList.add(finalExclusionList[i]); } I'm having error in the countryList.add method, is saying Invalid Argument ... Does anyone knows what can be the error in

IE9 exibits 4px offset compared to IE8

余生长醉 提交于 2020-02-07 07:12:44
问题 This happens to be the top padding plus the bottom padding on the element id f3c. I have attached two pics - one of IE8 and one of IE9. I tried to capture the relevant information from the debugger. Basically I have a link inside a fieldset, inside a form. The fieldset is so the page validates. I'm using relative positioning for the link (top:9px). Not sure why IE9 would add in in 4px from IE8's calculation unless for some reason it is counting the (padding-top:2px and padding-bottom:2px).

trying to get window.URL working in IE8. Getting Undefined Error

拥有回忆 提交于 2020-02-04 08:37:04
问题 I am facing problem in using window.URL in IE8. Could someone please help. I am trying to get window.URL working in IE8. Please following code. <!DOCTYPE html> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body> <p>This text should be red.</p> <script> window.Blob = Blob = function (b) { return { data: b }; }; var myBlob; window.URL = window.URL || window.webkitURL; console.log('URL '+URL ); if (window.Blob) { console.log('Check URL => '+URL );

JavaScript Object.keys() method alternative for compatibility with IE8

我怕爱的太早我们不能终老 提交于 2020-02-02 04:16:40
问题 I'm getting in error when testing in IE8 that the Object method is not supported. I'm using Object.keys() Object.keys(jsoncont).sort(function(a,b){ return b.localeCompare(a) }).forEach(function(key) { var val = jsoncont[key]; /* My code here */ }); } Is there a good workaround for this method that is supported by IE8? 回答1: Mozilla has an explanation of how to polyfill the function in older browsers: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys /

load event with jquery fails in IE 8

心不动则不痛 提交于 2020-01-29 06:40:25
问题 i've written a jquery plugin to scale a image up an back down. in ie 8 the load event of the large version of the image fails. i tried like thsi: var fullImage = container.find(options.fullSelector); fullImage.attr('src', fullImageUrl).bind('load', function() { content.fadeOut(options.fadeSpeed, function(){ if(slideContent.size()){ slideContent.slideUp(options.resizeSpeed, function(){ smallImage.hide(); fullImage.show(); fullImage.parent().andSelf().stop().animate({ width: options.fullWidth +

Start/Stop methods for embeded Windows Media Player via VBScript

微笑、不失礼 提交于 2020-01-25 12:46:41
问题 I have following code working fine. <object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="WindowsMediaPlayer" width="242" height="202" style="position:absolute; left:1;top:1;"> <param name="URL" value="C:\HTML\Sounds\oos.wav"> <param name="autoStart" value="0"> </object> I would like to crearte Start/Stop methods in VBScript for this object. So I am doing like Sub Start Dim oElm Set oElm = document.getElementById("WindowsMediaPlayer") if oElm Is Nothing then MsgBox("element does

What is the workaround for “getElementsByTagName” in IE8? [duplicate]

给你一囗甜甜゛ 提交于 2020-01-25 12:25:18
问题 This question already has answers here : document.getElementByClassName - Cross Browser Fix (6 answers) Closed 5 years ago . What is the workaround for "getElementsByTagName" in IE8? 回答1: Internet Explorer has supported getElementsByTagName since IE 5.5 (IE 6 for support for the "*" value as the argument). There is no workaround, or need for one, for IE 8. 来源: https://stackoverflow.com/questions/24033367/what-is-the-workaround-for-getelementsbytagname-in-ie8