internet-explorer-8

IE8 Flash arrow keys scroll screen. How to fix it?

江枫思渺然 提交于 2020-01-06 08:27:07
问题 I've a flash games site, and Im having a lot of difficulties to make it show in internet explorer 8. When you are playing any flash, the arrow keys that should belong to the flash scroll the page up and down (probably left and right too). This was happening in both ie7 and ie8. I placed the flash inside an iframe, that fixed to IE7, but the problem persists on IE8. If I change the flash wmode from transparent to window, the page stops scrolling, but this breaks all my menus and banners, that

'HTMLElement' is undefined in IE8, an alternative?

别说谁变了你拦得住时间么 提交于 2020-01-06 02:18:27
问题 Hey all I have methods like this: // Has Class HTMLElement.prototype.hasClass = function (searchClass) { return this.className.match(new RegExp('(\\s|^)' + searchClass + '(\\s|$)')); } In IE9 it works fine. In IE8 it gives me undefined... is there a simple work around? 回答1: You can't add methods to HTMLElement.prototype in older versions of IE if I remember correctly. A simple workaround would be: var hasClass = function (el, searchClass) { return el.className.test(new RegExp('(\\s|^)' +

CSS: How to set up gradient background cross browser (only missing IE8 and IE9)

前提是你 提交于 2020-01-06 01:34:28
问题 I have created my own navbar and would like to set up a simple gradient background color for it. So far I have the following which works fine for me in newer browsers but I am not sure what I have to add here to cover IE8 and IE9 as well (I am not interested in older versions). Also, I came across filter: progid ... when searching for this. Can someone tell me if this needs to be added here as well to cover common browsers or if I need to add or change anything else for that ? I would like to

Force IE 7 Compatiblity Mode in IE8

大城市里の小女人 提交于 2020-01-05 12:14:55
问题 I have a c# asp.net website and needs to run in compatibility mode. The website runs (forced) in a popup. I have searched on google and stackoverflow about how to force compatibility mode and found scripts like: <meta http-equiv="X-UA-Compatible" value="IE=7"> <meta http-equiv="X-UA-Compatible" content="IE=7" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta http-equiv="X-UA-Compatible" value="IE=8"> I have tried some of above but when I start the website in the browser

Force IE 7 Compatiblity Mode in IE8

白昼怎懂夜的黑 提交于 2020-01-05 12:13:10
问题 I have a c# asp.net website and needs to run in compatibility mode. The website runs (forced) in a popup. I have searched on google and stackoverflow about how to force compatibility mode and found scripts like: <meta http-equiv="X-UA-Compatible" value="IE=7"> <meta http-equiv="X-UA-Compatible" content="IE=7" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta http-equiv="X-UA-Compatible" value="IE=8"> I have tried some of above but when I start the website in the browser

Respond.js with external css resources

我的未来我决定 提交于 2020-01-05 12:12:38
问题 To optimize our webpages to IE8 we need to add MediaQueryes with respond.js (or other simular solution). But it seems that respond.js (and many simular solutions) require local css files. For example we liked to use the cdn-css for leafletjs, but this will not correct by IE8. Any ideas of how to do this? 回答1: Respond.js actually works if you set up a provide a proxy page for it to reference. See https://github.com/scottjehl/Respond#cdnx-domain-setup and check out the cross-domain example at

internet explorer not working properly with fancy box

三世轮回 提交于 2020-01-05 08:50:29
问题 I'm not a programmer, but I've put together a site that uses fancy box and all is good in chrome and firefox, but ie8 & ie9 are a disaster. the site is http://www.pinnaclebillboards.com. I've searched to correct the problem but i'm not even sure how to describe it. Can anyone point me in the right direction please? 回答1: You are missing the DOCTYPE so IE is working in quirks mode. You need to set the proper DOCTYPE to make fancybox to work in IE. Check this link or this other for more on this

Focus CSS tag in Internet Explorer 8

醉酒当歌 提交于 2020-01-05 08:35:11
问题 This is driving me nuts. http://www.cssdrive.com/index.php/examples/exampleitem/focus_pseudo_class This is an example of using the hover pseudo-class. Works fine in Chrome and IE. When I save locally it works fine in Chrome but won't work in IE. What am I doing wrong!? <link rel="Stylesheet" href="style.css" /> <form> <p>1) Name:<br /> <input type="text" size="40"></p> <p>2) Email address:<br /> <input type="text" size="40"></p> <p>3) Comments:<br /> <textarea rows="5" name="comments" cols=

jquery insertAfter for ie8

旧街凉风 提交于 2020-01-05 06:46:50
问题 var attachmentDeleteMainModal = $('#attachment-deletion'); var attachmentDeleteMainModalClone = attachmentDeleteMainModal.clone(); attachmentDeleteMainModalClone.attr('id', 'attachment-deletion-'+'main'); attachmentDeleteMainModalClone.insertAfter('#attachment-deletion'); This method adds my new selector to the DOM in Chrome, but does not work in ie8, this is all I tested so far append instead of insertAfter does not create the desired selector in either browser. But in ie8 it does not create

jquery insertAfter for ie8

扶醉桌前 提交于 2020-01-05 06:46:24
问题 var attachmentDeleteMainModal = $('#attachment-deletion'); var attachmentDeleteMainModalClone = attachmentDeleteMainModal.clone(); attachmentDeleteMainModalClone.attr('id', 'attachment-deletion-'+'main'); attachmentDeleteMainModalClone.insertAfter('#attachment-deletion'); This method adds my new selector to the DOM in Chrome, but does not work in ie8, this is all I tested so far append instead of insertAfter does not create the desired selector in either browser. But in ie8 it does not create